Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://zuiderzeeland.lizard.net/api/v4/colormaps/wd_diff/?format=api",
    "name": "wd_diff",
    "description": "Verschil waterdiepte",
    "definition": {
        "data": [
            [
                0.0,
                [
                    0,
                    104,
                    55,
                    255
                ]
            ],
            [
                0.1,
                [
                    26,
                    152,
                    80,
                    255
                ]
            ],
            [
                0.2,
                [
                    102,
                    189,
                    99,
                    255
                ]
            ],
            [
                0.3,
                [
                    166,
                    217,
                    106,
                    255
                ]
            ],
            [
                0.4,
                [
                    217,
                    239,
                    139,
                    255
                ]
            ],
            [
                0.5,
                [
                    255,
                    255,
                    191,
                    0
                ]
            ],
            [
                0.6,
                [
                    254,
                    224,
                    139,
                    255
                ]
            ],
            [
                0.7,
                [
                    253,
                    174,
                    97,
                    255
                ]
            ],
            [
                0.8,
                [
                    244,
                    109,
                    67,
                    255
                ]
            ],
            [
                0.9,
                [
                    215,
                    48,
                    39,
                    255
                ]
            ],
            [
                1.0,
                [
                    165,
                    0,
                    38,
                    255
                ]
            ]
        ],
        "type": "GradientColormap"
    }
}