Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://zuiderzeeland.lizard.net/api/v4/colormaps/waterdepth_zwijndrecht/?format=api",
    "name": "waterdepth_zwijndrecht",
    "description": "Waterdepth_Zwijndrecht [m]",
    "definition": {
        "data": [
            [
                0.0,
                [
                    255,
                    0,
                    255,
                    0
                ]
            ],
            [
                0.02,
                [
                    43,
                    131,
                    186,
                    255
                ]
            ],
            [
                0.1,
                [
                    43,
                    131,
                    186,
                    255
                ]
            ],
            [
                0.25,
                [
                    171,
                    221,
                    164,
                    255
                ]
            ],
            [
                0.5,
                [
                    255,
                    255,
                    191,
                    255
                ]
            ],
            [
                0.75,
                [
                    253,
                    174,
                    97,
                    255
                ]
            ],
            [
                1.0,
                [
                    215,
                    25,
                    28,
                    255
                ]
            ]
        ],
        "type": "GradientColormap"
    }
}