Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://zuiderzeeland.lizard.net/api/v4/colormaps/vito_textuur/?format=api",
    "name": "vito_textuur",
    "description": "Vito textuur",
    "definition": {
        "data": [
            [
                1,
                [
                    80,
                    186,
                    186,
                    255
                ]
            ],
            [
                2,
                [
                    243,
                    35,
                    164,
                    255
                ]
            ],
            [
                3,
                [
                    142,
                    235,
                    178,
                    255
                ]
            ],
            [
                4,
                [
                    115,
                    172,
                    96,
                    255
                ]
            ],
            [
                5,
                [
                    73,
                    175,
                    90,
                    255
                ]
            ],
            [
                6,
                [
                    188,
                    136,
                    104,
                    255
                ]
            ],
            [
                7,
                [
                    234,
                    234,
                    104,
                    255
                ]
            ],
            [
                8,
                [
                    167,
                    41,
                    36,
                    255
                ]
            ],
            [
                9,
                [
                    183,
                    21,
                    124,
                    255
                ]
            ],
            [
                10,
                [
                    223,
                    13,
                    174,
                    255
                ]
            ],
            [
                11,
                [
                    115,
                    172,
                    96,
                    255
                ]
            ],
            [
                12,
                [
                    115,
                    172,
                    96,
                    255
                ]
            ],
            [
                13,
                [
                    155,
                    17,
                    104,
                    255
                ]
            ],
            [
                14,
                [
                    67,
                    148,
                    198,
                    255
                ]
            ],
            [
                15,
                [
                    115,
                    172,
                    96,
                    255
                ]
            ],
            [
                16,
                [
                    115,
                    172,
                    96,
                    255
                ]
            ],
            [
                17,
                [
                    115,
                    172,
                    96,
                    255
                ]
            ],
            [
                18,
                [
                    115,
                    172,
                    96,
                    255
                ]
            ],
            [
                19,
                [
                    115,
                    172,
                    96,
                    255
                ]
            ],
            [
                20,
                [
                    115,
                    172,
                    96,
                    255
                ]
            ],
            [
                21,
                [
                    115,
                    172,
                    96,
                    255
                ]
            ],
            [
                22,
                [
                    115,
                    172,
                    96,
                    255
                ]
            ],
            [
                23,
                [
                    115,
                    172,
                    96,
                    255
                ]
            ],
            [
                24,
                [
                    115,
                    172,
                    96,
                    255
                ]
            ],
            [
                25,
                [
                    115,
                    172,
                    96,
                    255
                ]
            ],
            [
                26,
                [
                    115,
                    172,
                    96,
                    255
                ]
            ],
            [
                27,
                [
                    115,
                    172,
                    96,
                    255
                ]
            ],
            [
                28,
                [
                    115,
                    172,
                    96,
                    255
                ]
            ],
            [
                29,
                [
                    115,
                    172,
                    96,
                    255
                ]
            ],
            [
                30,
                [
                    115,
                    172,
                    96,
                    255
                ]
            ],
            [
                31,
                [
                    115,
                    172,
                    96,
                    255
                ]
            ],
            [
                32,
                [
                    115,
                    172,
                    96,
                    255
                ]
            ],
            [
                33,
                [
                    115,
                    172,
                    96,
                    255
                ]
            ],
            [
                34,
                [
                    115,
                    172,
                    96,
                    255
                ]
            ]
        ],
        "type": "DiscreteColormap",
        "labels": {
            "nl_NL": [
                [
                    1,
                    "S"
                ],
                [
                    2,
                    "E"
                ],
                [
                    3,
                    "U"
                ],
                [
                    4,
                    "other"
                ],
                [
                    5,
                    "Z"
                ],
                [
                    6,
                    "no data"
                ],
                [
                    7,
                    "L"
                ],
                [
                    8,
                    "P"
                ],
                [
                    9,
                    "V"
                ],
                [
                    10,
                    "X"
                ],
                [
                    11,
                    "other"
                ],
                [
                    12,
                    "other"
                ],
                [
                    13,
                    "A"
                ],
                [
                    14,
                    "G"
                ],
                [
                    15,
                    "other"
                ],
                [
                    16,
                    "other"
                ],
                [
                    17,
                    "other"
                ],
                [
                    18,
                    "other"
                ],
                [
                    19,
                    "other"
                ],
                [
                    20,
                    "other"
                ],
                [
                    21,
                    "other"
                ],
                [
                    22,
                    "other"
                ],
                [
                    23,
                    "other"
                ],
                [
                    24,
                    "other"
                ],
                [
                    25,
                    "other"
                ],
                [
                    26,
                    "other"
                ],
                [
                    27,
                    "other"
                ],
                [
                    28,
                    "other"
                ],
                [
                    29,
                    "other"
                ],
                [
                    30,
                    "other"
                ],
                [
                    31,
                    "other"
                ],
                [
                    32,
                    "other"
                ],
                [
                    33,
                    "other"
                ],
                [
                    34,
                    "other"
                ]
            ]
        },
        "invalid": [
            0,
            255,
            255,
            255
        ]
    }
}