[Geoserver-users] GeoServer colormap legend through WMS

I have a service that reads a raster (geotiff) which has a ‘built-in’ colormap (the colormap is not in the .sld file). The raster is a classified, single-band image. This is a public service that can be viewed at:
https://beta.sciencebase.gov/geoserver/test_wrkspc/wms?

The image renders according to the built-in colormap. My question: Is there a way to get a legend graphic through the service (with ‘GetLegendGraphic’ or otherwise)?

When I try ‘GetLegendGraphic’, I just get a blue box.


Don Brown
GIS Specialist
Cherokee Services Group, LLC (CSG)
Contractor to the U.S. Geological Survey
Fort Collins Science Center
2150 Centre Ave. Bldg. C
Fort Collins, CO 80526
(970) 226-9155
brownd@anonymised.com