Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://demo.lizard.net/api/v4/colormaps/AdmNLWaterschappen/?format=api",
    "name": "AdmNLWaterschappen",
    "description": "DiscreteColorMap",
    "definition": {
        "data": [
            [
                2,
                [
                    162,
                    98,
                    175,
                    255
                ]
            ],
            [
                3,
                [
                    174,
                    110,
                    187,
                    255
                ]
            ],
            [
                4,
                [
                    186,
                    122,
                    199,
                    255
                ]
            ],
            [
                6,
                [
                    198,
                    134,
                    211,
                    255
                ]
            ],
            [
                7,
                [
                    210,
                    146,
                    223,
                    255
                ]
            ],
            [
                8,
                [
                    222,
                    158,
                    235,
                    255
                ]
            ],
            [
                9,
                [
                    234,
                    170,
                    247,
                    255
                ]
            ],
            [
                10,
                [
                    246,
                    182,
                    3,
                    255
                ]
            ],
            [
                11,
                [
                    2,
                    194,
                    15,
                    255
                ]
            ],
            [
                12,
                [
                    14,
                    206,
                    27,
                    255
                ]
            ],
            [
                13,
                [
                    26,
                    218,
                    39,
                    255
                ]
            ],
            [
                14,
                [
                    38,
                    230,
                    51,
                    255
                ]
            ],
            [
                15,
                [
                    50,
                    242,
                    63,
                    255
                ]
            ],
            [
                16,
                [
                    62,
                    254,
                    75,
                    255
                ]
            ],
            [
                17,
                [
                    74,
                    10,
                    87,
                    255
                ]
            ],
            [
                18,
                [
                    86,
                    22,
                    99,
                    255
                ]
            ],
            [
                19,
                [
                    98,
                    34,
                    111,
                    255
                ]
            ],
            [
                20,
                [
                    110,
                    46,
                    123,
                    255
                ]
            ],
            [
                21,
                [
                    122,
                    58,
                    135,
                    255
                ]
            ],
            [
                5,
                [
                    134,
                    70,
                    147,
                    255
                ]
            ],
            [
                1,
                [
                    146,
                    82,
                    159,
                    255
                ]
            ]
        ],
        "type": "DiscreteColormap",
        "labels": {
            "en_GB": [
                [
                    2,
                    "Aa en Maas (2)"
                ],
                [
                    3,
                    "Brabantse Delta (3)"
                ],
                [
                    4,
                    "Waterschap De Dommel (4)"
                ],
                [
                    6,
                    "Waterschap Scheldestromen (6)"
                ],
                [
                    7,
                    "Waterschap Rivierenland (7)"
                ],
                [
                    8,
                    "De Stichtse Rijnlanden (8)"
                ],
                [
                    9,
                    "HHS van Delfland (9)"
                ],
                [
                    10,
                    "Schieland en de Krimpenerwaard (10)"
                ],
                [
                    11,
                    "Vallei & Veluwe (11)"
                ],
                [
                    12,
                    "HH van Rijnland (12)"
                ],
                [
                    13,
                    "HH Amstel, Gooi en Vecht (13)"
                ],
                [
                    14,
                    "Waterschap Zuiderzeeland (14)"
                ],
                [
                    15,
                    "HH Hollands Noorderkwartier (15)"
                ],
                [
                    16,
                    "Waterschap Hunze en Aa's (16)"
                ],
                [
                    17,
                    "Waterschap Noorderzijlvest (17)"
                ],
                [
                    18,
                    "Waterschap Drents Overijsselse Delta (18)"
                ],
                [
                    19,
                    "Waterschap Rijn en IJssel (19)"
                ],
                [
                    20,
                    "Vechtstromen (20)"
                ],
                [
                    21,
                    "Wetterskip Fryslân (21)"
                ],
                [
                    5,
                    "Waterschap Hollandse Delta (5)"
                ],
                [
                    1,
                    "Waterschap Limburg (1)"
                ]
            ]
        },
        "invalid": [
            255,
            255,
            255,
            0
        ]
    }
}