[mapserver-users] Re: multiple query layers GetFeatureInfo order response

Alberto Asuero Arroyo albertoasuero at gmail.com
Thu Jan 7 10:18:43 EST 2010


Hi!!

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

I've defined a mapfile with layer1 the first, layer 2 the second ...


On Thu, Jan 7, 2010 at 3:51 PM, Alberto Asuero Arroyo <
albertoasuero at gmail.com> wrote:

> Hello
>
> 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 .
>
> 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 unknown to me.
>
> I'd wish the templates were received in the same order of the layer list of
> QUERY_LAYERS
>
> For example:
>
> Query 1:
>
>
> 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=
> *layer1,layer2,layer3*
> &WIDTH=1250&HEIGHT=595&SRS=EPSG:23030&BBOX=265683.6,4149453.7,266431.2,4149809.6&REQUEST=GetFeatureInfo&QUERY_LAYERS=
> *layer1,layer2,layer3*
> &INFO_FORMAT=text/html&FEATURE_COUNT=100&I=973&J=235&X=973&Y=235%27
>
> Its returns either:
>
> <html>... template layer2  ...</html>
> <html>... template layer1  ...</html>
> <html>... template layer3  ...</html>
>
>
> or:
>
> <html>... template layer3  ...</html>
> <html>... template layer2  ...</html>
> <html>... template layer1  ...</html>
>
>
> ...
>
> I'd wish its always return (like the query list order):
>
> <html>... template layer1  ...</html>
> <html>... template layer2  ...</html>
> <html>... template layer3  ...</html>
>
> How can I do this?
>
> Thanks in advance
>
> Regards, Alberto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100107/d902bc19/attachment.html


More information about the mapserver-users mailing list