expressions with negative values
Stephen Lime
steve.lime at dnr.state.mn.us
Wed Apr 11 07:42:19 PDT 2001
Something like EXPRESSION ([field] > -72 and [field] < -62) will work.
Steve
Stephen Lime
Internet Applications Analyst
Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937
>>> Marco Vieira <marco.vieira at telet.com.br> 04/11/01 08:07AM >>>
Hi All,
I need to create a point layer with negative values classified by
expressions.
example: A Class = -72 < [Field] < -62.
Does anyone can demonstrate how I do it?
My map file show like this: (some bugs?)
LAYER
NAME poa_qep
TYPE Point
STATUS on
DATA poa_qep
CLASSITEM Rssi
CLASS
Name 'Poa_qep'
EXPRESSION ([RSSI] < -92) ###This running good
SYMBOL 'circle'
SIZE 6
COLOR 207 0 224
OUTLINECOLOR 207 0 224
END # CLASS
CLASSITEM Rssi
CLASS
Name 'Poa_qep'
EXPRESSION /^[-92 - -82]/ ###This are wrong???
SYMBOL 'circle'
SIZE 6
COLOR 77 0 229
OUTLINECOLOR 77 0 229
END # CLASS
CLASSITEM Rssi
CLASS
Name 'Poa_qep'
EXPRESSION /^[-82 - -72]/
SYMBOL 'circle'
SIZE 6
COLOR 254 179 0
OUTLINECOLOR 254 179 0
END # CLASS
END # LAYER
Thanks.
Marco.
More information about the MapServer-users
mailing list