[mapserver-users] &qlayer for multiple layers
Fawcett, David (MPCA)
David.Fawcett at state.mn.us
Fri Oct 21 12:15:15 PDT 2011
Thanks Steve.
I didn't really think that layers would work with a query. I tried it anyway, but with a comma delimiter...
For the record, this works: http://localhost/cgi-bin/mapserv?mode=nquery&map=/mapping/testproj/test.map&mapxy=-94+45&layers=layer1+layer2
David.
-----Original Message-----
From: Steve Lime [mailto:sdlime at gmail.com]
Sent: Friday, October 21, 2011 1:54 PM
To: Fawcett, David (MPCA)
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] &qlayer for multiple layers
qlayer is one layer only. If you really need to query an adhoc
collection then you really need to ditch STATUS DEFAULT for queryable
layers and use the layer and/or layers params for both drawing and
querying. Does make sense? We could consider extending things like
your example (multiple qlayer or qlayers) but those aren't available
now.
Steve
On Thu, Oct 20, 2011 at 1:23 PM, Fawcett, David (MPCA)
<David.Fawcett at state.mn.us> wrote:
> I know that this is a simple question, but I can't find any confirmation.
>
> If I want to do a point query on multiple layers, I know that I can set all layer STATUS to DEFAULT.
>
> Is it possible to query some of the layers (status=ON) by identifying them in the URL. For example, something like qlayer=layer1,layer2 or qlayerS=layer1+layer2?
>
> I would like to be able to select a combination of layers ad hoc.
>
> Thanks,
>
> David.
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list