[mapserver-users] how to define the CLASSITEM and EXPRESSION in this case?

jjwang jaja0506 at gmail.com
Thu Sep 8 01:46:58 EDT 2011


I want to define classes according to the proportion between two attributes
of the feature.
How to do this?
For example: feature has two attributes 'PopulationOver65' and
'PopulationTotal'. They are both numbers.
I want the color of this feature:
green if PopulationOver65/PopulationTotal <10%,
yellow if 10% -30%,
red if 30%.

Anyway to do this?

JJ

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/how-to-define-the-CLASSITEM-and-EXPRESSION-in-this-case-tp6770598p6770598.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list