Endpoint (read-only) for listing predefined colormaps.

A colormap is used when rendering rasters in the WMS endpoint.

GET /api/v4/colormaps/wss-hhnk/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "https://demo.lizard.net/api/v4/colormaps/wss-hhnk/?format=api",
    "name": "wss-hhnk",
    "description": "wss-hhnk (based on YlOrRd)",
    "definition": {
        "log": true,
        "data": [
            [
                0.0499,
                [
                    255,
                    255,
                    255,
                    0
                ]
            ],
            [
                0.05,
                [
                    232,
                    220,
                    20,
                    100
                ]
            ],
            [
                10,
                [
                    232,
                    186,
                    20,
                    255
                ]
            ],
            [
                100,
                [
                    242,
                    159,
                    3,
                    255
                ]
            ],
            [
                250,
                [
                    244,
                    122,
                    8,
                    255
                ]
            ],
            [
                400,
                [
                    230,
                    56,
                    3,
                    255
                ]
            ],
            [
                550,
                [
                    191,
                    4,
                    1,
                    255
                ]
            ],
            [
                700,
                [
                    141,
                    23,
                    4,
                    255
                ]
            ]
        ],
        "free": false,
        "type": "GradientColormap"
    }
}