qstring validation
Hunter, David - St. Louis Park, MN
David.Hunter at FNIS.COM
Wed Feb 6 15:35:11 PST 2008
Since moving to mapserver 5.0 (mostly to test AGG), a layer in my map
file that has this class definition:
CLASS
EXPRESSION (%qstring%)
COLOR 230 230 179
END
The query no longer works. If I change it to an explicit query string,
like:
EXPRESSION ('[DISTRICT]' eq 'ALTAMONT')
The polygon is filled as expected. In the "MapServer 4.10 to 5.0
Migration Guide", there is mention that in the case of qstring queries,
the qstring_validation_pattern layer-level metadata is required. It
also says the absence of this setting produces a fatal error. My maps
still work, they just do not fill in the polygon that matches the
qstring.
I cannot find any examples or documentation for the
qstring_validation_pattern setting. Can anybody give me a pointer in
the right direction?
David S. Hunter
Lead Software Engineer
Fidelity National Geographic Solutions
division of Fidelity National Information Services
5353 Gamble Drive, Suite 201
St. Louis Park, MN 55416
Email: david.hunter at fnis.com <mailto:david.hunter at fnf.com>
Phone: 952.542.1440 ext. 256
Fax: 952.542.3859
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080206/136f1176/attachment.htm>
More information about the MapServer-users
mailing list