[mapserver-users] About the Color Ramp for Raster Data
Yves Jacolin (Free)
yjacolin at free.fr
Wed Jun 26 03:05:48 PDT 2013
Le mercredi 26 juin 2013 11:03:10 Guo YU a écrit :
> Does this proposed new syntax work yet?
> http://mapserver.org/development/rfc/ms-rfc-6.html#proposed-new-syntax
>
> Currently, I am still using this method for rendering the color. However it
> doesn't work so well since it is linear interpolation and equal interval.
> In reality, the histogram of raster shows that data doesn't distribute with
> equal interval. In ArcGIS, the default method for classified raster
> rendering is Natural Breaks (Jenks).
>
>
> STYLE
> COLORRANGE 0 0 0 255 255 0 # black to yellow
> DATARANGE 0.0 100.0
> RANGEITEM "foobar"
> END
>
> Is there any new improvement for that in MapServer? Thanks
Hello,
It is working well as we are using it. Even if it could be improved (add
legend support for instance) :)
Anyway, you can use EXPRESSION parameter for each CLASS you need to do what
you want.
Regards,
Y.
More information about the MapServer-users
mailing list