<div dir="ltr">You need to change the QUERY_LAYERS parameter - that controls the layers that are queried.<div><br></div><div>Ian<br><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On 23 May 2013 14:48, Giuseppe De Marco <span dir="ltr"><<a href="mailto:peppelinux@yahoo.it" target="_blank">peppelinux@yahoo.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div style="font-family:'times new roman','new york',times,serif;font-size:12pt">using </div><div style="font-family:'times new roman','new york',times,serif;font-size:12pt">
<br></div><div style="background-color:transparent"><font face="times new roman, new york, times, serif">layers: [ corine, invasi, centri, infrastrutture, comuni, province ],</font><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'Times New Roman'">
<font face="times new roman, new york, times, serif"><br></font></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times new roman','new york',times,serif"><font face="times new roman, new york, times,
 serif">in OpenLayers.Control.WMSGetFeatureInfo and commenting "drillDown" that isn't used with "infoFormat:'text/html'," I can retreive just "comuni" and "province" layers.</font></div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times new roman','new york',times,serif"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times new roman','new york',times,serif">
The resulting query is this</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times new roman','new york',times,serif"><br></div><div style="background-color:transparent">
<font face="times new roman, new york, times,
 serif"><a href="http://myhostname:8000/proxy/?url=http%3A%2F%2Fmyhostname%2Fcgi-bin%2Fmapserv%3Fmap%3D%2Fmypath%2FMapServer%2Fmapfile_calabria_strati.map%26LAYERS%3DProvince%2CComuni%26QUERY_LAYERS%3DProvince%2CComuni%26STYLES%3D%2C%26SERVICE%3DWMS%26VERSION%3D1.1.1%26REQUEST%3DGetFeatureInfo%26BBOX%3D383042.615536%252C4196768.493%252C861157.384464%252C4444723.795%26FEATURE_COUNT%3D10%26HEIGHT%3D836%26WIDTH%3D1612%26FORMAT%3Dimage%252Fpng%26INFO_FORMAT%3Dtext%252Fhtml%26SRS%3DEPSG%253A32633%26X%3D659%26Y%3D155" target="_blank">http://myhostname:8000/proxy/?url=http%3A%2F%2Fmyhostname%2Fcgi-bin%2Fmapserv%3Fmap%3D%2Fmypath%2FMapServer%2Fmapfile_calabria_strati.map%26LAYERS%3DProvince%2CComuni%26QUERY_LAYERS%3DProvince%2CComuni%26STYLES%3D%2C%26SERVICE%3DWMS%26VERSION%3D1.1.1%26REQUEST%3DGetFeatureInfo%26BBOX%3D383042.615536%252C4196768.493%252C861157.384464%252C4444723.795%26FEATURE_COUNT%3D10%26HEIGHT%3D836%26WIDTH%3D1612%26FORMAT%3Dimage%252Fpng%26INFO_FORMAT%3Dtext%252Fhtml%26SRS%3DEPSG%253A32633%26X%3D659%26Y%3D155</a></font><br>
</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'Times New Roman'"><font face="times new roman, new york, times, serif"><br></font></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times new roman','new york',times,serif">
I need to include, inside of it, the others layers.</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times new roman','new york',times,serif">layers declaration isn't exclusively for this purpose ?</div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times new roman','new york',times,serif"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'times new roman','new york',times,serif">
So I can't get out of this problem, is it normal ?</div></div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Ian Turton<br>
</div>