Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://zuiderzeeland.lizard.net/api/v4/colormaps/ContinueLowHighErosion/?format=api",
    "name": "ContinueLowHighErosion",
    "description": "GradientColormap",
    "definition": {
        "data": [
            [
                0,
                [
                    60,
                    60,
                    255,
                    255
                ]
            ],
            [
                1000,
                [
                    30,
                    150,
                    65,
                    255
                ]
            ],
            [
                5000,
                [
                    170,
                    215,
                    110,
                    255
                ]
            ],
            [
                10000,
                [
                    255,
                    255,
                    190,
                    255
                ]
            ],
            [
                50000,
                [
                    255,
                    170,
                    100,
                    255
                ]
            ],
            [
                250000,
                [
                    215,
                    25,
                    30,
                    255
                ]
            ]
        ],
        "type": "GradientColormap"
    }
}