[mapserver-users] Can I classify attributes using a wildcard?
Daniel Morissette
dmorissette at mapgears.com
Fri Apr 10 06:57:34 PDT 2009
boesiii wrote:
> I would like classify a road centerline shapefile. The shapefile has a coded attribute representing the type of road (ex. A11, A15, A16, A22, A25). Is there a way I can use a wildcard in my expression (ex. EXPRESSION 'A1*' ) so mapserver will classify all values with a "A1_"?
Yes, using a REGEX expression would do it. The following expression will
match anything starting with A1:
EXPRESSION /^A1/
Daniel
--
Daniel Morissette
http://www.mapgears.com/
More information about the MapServer-users
mailing list