Dear all,

I have a raster layer with the colour ramp reproduced below. It does what it
should in a GetMap request, but with GetLegendGraphic it is returning the
image here attached.

I imagine I'm missing some config to get the legend correctly. But what
exactly?

Thank you,

Luís

<http://osgeo-org.1560.n6.nabble.com/file/n5032514/ColourRamp.png> 

#------------------------------------------------------------

        CLASS
                NAME "ColourRamp"
                EXPRESSION ([pixel] >= -10 and [pixel] <= 100)
                STYLE
                  COLORRANGE 240 249 232  8 88 158
                  DATARANGE -10 100
                END
        END



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Legends-with-colour-ramps-tp5032514.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to