[mapserver-users] Dynamic change of Styling info on mapfile

jude mwenda judemwenda at gmail.com
Tue Jun 7 12:48:31 EDT 2011


Hi,
i have the following problem where i have a mapfile with the following.
specified for a layer
      STYLE
        COLORRANGE 0 0 0  255 255 0 # black to yellow
   DATARANGE 0.0 2000000.0
   RANGEITEM "POP2005"
      END
So the above loads a nice map. But i would like the colorrange,datarange and
rangeitem to be dynamic. Is there a way to change their values during
runtime?
I have looked at the documentation on variable substitution and tried what
there but the mayer fails to load.
Please help.
-- 
Regards,

Jude Mwenda
Skype id: jmwenda
Twitter: www.twitter.com/judemwenda
Web: www.africangeogeek.com

"Was ist mein Leben, wenn ich nicht mehr nützlich für andere."
Johann Wolfgang von Goethe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110607/d567c807/attachment.html


More information about the mapserver-users mailing list