Expression help
Fawcett, David
david.fawcett at moea.state.mn.us
Fri Feb 18 13:23:57 PST 2000
The easiest way would be to pre-class them (1 - 8) in ArcView, Access, or some other database program.
I can't help you with the regular expressions, but if you search the archives at
http://mapserver.gis.umn.edu/cgi-bin/wilma/mapserver-users
you should be able to find some examples.
David.
David Fawcett
Minnesota Office of Environmental Assistance
> ----------
> From: RAldridge[SMTP:RAldridge at linuxstart.com]
> Sent: Friday, February 18, 2000 2:44 PM
> To: mapserver-users at lists.gis.umn.edu
> Subject: Expression help
>
> 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