[postgis-users] Dynamic Filter

Zamil Murji Zamil.Murji at divestco.com
Fri Apr 30 15:00:59 PDT 2004


Hello list,

I have a PostGIS layer in my .map file that displays just fine. Now I want to filter that layer based on a column called source. I know how to do static filter using FILTER, but I don't know how to handle dynamic filtering. Here is my FILTER statement that works:

FILTER "digital_tape_log = 'Y'"

Now I want it to look like so:

FILTER "digital_tape_log = 'whatevertheuserpassesin'"

I am using MapServer version 4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=POSTGIS INPUT=SHAPEFILE

How do I do this?

Thanks in advance,
Zamil



More information about the postgis-users mailing list