[mapserver-users] itemnquery on more than one layers?

Lime, Steve D (DNR) steve.lime at state.mn.us
Fri May 13 14:33:28 EDT 2011


Documentation is correct except for item and index queries. Those are both one-layer only at this time. Sorry, wish I had better news.

Steve

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Remon Sadikni
Sent: Friday, May 13, 2011 8:03 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] itemnquery on more than one layers?

Dear mapserver users,

after some trial and errors I just managed to find a way querying more 
than one attribute via CGI:
http://localhost/cgi-bin/mapserv?map=/mapfile.map&mode=itemnquery&qstring=(([DATE_YEAR>2005) 
AND ('[type]'='transport'))&qlayer=Fixed_Point_Stations

The documentation says that if you do not specify qlayer than all layers 
are searched. But that does not work for me, I always get the Web 
application error: "Query layer not set or references an invalid 
layer.", if I do not specify the qlayer. How can I do it?

(Mapserver 5.6.6-3 on MacOSX)

Thank you very much,
Remon


_______________________________________________
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