Expression help
Jason Maestri
sl57k at cc.usu.edu
Fri Feb 18 13:32:07 PST 2000
Hmm.. Why don't you try:
CLASS
NAME "0 - 9"
EXPRESSION (([AGE2000] >= 0) && ([AGE2000] < 10))
SYMBOL 0
OUTLINECOLOR 0
COLOR 50 255 50
END
--Jason Maestri
RAldridge wrote:
> Hello list,
>
> I'm needing help writing expressions to classify forest stands by age. My shapefile includes a data item named "AGE2000" which is a numeric item representing the age fo the stand. How do I need to set up classes if I want to represent the data in 10-year age classes. Values of "AGE2000" range from 0 to 74. Right now I have:
>
> LAYER
> NAME standage
> TYPE polygon
> STATUS off
> DATA stand110
> CLASSITEM "AGE2000"
> CLASS
> NAME "0 - 9"
> EXPRESSION "???"
> SYMBOL 0
> OUTLINECOLOR 0
> COLOR 50 255 50
> END
> CLASS
> NAME "10 - 19"
> EXPRESSION "???"
More information about the MapServer-users
mailing list