Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://demo.lizard.net/api/v4/colormaps/3di-depth/?format=api",
    "name": "3di-depth",
    "description": "3Di result (based on Blues)",
    "definition": {
        "data": [
            [
                0.0,
                [
                    247,
                    251,
                    255,
                    0
                ]
            ],
            [
                0.125,
                [
                    222,
                    235,
                    247,
                    255
                ]
            ],
            [
                0.25,
                [
                    198,
                    219,
                    239,
                    255
                ]
            ],
            [
                0.375,
                [
                    158,
                    202,
                    225,
                    255
                ]
            ],
            [
                0.5,
                [
                    107,
                    174,
                    214,
                    255
                ]
            ],
            [
                0.625,
                [
                    66,
                    146,
                    198,
                    255
                ]
            ],
            [
                0.75,
                [
                    33,
                    113,
                    181,
                    255
                ]
            ],
            [
                0.875,
                [
                    8,
                    81,
                    156,
                    255
                ]
            ],
            [
                1.0,
                [
                    8,
                    48,
                    107,
                    255
                ]
            ]
        ],
        "type": "GradientColormap"
    }
}