Hi!!<div><br></div><div>I've being testing and the response order of the GetFeatureInfo template is the same that the order of the layer in the file .map</div><div><br></div><div>I've defined a mapfile with layer1 the first, layer 2 the second ...<br>
<br><br><div class="gmail_quote">On Thu, Jan 7, 2010 at 3:51 PM, Alberto Asuero Arroyo <span dir="ltr"><<a href="mailto:albertoasuero@gmail.com">albertoasuero@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello
<div><br></div><div>I'm trying to do a multiple query layer GetFeatureInfo against mapserver 5.0.3. Unfortunately Mapserver doesn't respond in the order I expected .</div><div><br></div><div>My templates are xhtml that they are parsed from java applet. The issue come in when several features information are found, mapserver return many htmls with an order <span style="font-family:arial, verdana, sans-serif;font-size:12px;border-collapse:collapse"><span>unknown to <span style="border-collapse:separate;font-size:small">me.</span></span></span></div>
<div><span style="font-family:arial, verdana, sans-serif;font-size:12px;border-collapse:collapse"><span><span style="border-collapse:separate;font-size:small"><br>
</span></span></span></div><div><span style="font-family:arial, verdana, sans-serif;font-size:12px;border-collapse:collapse"><span><span style="border-collapse:separate;font-size:small">I'd wish the templates were received in the same order of the layer list of QUERY_LAYERS</span></span></span></div>
<div><br></div><div>For example:</div><div><br></div><div>Query 1:</div><div><br></div><div><a href="http://10.30.102.100/cgi-bin/sil?VERSION=1.1.1&SERVICE=WMS&FORMAT=image%2Fpng&EXCEPTIONS=application/vnd.ogc.se_xml&TRANSPARENT=FALSE&LAYERS=" target="_blank">http://10.30.102.100/cgi-bin/sil?VERSION=1.1.1&SERVICE=WMS&FORMAT=image%2Fpng&EXCEPTIONS=application/vnd.ogc.se_xml&TRANSPARENT=FALSE&LAYERS=</a><b>layer1,layer2,layer3</b>&WIDTH=1250&HEIGHT=595&SRS=EPSG:23030&BBOX=265683.6,4149453.7,266431.2,4149809.6&REQUEST=GetFeatureInfo&QUERY_LAYERS=<b>layer1,layer2,layer3</b>&INFO_FORMAT=text/html&FEATURE_COUNT=100&I=973&J=235&X=973&Y=235%27</div>
<div><br></div><div>Its returns either:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><html>... template layer2 ...</html></div>
<div><html>... template layer1 ...</html></div><div><html>... template layer3 ...</html></div></blockquote><div><br></div><div>or:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><html>... template layer3 ...</html></div><div><div><html>... template layer2 ...</html></div></div><div><div><html>... template layer1 ...</html></div></div></blockquote><div>
<br>
</div><div>...</div><div><br></div><div>I'd wish its always return (like the query list order):</div><div><br></div><div><div><html>... template layer1 ...</html></div><div><div><html>... template layer2 ...</html></div>
</div><div><div><html>... template layer3 ...</html></div><div><br></div><div>How can I do this?</div><div><br></div><div>Thanks in advance</div><div><br></div><div>Regards, Alberto</div></div></div>
</blockquote></div><br></div>