Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://demo.lizard.net/api/v4/colormaps/3di_waterlevel/?format=api",
    "name": "3di_waterlevel",
    "description": "Water level (used in 3Di postprocessing)",
    "definition": {
        "data": [
            [
                0.0,
                [
                    158,
                    1,
                    66,
                    255
                ]
            ],
            [
                0.1,
                [
                    213,
                    62,
                    79,
                    255
                ]
            ],
            [
                0.2,
                [
                    244,
                    109,
                    67,
                    255
                ]
            ],
            [
                0.3,
                [
                    253,
                    174,
                    97,
                    255
                ]
            ],
            [
                0.4,
                [
                    254,
                    224,
                    139,
                    255
                ]
            ],
            [
                0.5,
                [
                    255,
                    255,
                    191,
                    255
                ]
            ],
            [
                0.6,
                [
                    230,
                    245,
                    152,
                    255
                ]
            ],
            [
                0.7,
                [
                    171,
                    221,
                    164,
                    255
                ]
            ],
            [
                0.8,
                [
                    102,
                    194,
                    165,
                    255
                ]
            ],
            [
                0.9,
                [
                    50,
                    136,
                    189,
                    255
                ]
            ],
            [
                1.0,
                [
                    94,
                    79,
                    162,
                    255
                ]
            ]
        ],
        "type": "GradientColormap"
    }
}