Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://demo.lizard.net/api/v4/colormaps/3di_precipitation/?format=api",
    "name": "3di_precipitation",
    "description": "Precipitation (used in 3Di postprocessing)",
    "definition": {
        "log": true,
        "data": [
            [
                0.019,
                [
                    255,
                    255,
                    255,
                    0
                ]
            ],
            [
                0.02,
                [
                    255,
                    255,
                    255,
                    26
                ]
            ],
            [
                0.2,
                [
                    189,
                    195,
                    199,
                    255
                ]
            ],
            [
                0.5,
                [
                    52,
                    152,
                    219,
                    255
                ]
            ],
            [
                1.0,
                [
                    41,
                    128,
                    185,
                    255
                ]
            ],
            [
                2.5,
                [
                    141,
                    162,
                    100,
                    255
                ]
            ],
            [
                5.0,
                [
                    241,
                    196,
                    15,
                    255
                ]
            ],
            [
                7.5,
                [
                    231,
                    76,
                    60,
                    255
                ]
            ],
            [
                15.0,
                [
                    193,
                    82,
                    121,
                    255
                ]
            ],
            [
                30.0,
                [
                    155,
                    89,
                    182,
                    255
                ]
            ],
            [
                31.0,
                [
                    155,
                    89,
                    182,
                    255
                ]
            ]
        ],
        "free": false,
        "type": "GradientColormap"
    }
}