[Mapserver-users] trouble using FILTER in PostGIS query

Jeff Hoffmann jeff at propertykey.com
Wed May 21 08:56:51 PDT 2003


I'm trying to figure out how to set a FILTER on a PostGIS query based on 
a query parameter passed in from the URL.  I tacked the parameter on the 
end of the URL ("&pin=13929111046") then added the following line in the 
mapfile:
   FILTER "parcel = '%pin%'"
but nothing happens.  When I looked at the actual query that is being 
sent to the database, it appears that the "%pin%" never gets translated 
into the value from the request.  Am I doing this right?  And if so, why 
isn't it working?

-- 

Jeff Hoffmann
PropertyKey.com




More information about the MapServer-users mailing list