[Geomoose-users] Expressions
Fischer, Brian
bfischer at houstonengineeringinc.com
Tue Aug 19 17:13:03 EDT 2008
Yep, you just use a regular expression: /[^6]/
This is a mapserver syntax.
Brian Fischer
Houston Engineering, Inc.
Maple Grove, MN
(763) 493-4522
________________________________
From: geomoose-users-bounces at lists.sourceforge.net
[mailto:geomoose-users-bounces at lists.sourceforge.net] On Behalf Of Jay
Kapalczynski
Sent: Tuesday, August 19, 2008 4:08 PM
To: 'geomoose-users at lists.sourceforge.net';
'geomoose-developers at lists.sourceforge.net'
Subject: [Geomoose-users] Expressions
Is there a way to form a NOT statement in the expression...
To say for instance...show me all but EXPRESSION "6"
Instead of having to write each one out that you want....say I have pipe
sizes 1-30 but 90% are 6 inches....jsut show the ones that are not 6
iches...
This should decrease the amount of labeling I have to do
CLASS
LABEL
EXPRESSION "12"
TYPE
TRUETYPE
FONT
vera_sans
ANGLE
FOLLOW
POSITION
AUTO
MAXSIZE
7
SIZE 7
MINSIZE
7
ANTIALIAS TRUE
COLOR 0
0 0
#OUTLINECOLOR 255 255 192
BUFFER 2
END
END
CLASS
LABEL
EXPRESSION "16"
TYPE
TRUETYPE
FONT
vera_sans
ANGLE
FOLLOW
POSITION
AUTO
MAXSIZE
7
SIZE 7
MINSIZE
7
ANTIALIAS TRUE
COLOR 0
0 0
#OUTLINECOLOR 255 255 192
BUFFER 2
END
END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20080819/63bd36de/attachment.html
More information about the Geomoose-users
mailing list