[Mapserver-users] pass filter on url
John Hagstrand
john.hagstrand@interageresearch.com
Wed, 29 Oct 2003 11:21:19 -0600
Hello,
I'm having a problem passing a FILTER value through the URL, when the column
is type CHAR.
Here is a snippet of my map file.
LAYER
NAME stories
CONNECTIONTYPE postgis
CONNECTION "user=..."
DATA "geo from tstory"
FILTER "dtime > 2003.170 and scategory = 'wc'"
CLASSITEM dtime
TYPE POINT
CLASS
...
Now I want to change the FILTER parameter dynamically.
this works:
...&map_stories_filter=dtime+between+2003.297+and+2003.302&...
this works:
...&map_stories_filter=topicid=0&...
this does not work:
...&map_stories_filter=scategory='wc'&...
I suppose it's the single quotes. How can I pass this value?
Thanks
John
John Hagstrand
Interage Research, Inc.
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users