[Mapserver-users] filter and filteritem

Zamil Murji Zamil.Murji at divestco.com
Fri Aug 1 10:18:24 PDT 2003


I solved my own issue.
Use the following
FILTER ('[FIELD1] = 'Y' OR '[FIELD2] = 'Y')

Sorry
Zamil

-----Original Message-----
From: Zamil Murji 
Sent: Friday, August 01, 2003 10:19 AM
To: Mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] filter and filteritem


Hello all,

I am using data from shapefiles. I have 3 layers that come from one set of shapefiles (wells.shp). There are fields in the dbf that I would like to use to create these layers. For instance if FIELD1 in the database is = 'Y' then I want it to be shown in green, if FIELD2 in the database is = 'Y' then I want it shown in red.

What is the syntax to use for such queries in the .map file. Should i use filter and filteritem or something else?

Thanks Zamil

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list