Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://demo.lizard.net/api/v4/colormaps/wd_diff_kleurenblind/?format=api",
    "name": "wd_diff_kleurenblind",
    "description": "Kleurschaling geschikt voor kleurenblinden",
    "definition": {
        "data": [
            [
                -0.5,
                [
                    0,
                    255,
                    21,
                    255
                ]
            ],
            [
                -0.1,
                [
                    17,
                    122,
                    0,
                    255
                ]
            ],
            [
                -0.025,
                [
                    223,
                    248,
                    222,
                    255
                ]
            ],
            [
                0,
                [
                    255,
                    255,
                    255,
                    0
                ]
            ],
            [
                0.025,
                [
                    248,
                    215,
                    215,
                    1
                ]
            ],
            [
                0.1,
                [
                    0,
                    89,
                    255,
                    225
                ]
            ],
            [
                0.5,
                [
                    172,
                    0,
                    246,
                    225
                ]
            ]
        ],
        "type": "GradientColormap"
    }
}