<div dir="ltr"><br><div>I've seen a working example before and can't lay my hands on it at the moment, but this is what I think works:</div><div><br></div><div>In the DEM map file you want this in the LAYER file:</div><div><br></div><div>STATUS ON</div><div>OPACITY 0</div><div><br></div><div>And don't include any class blocks at all. I believe with this setup you don't have to mess with GROUP at all, as the elevation layer will always be something that reports. </div><div><br></div><div>If you prefer that the layer only reports with GROUP behavior, you will have to set STATUS to OFF, and then add the GROUP tag, and use that GROUP name to call the layers from via WMS.</div><div><br></div><div>Note that there used to be a problem in Geomoose with querying layers that were in GROUPs, I thought that that got fixed in ~v.2.8, but to be honest I have not tested it in a while. So hopefully you are not bumping into a zombie version of that bug...</div><div><br></div><div>Tanya</div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 1, 2017 at 3:34 PM, Jim Klassen <span dir="ltr"><<a href="mailto:klassen.js@gmail.com" target="_blank">klassen.js@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">My guess:<br>
<br>
Put both layers in the the same group (also note that MAP->NAME is also<br>
an implicit top level group). IIRC both layers have to be queryable (in<br>
they need a TEMPLATE keyword defined, but the template itself may be<br>
empty, or not even exist. I often use TEMPLATE 'dummy').<br>
<br>
You will need some trick to make the DEM layer not draw. I'm not sure<br>
the best way to approach this. Some ideas: doing something with CLASSes<br>
or setting OPACITY to 0. There used to be a MAP->LAYER->TYPE QUERY that<br>
was for this purpose, but I don't know if it still exists or if it would<br>
work with raster data.<br>
<span class=""><br>
On 02/01/2017 05:12 PM, andy wrote:<br>
><br>
> Hi,<br>
> I have a map file with a group and I’m able to load this in my map.<br>
><br>
> In this group I have:<br>
><br>
> a DEM, in wich in each pixel I have the height valure;<br>
> an hillshade of the this DEM to have something better in terms of<br>
> appearance.<br>
><br>
> I would like to load the group, see the hillshade, and when click on<br>
> it via Geomoose identify tool to have the height values of the DEM.<br>
><br>
> If I load only the DEM and use Geomoose identify tool I obtain the<br>
> height values. Than I have created this mapserver group and inserted<br>
> in the DEM layer the |wms_group_title| parameter.<br>
><br>
> But when I load the group, the Geomoose identify tool gives me only<br>
> the coordinates.<br>
><br>
> Is there some alternative to obtain my goal? To view a layer, but to<br>
> query another one?<br>
><br>
> Thank you<br>
><br>
</span>> ------------------------------<wbr>------------------------------<wbr>------------<br>
<span class="">><br>
> Andrea Borruso<br>
> website: <a href="http://blog.spaziogis.it" rel="noreferrer" target="_blank">http://blog.spaziogis.it</a><br>
> 38° 7’ 48” N, 13° 21’ 9” E, EPSG:4326<br>
><br>
</span>> ------------------------------<wbr>------------------------------<wbr>------------<br>
<span class="">><br>
> “cercare e saper riconoscere chi e cosa,<br>
> in mezzo all’inferno, non è inferno,<br>
> e farlo durare, e dargli spazio”<br>
><br>
> Italo Calvino<br>
><br>
> <br>
><br>
><br>
</span>> ______________________________<wbr>_________________<br>
> Geomoose-users mailing list<br>
> <a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/geomoose-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geomoose-<wbr>users</a><br>
<br>
<br>
______________________________<wbr>_________________<br>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geomoose-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geomoose-<wbr>users</a></blockquote></div><br></div>