Colormap Instance
Endpoint (read-only) for listing predefined colormaps.
A colormap is used when rendering rasters in the WMS endpoint.
GET /api/v4/colormaps/Accent_r/?format=api
{ "url": "https://demo.lizard.net/api/v4/colormaps/Accent_r/?format=api", "name": "Accent_r", "description": "matplotlib ColorBrewer Qualitative", "definition": { "data": [ [ 0.0, [ 102, 102, 102, 255 ] ], [ 0.143, [ 191, 91, 23, 255 ] ], [ 0.286, [ 240, 2, 127, 255 ] ], [ 0.429, [ 56, 108, 176, 255 ] ], [ 0.571, [ 255, 255, 153, 255 ] ], [ 0.714, [ 253, 192, 134, 255 ] ], [ 0.857, [ 190, 174, 212, 255 ] ], [ 1.0, [ 127, 201, 127, 255 ] ] ], "type": "GradientColormap" } }