[Mapserver-dev] GetLegendGraphic output for raster layers
Daniel Morissette
dmorissette at dmsolutions.ca
Thu Oct 21 19:54:32 EDT 2004
I'd say that using KEYIMAGE is the way to go. Scanning the raster would
be a bit expensive IMHO. Either way I think you should file an
enhancement bug and CC enough of us on it to get someone to volounteer
to do it... or wait post-4.4. ;)
Daniel
Kralidis,Tom [Burlington] wrote:
> 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
>
> _______________________________________________
> Mapserver-dev mailing list
> Mapserver-dev at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-dev
>
More information about the mapserver-dev
mailing list