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

Remon Sadikni remon.sadikni at zmaw.de
Fri May 13 06:02:33 PDT 2011


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





More information about the MapServer-users mailing list