Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://demo.lizard.net/api/v4/colormaps/3di_flowvelocity/?format=api",
    "name": "3di_flowvelocity",
    "description": "Flow velocity (used in 3Di postprocessing)",
    "definition": {
        "data": [
            [
                0.0,
                [
                    255,
                    255,
                    255,
                    0
                ]
            ],
            [
                0.125,
                [
                    254,
                    224,
                    210,
                    255
                ]
            ],
            [
                0.25,
                [
                    252,
                    187,
                    161,
                    255
                ]
            ],
            [
                0.375,
                [
                    252,
                    146,
                    114,
                    255
                ]
            ],
            [
                0.5,
                [
                    251,
                    106,
                    74,
                    255
                ]
            ],
            [
                0.625,
                [
                    239,
                    59,
                    44,
                    255
                ]
            ],
            [
                0.75,
                [
                    203,
                    24,
                    29,
                    255
                ]
            ],
            [
                0.875,
                [
                    165,
                    15,
                    21,
                    255
                ]
            ],
            [
                1.0,
                [
                    103,
                    0,
                    13,
                    255
                ]
            ]
        ],
        "type": "GradientColormap"
    }
}