Hi!!<div><br></div><div>I&#39;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&#39;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">&lt;<a href="mailto:albertoasuero@gmail.com">albertoasuero@gmail.com</a>&gt;</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&#39;m trying to do a multiple query layer GetFeatureInfo against mapserver 5.0.3. Unfortunately Mapserver doesn&#39;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&#39;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&amp;SERVICE=WMS&amp;FORMAT=image%2Fpng&amp;EXCEPTIONS=application/vnd.ogc.se_xml&amp;TRANSPARENT=FALSE&amp;LAYERS=" target="_blank">http://10.30.102.100/cgi-bin/sil?VERSION=1.1.1&amp;SERVICE=WMS&amp;FORMAT=image%2Fpng&amp;EXCEPTIONS=application/vnd.ogc.se_xml&amp;TRANSPARENT=FALSE&amp;LAYERS=</a><b>layer1,layer2,layer3</b>&amp;WIDTH=1250&amp;HEIGHT=595&amp;SRS=EPSG:23030&amp;BBOX=265683.6,4149453.7,266431.2,4149809.6&amp;REQUEST=GetFeatureInfo&amp;QUERY_LAYERS=<b>layer1,layer2,layer3</b>&amp;INFO_FORMAT=text/html&amp;FEATURE_COUNT=100&amp;I=973&amp;J=235&amp;X=973&amp;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>&lt;html&gt;... template layer2  ...&lt;/html&gt;</div>
<div>&lt;html&gt;... template layer1  ...&lt;/html&gt;</div><div>&lt;html&gt;... template layer3  ...&lt;/html&gt;</div></blockquote><div><br></div><div>or:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">

<div>&lt;html&gt;... template layer3  ...&lt;/html&gt;</div><div><div>&lt;html&gt;... template layer2  ...&lt;/html&gt;</div></div><div><div>&lt;html&gt;... template layer1  ...&lt;/html&gt;</div></div></blockquote><div>
<br>
</div><div>...</div><div><br></div><div>I&#39;d wish its always return (like the query list order):</div><div><br></div><div><div>&lt;html&gt;... template layer1  ...&lt;/html&gt;</div><div><div>&lt;html&gt;... template layer2  ...&lt;/html&gt;</div>

</div><div><div>&lt;html&gt;... template layer3  ...&lt;/html&gt;</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>