[Mapserver-users] set filter with cgi

babak.tehrani at geosysnet.de babak.tehrani at geosysnet.de
Mon Apr 28 03:32:02 PDT 2003


Hello,

Is it possible to change a layer-FILTER as CGI-URL. In the mapfile I
write something like 

  FILTERITEM "NAME"
  FILTER /Germany|France/

to display only this two polygons. What I have to write in the mapfile
for an empty inital query and how can I set the filter via URL??

/cgi-bin/mapserv.exe?map=c:/path/to/europa.map&mode=map&map_mylayername_filter=/Germany|France/

or ... map_mylayername_filter="/Germany|France/"

Thanks for help,

babak



More information about the MapServer-users mailing list