[mapserver-users] SQL SELECT statement in a OGR connection (DGN)

Daniel Morissette dmorissette at mapgears.com
Mon Aug 25 08:20:32 PDT 2008


Robert Sanson wrote:
> Is it possible to send a value for the where condition to Mapserver via 
> a variable added to the end of a WMS call? Mapserver would then put this 
> variable value into the FILTER statement for the OGR connection.
>  

You could use a %variable% in your FILTER expression and then pass the 
value of 'variable' in the URL:

http://mapserver.gis.umn.edu/docs/reference/mapfile/variable_sub

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/



More information about the MapServer-users mailing list