Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://demo.lizard.net/api/v4/colormaps/AdmNLVeiligheidsregios/?format=api",
    "name": "AdmNLVeiligheidsregios",
    "description": "DiscreteColorMap",
    "definition": {
        "data": [
            [
                21,
                [
                    165,
                    224,
                    87,
                    255
                ]
            ],
            [
                1,
                [
                    175,
                    234,
                    97,
                    255
                ]
            ],
            [
                2,
                [
                    185,
                    244,
                    107,
                    255
                ]
            ],
            [
                3,
                [
                    195,
                    254,
                    117,
                    255
                ]
            ],
            [
                4,
                [
                    205,
                    8,
                    127,
                    255
                ]
            ],
            [
                5,
                [
                    215,
                    18,
                    137,
                    255
                ]
            ],
            [
                6,
                [
                    225,
                    28,
                    147,
                    255
                ]
            ],
            [
                7,
                [
                    235,
                    38,
                    157,
                    255
                ]
            ],
            [
                8,
                [
                    245,
                    48,
                    167,
                    255
                ]
            ],
            [
                9,
                [
                    255,
                    58,
                    177,
                    255
                ]
            ],
            [
                14,
                [
                    9,
                    68,
                    187,
                    255
                ]
            ],
            [
                25,
                [
                    19,
                    78,
                    197,
                    255
                ]
            ],
            [
                10,
                [
                    29,
                    88,
                    207,
                    255
                ]
            ],
            [
                11,
                [
                    39,
                    98,
                    217,
                    255
                ]
            ],
            [
                12,
                [
                    49,
                    108,
                    227,
                    255
                ]
            ],
            [
                13,
                [
                    59,
                    118,
                    237,
                    255
                ]
            ],
            [
                15,
                [
                    69,
                    128,
                    247,
                    255
                ]
            ],
            [
                16,
                [
                    79,
                    138,
                    1,
                    255
                ]
            ],
            [
                17,
                [
                    89,
                    148,
                    11,
                    255
                ]
            ],
            [
                18,
                [
                    99,
                    158,
                    21,
                    255
                ]
            ],
            [
                19,
                [
                    109,
                    168,
                    31,
                    255
                ]
            ],
            [
                20,
                [
                    119,
                    178,
                    41,
                    255
                ]
            ],
            [
                22,
                [
                    129,
                    188,
                    51,
                    255
                ]
            ],
            [
                23,
                [
                    139,
                    198,
                    61,
                    255
                ]
            ],
            [
                24,
                [
                    149,
                    208,
                    71,
                    255
                ]
            ]
        ],
        "type": "DiscreteColormap",
        "labels": {
            "en_GB": [
                [
                    21,
                    "Brabant-Noord (21)"
                ],
                [
                    1,
                    "Groningen (1)"
                ],
                [
                    2,
                    "Fryslân (2)"
                ],
                [
                    3,
                    "Drenthe (3)"
                ],
                [
                    4,
                    "IJsselland (4)"
                ],
                [
                    5,
                    "Twente (5)"
                ],
                [
                    6,
                    "Noord- en Oost-Gelderland (6)"
                ],
                [
                    7,
                    "Gelderland-Midden (7)"
                ],
                [
                    8,
                    "Gelderland-Zuid (8)"
                ],
                [
                    9,
                    "Utrecht (9)"
                ],
                [
                    14,
                    "Gooi en Vechtstreek (14)"
                ],
                [
                    25,
                    "Flevoland (25)"
                ],
                [
                    10,
                    "Noord-Holland-Noord (10)"
                ],
                [
                    11,
                    "Zaanstreek-Waterland (11)"
                ],
                [
                    12,
                    "Kennemerland (12)"
                ],
                [
                    13,
                    "Amsterdam-Amstelland (13)"
                ],
                [
                    15,
                    "Haaglanden (15)"
                ],
                [
                    16,
                    "Hollands Midden (16)"
                ],
                [
                    17,
                    "Rotterdam-Rijnmond (17)"
                ],
                [
                    18,
                    "Zuid-Holland-Zuid (18)"
                ],
                [
                    19,
                    "Zeeland (19)"
                ],
                [
                    20,
                    "Midden- en West-Brabant (20)"
                ],
                [
                    22,
                    "Brabant-Zuidoost (22)"
                ],
                [
                    23,
                    "Limburg-Noord (23)"
                ],
                [
                    24,
                    "Zuid-Limburg (24)"
                ]
            ]
        },
        "invalid": [
            255,
            255,
            255,
            0
        ]
    }
}