[mapserver-users] Legends with colour ramps.

Luís de Sousa luis.a.de.sousa at gmail.com
Wed Feb 6 08:12:01 PST 2013


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.


More information about the mapserver-users mailing list