Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://zuiderzeeland.lizard.net/api/v4/colormaps/Blues_trans/?format=api",
    "name": "Blues_trans",
    "description": null,
    "definition": {
        "data": [
            [
                0.0,
                [
                    8,
                    48,
                    107,
                    255
                ]
            ],
            [
                0.125,
                [
                    8,
                    48,
                    107,
                    255
                ]
            ],
            [
                0.25,
                [
                    8,
                    48,
                    107,
                    255
                ]
            ],
            [
                0.375,
                [
                    8,
                    48,
                    107,
                    255
                ]
            ],
            [
                0.4,
                [
                    8,
                    48,
                    107,
                    255
                ]
            ],
            [
                0.425,
                [
                    8,
                    48,
                    107,
                    255
                ]
            ],
            [
                0.45,
                [
                    8,
                    48,
                    107,
                    255
                ]
            ],
            [
                0.5,
                [
                    8,
                    48,
                    107,
                    0
                ]
            ],
            [
                0.501,
                [
                    8,
                    48,
                    107,
                    0
                ]
            ],
            [
                0.625,
                [
                    8,
                    48,
                    107,
                    0
                ]
            ],
            [
                0.75,
                [
                    8,
                    48,
                    107,
                    0
                ]
            ],
            [
                0.875,
                [
                    8,
                    48,
                    107,
                    0
                ]
            ],
            [
                1.0,
                [
                    8,
                    48,
                    107,
                    0
                ]
            ]
        ],
        "type": "GradientColormap"
    }
}