[mapserver-users] COLOR can take an expression?
Kristian Thy
thy at 42.dk
Sat May 17 02:13:39 PDT 2008
On Fri, May 16, Tom Huras wrote:
> I want to assign a color to some features from a database based on a
> field. The full range of values is large, so I don't want to code a
> CLASS for each value. Instead I'd like to use an expression for the color.
For doing stuff like this, I use mako templates in python:
http://quovadis.dk/dl/corine_template.map
http://quovadis.dk/dl/corine.py.txt
Then I can just
C:\>corine.py > corine.map
for the final mapfile.
\\kristian
--
... et nemo ex vobis interrogat me: »Quo vadis?«
More information about the MapServer-users
mailing list