[mapserver-users] wildcards

Stephen Lime steve.lime at dnr.state.mn.us
Tue Jun 5 11:39:20 EDT 2001


There is no LIKE operator but you can use regular expressions which are even more
powerfull. They can be used alone (i.e. EXPRESSION /regex/) or as part of a logical
expression (i.e. EXPRESSION ('[ITEM]' =~ /regex/).

Steve

Stephen Lime
Internet Applications Analyst

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> Olle.Hints at gi.ee 06/03/01 08:59AM >>>
Hi everybody,

I'm just making the first steps in building an application that uses mapserver, php and data from mysql to plot spatial distribution of fossils that are recorded in our collections' database.
Now I have run into a small problem: Is it possible to use the LIKE operator and wildcards directly in class expressions? A stupid question perhaps but I didn't find the solution from archive.

Thanks in advance,
Olle

________________________
Institute of Geology
at Tallinn Technical University
http://www.gi.ee




More information about the mapserver-users mailing list