[Date Prev][Date Next] [Chronological] [Thread] [Top]

[mapserver-users] How to color a polygon depending on one of its DBF attribute ?



Hi list,

Whichever is the map I'm looking at, they are all made on the same pattern :
one class --> one color.
I wonder how to get a layer whose polygons are filled with the color of an
attribute or from a computed expression.
Imagine there is a population layer ( 100 citizens for the less populous
polygon , 10,000 for the more ).

How can I color them like
COLOR 43 196 x
with x = 0 for 100 and x = 255 for 10,000, or else ( like/dark polygon ) ?


Thanks for your advices.