[Mapserver-dev] GetLegendGraphic output for raster layers
Kralidis,Tom [Burlington]
Tom.Kralidis at ec.gc.ca
Thu Oct 21 16:17:32 EDT 2004
Hi,
Issuing a GetLegendGraphic request for raster layers return blank for me
using latest CVS.
Do others agree that some sort of legend icon would be useful for raster
layers? If yes, what is the best way to do so:
- scan all cells for RGB values (or SLD ColorMap or mapfile
classification) and generate a graduated image. This appears to be the
CubeWerx way, i.e.:
http://demo.cubewerx.com/demo/cubeserv/cubeserv.cgi?CONFIG=main&SERVICE=
WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&LAYER=GTOPO30%3AFoundation&FO
RMAT=image%2Fpng&width=300&height=322
Of course, this would get overrided if KEYIMAGE is defined in the CLASS
object.
Cheers
..Tom
More information about the mapserver-dev
mailing list