[mapserver-users] Color polygons contd
Grant Marblestone
GrantM at ATSER.com
Fri Feb 8 11:53:39 PST 2002
SO i think the answer to this is to use class expression to get teh colors
you want.
However i wish to ask further......
For expression not random.. but lets say i have some data zip that is
basically
77777
77788
77478
88983
And i want them to be red if even and blue if odd....
QUESTION
how can i use mod in the expression
EXPRESSION [zip]%2==0 red
EXPRESSION [zip]%2==1 blue?
Thanks,
Grant
----- Original Message -----
From: "Doug Williams" <williams at wildweb.org>
To: <mapserver-users at lists.gis.umn.edu>
Sent: Friday, February 08, 2002 10:32 AM
Subject: [mapserver-users] color polygons?
> Hello,
>
> Is it possible to randomly (or otherwise) color polygons within a single
> shapefile according to the value of one of the shpefile attributes?
>
> Thanks,
> Doug Williams
More information about the MapServer-users
mailing list