Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://demo.lizard.net/api/v4/colormaps/AdmNLProvincies/?format=api",
    "name": "AdmNLProvincies",
    "description": "DiscreteColorMap",
    "definition": {
        "data": [
            [
                1,
                [
                    63,
                    178,
                    167,
                    255
                ]
            ],
            [
                2,
                [
                    84,
                    199,
                    188,
                    255
                ]
            ],
            [
                3,
                [
                    105,
                    220,
                    209,
                    255
                ]
            ],
            [
                4,
                [
                    126,
                    241,
                    230,
                    255
                ]
            ],
            [
                5,
                [
                    147,
                    6,
                    251,
                    255
                ]
            ],
            [
                6,
                [
                    168,
                    27,
                    16,
                    255
                ]
            ],
            [
                7,
                [
                    189,
                    48,
                    37,
                    255
                ]
            ],
            [
                8,
                [
                    210,
                    69,
                    58,
                    255
                ]
            ],
            [
                9,
                [
                    231,
                    90,
                    79,
                    255
                ]
            ],
            [
                10,
                [
                    252,
                    111,
                    100,
                    255
                ]
            ],
            [
                11,
                [
                    17,
                    132,
                    121,
                    255
                ]
            ],
            [
                12,
                [
                    38,
                    153,
                    142,
                    255
                ]
            ]
        ],
        "type": "DiscreteColormap",
        "labels": {
            "en_GB": [
                [
                    1,
                    "Groningen (1)"
                ],
                [
                    2,
                    "Friesland (2)"
                ],
                [
                    3,
                    "Drenthe (3)"
                ],
                [
                    4,
                    "Overijssel (4)"
                ],
                [
                    5,
                    "Gelderland (5)"
                ],
                [
                    6,
                    "Utrecht (6)"
                ],
                [
                    7,
                    "Noord-Holland (7)"
                ],
                [
                    8,
                    "Zuid-Holland (8)"
                ],
                [
                    9,
                    "Zeeland (9)"
                ],
                [
                    10,
                    "Noord-Brabant (10)"
                ],
                [
                    11,
                    "Limburg (11)"
                ],
                [
                    12,
                    "Flevoland (12)"
                ]
            ]
        },
        "invalid": [
            255,
            255,
            255,
            0
        ]
    }
}