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:[email protected]] Sent: Friday, October 21, 2011 1:54 PM To: Fawcett, David (MPCA) Cc: [email protected] 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) <[email protected]> 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 > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
