You can use regexes:
CLASSITEM 'road_type'
CLASS
EXPRESSION /^I-/
...
END
or
CLASS
EXPRESSION ('[road_type]' ~ '^I-')
...
END
Steve
From: [email protected]
[mailto:[email protected]] On Behalf Of Bistrais, Bob
Sent: Thursday, September 05, 2013 10:40 AM
To: [email protected]
Subject: [mapserver-users] class expression question
I'd like to classify road data according to road type. This includes
Interstate highways, where the road name attribute starts with "I-", such as
"I-95", "I-295", etc. So I'd like to create a class where '[roadname]' like
'I-%'
- What is the correct syntax to do this?
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users