{
    "version": 8,
    "name": "NDW Modular Basic background map V2.2",
    "owner": "NDW Location Services",
    "metadata": {
        "title": "Modulaire achtergrondkaart NDW",
        "desc": "Een stijl bestand, met daarin verschillende gegroepeerde stijl lagen, die geconfigureerd kunnen worden door de ontwikkelaar naar wens en behoefte van de applicatie. Waarin opvallende (relevant) en onopvallende (context) informatie lagen visueel getoond kunnen worden in combinatie met eigen informatie lagen om zo het beste beeld te creëren.",
        "design": "This Way Cartography; Niene Boeijen"
    },
    "center": [
        5.121,
        52.08
    ],
    "zoom": 8,
    "sprite": [
        {
            "id": "NDW",
            "url": "https://maps.staging.ndw.nu/styles/sprites/osm-default/osm-default"
        },
        {
            "id": "sdf",
            "url": "https://maps.staging.ndw.nu/styles/ndw-basemap/dev/sdf"
        },
        {
            "id": "custom",
            "url": "https://maps.staging.ndw.nu/styles/ndw-basemap/dev/custom_ndw"
        }
    ],
    "glyphs": "https://maps.staging.ndw.nu/styles/glyphs/{fontstack}/{range}.pbf",
    "sources": {
        "pdok_luchtfoto": {
            "type": "raster",
            "tiles": [
                "https://service.pdok.nl/hwh/luchtfotorgb/wmts/v1_0/Actueel_orthoHR/EPSG:3857/{z}/{x}/{y}.jpeg"
            ],
            "tileSize": 256
        },
        "pdok_brt": {
            "type": "vector",
            "tiles": [
                "https://api.pdok.nl/kadaster/brt-achtergrondkaart/ogc/v1/tiles/WebMercatorQuad/{z}/{y}/{x}?f=mvt"
            ],
            "minzoom": 0,
            "maxzoom": 16
        },
        "pdok_bgt": {
            "type": "vector",
            "tiles": [
                "https://api.pdok.nl/lv/bgt/ogc/v1/tiles/WebMercatorQuad/{z}/{y}/{x}?f=mvt"
            ],
            "minzoom": 17,
            "maxzoom": 17,
            "attribution": "<a href='https://api.pdok.nl/'>PDOK</a>"
        },
        "pdok_bag": {
            "type": "vector",
            "tiles": [
                "https://api.pdok.nl/lv/bag/ogc/v1/tiles/WebMercatorQuad/{z}/{y}/{x}?f=mvt"
            ],
            "minzoom": 17,
            "maxzoom": 17
        },
        "pdok_bestuurlijkegebieden": {
            "type": "vector",
            "tiles": [
                "https://api.pdok.nl/kadaster/bestuurlijkegebieden/ogc/v1/tiles/WebMercatorQuad/{z}/{y}/{x}?f=mvt"
            ],
            "minzoom": 6,
            "maxzoom": 16
        },
        "ndw_nwbRoadSections": {
            "type": "vector",
            "url": "https://maps.staging.ndw.nu/api/v1/nwb/latest/mbtiles/roadSections/",
            "minzoom": 4,
            "maxzoom": 19,
            "attribution": "<a href='https://maps.staging.ndw.nu/'>NDW</a>"
        },
        "ndw_nwbHectometreSigns": {
            "type": "vector",
            "url": "https://maps.staging.ndw.nu/api/v1/nwb/latest/mbtiles/hectometreSigns/"
        },
        "ndw_fcdSegments": {
            "type": "vector",
            "tiles": [
                "https://maps.staging.ndw.nu/api/v1/fcd/latest/mbtiles/segments/tiles/{z}/{x}/{y}.pbf?token=f8b6b695-2cad-44e8-b7e8-a97f9fc1c236"
            ],
            "minzoom": 4,
            "maxzoom": 20
        },
        "ndw_wkdParkingAreas": {
            "type": "vector",
            "url": "https://maps.staging.ndw.nu/api/v1/wkdParkingAreas/latest/mbtiles/segments/"
        }
    },
    "layers": [
        {
            "id": "Achtergrond",
            "type": "background",
            "metadata": {
                "group": "context-map",
                "type": "context",
                "legend-name": "Achtergrond kleur",
                "desc": "",
                "insert-before": "background"
            },
            "paint": {
                "background-color": "#DDE5EF"
            }
        },
        {
            "id": "PDOK-Luchtfoto",
            "type": "raster",
            "source": "pdok_luchtfoto",
            "metadata": {
                "group": "context-luchtfoto",
                "type": "context",
                "legend-name": "PDOK luchtfoto Actueel 8cm rgb",
                "desc": "",
                "insert-before": "background"
            },
            "layout": {
                "visibility": "none"
            },
            "paint": {}
        },
        {
            "id": "BRT-Land-en-zee",
            "type": "fill",
            "source": "pdok_brt",
            "source-layer": "nederland",
            "metadata": {
                "group": "context-map",
                "sub-group": "Background-blue",
                "type": "context",
                "legend-name": "BRT: Land & water kleuren",
                "source": "BRT",
                "desc": "",
                "insert-before": "background"
            },
            "layout": {
                "visibility": "visible"
            },
            "paint": {
                "fill-color": [
                    "match",
                    [
                        "get",
                        "vistext"
                    ],
                    "land/grens (NL)",
                    "#f5f5f5",
                    "(zee)water",
                    "#DDE5EF",
                    "onderlegger Nederland",
                    "#f5f5f5",
                    "transparent"
                ]
            }
        },
        {
            "id": "BRT-Terreinvlak-bebouwd-gebied",
            "type": "fill",
            "metadata": {
                "group": "context-map",
                "sub-group": "Background-grey",
                "type": "context",
                "legend-name": "Bebouwd gebied",
                "desc": "van zoom 6 tot met 12",
                "insert-before": "background"
            },
            "source": "pdok_brt",
            "source-layer": "terreinvlak",
            "filter": [
                "any",
                [
                    "==",
                    "vistext",
                    "bebouwd gebied"
                ],
                [
                    "==",
                    "vistext",
                    "kassengebied"
                ]
            ],
            "paint": {
                "fill-color": [
                    "match",
                    [
                        "get",
                        "vistext"
                    ],
                    "bebouwd gebied",
                    "#eaeaea",
                    "kassengebied",
                    "#e5e6ec",
                    "transparent"
                ],
                "fill-outline-color": "#dedede",
                "fill-opacity": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    8,
                    0.1,
                    10,
                    1,
                    13,
                    0.8
                ]
            }
        },
        {
            "id": "BRT-Waterdeelvlak",
            "type": "fill",
            "metadata": {
                "group": "context-map",
                "sub-group": "Background-blue",
                "type": "context",
                "legend-name": "BRT-Waterdeelvlakken",
                "desc": "zee, waterloop, ",
                "insert-before": "background"
            },
            "source": "pdok_brt",
            "source-layer": "waterdeelvlak",
            "maxzoom": 17,
            "layout": {
                "visibility": "visible"
            },
            "paint": {
                "fill-color": [
                    "match",
                    [
                        "get",
                        "vistext"
                    ],
                    "zee",
                    "#DDE5EF",
                    "meer, plas",
                    "#DDE5EF",
                    "droogvallend",
                    "#DDE5EF",
                    "waterloop",
                    "#DDE5EF",
                    "overig",
                    "#DDE5EF",
                    "water onder brug",
                    "#f5f5f5",
                    "transparent"
                ]
            }
        },
        {
            "id": "BGT-waterdeel",
            "type": "fill",
            "source": "pdok_bgt",
            "source-layer": "waterdeel",
            "metadata": {
                "group": "context-map",
                "sub-group": "Background-blue",
                "type": "context",
                "legend-name": "BGT Waterdeel vlakken",
                "desc": "zee, waterloop, ",
                "insert-before": "background"
            },
            "filter": [
                "all",
                [
                    "==",
                    "relatieve_hoogteligging",
                    0
                ],
                [
                    "==",
                    "status",
                    "bestaand"
                ]
            ],
            "paint": {
                "fill-color": "#DDE5EF"
            }
        },
        {
            "id": "BRT-Terreinvlak-groen",
            "type": "fill",
            "source": "pdok_brt",
            "source-layer": "terreinvlak",
            "metadata": {
                "group": "context-map",
                "sub-group": "Background-green",
                "type": "context",
                "legend-name": "BRT terreinvlakken groen",
                "desc": "Bos, bos moeras, riet, ",
                "insert-before": "background"
            },
            "minzoom": 6,
            "maxzoom": 17,
            "filter": [
                "any",
                [
                    "==",
                    "vistext",
                    "bos"
                ],
                [
                    "==",
                    "vistext",
                    "Bos met dras, moeras, riet"
                ],
                [
                    "==",
                    "vistext",
                    "bos: dras, moeras, riet"
                ]
            ],
            "paint": {
                "fill-color": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    6,
                    "#e3e3dd",
                    10,
                    "#e3e3dd"
                ],
                "fill-outline-color": "#D3D9D0"
            }
        },
        {
            "id": "BRT-Terreinvlak-geel",
            "type": "fill",
            "source": "pdok_brt",
            "source-layer": "terreinvlak",
            "metadata": {
                "group": "context-map",
                "sub-group": "Background-yellow",
                "type": "context",
                "legend-name": "BRT terreinvlakken niet groen",
                "desc": "heide, zand, steen",
                "insert-before": "background"
            },
            "minzoom": 9,
            "maxzoom": 17,
            "filter": [
                "all",
                [
                    "!=",
                    "vistext",
                    "bos"
                ],
                [
                    "!=",
                    "vistext",
                    "Bos met dras, moeras, riet"
                ],
                [
                    "!=",
                    "vistext",
                    "bebouwd gebied"
                ],
                [
                    "!=",
                    "vistext",
                    "kassengebied"
                ],
                [
                    "!=",
                    "vistext",
                    "bos: dras, moeras, riet"
                ],
                [
                    "!=",
                    "vistext",
                    "aanlegsteiger"
                ]
            ],
            "paint": {
                "fill-color": [
                    "match",
                    [
                        "get",
                        "vistext"
                    ],
                    "steenglooing",
                    "#c0babc",
                    "zand",
                    "#f5f4f0",
                    "Zand met dras, moeras, riet",
                    "#f5f4f0",
                    "zand: dras, moeras, riet",
                    "#f5f4f0",
                    "heide",
                    "#eae3ee",
                    "Heide met dras, moeras, riet",
                    "#eae3ee",
                    "heide: dras, moeras, riet",
                    "#eae3ee",
                    "aanlegsteiger",
                    "#ffffff",
                    "overig",
                    "#a3a7aa",
                    "grasland: dras, moeras, riet",
                    "#f5f4f0",
                    "resterend: dras, moeras, riet",
                    "#f5f4f0",
                    "transparent"
                ]
            }
        },
        {
            "id": "BGT-overbruggingsdeel",
            "type": "fill",
            "source": "pdok_bgt",
            "source-layer": "overbruggingsdeel",
            "metadata": {
                "group": "context-map",
                "sub-group": "Background-grey",
                "type": "context",
                "legend-name": "BGT overbruggingsdeel",
                "desc": "hoogte 0, status bestaand",
                "insert-before": "background"
            },
            "filter": [
                "all",
                [
                    "<=",
                    "relatieve_hoogteligging",
                    1
                ],
                [
                    "==",
                    "status",
                    "bestaand"
                ],
                [
                    "!=",
                    "type_overbruggingsdeel_leeg",
                    "waardeOnbekend"
                ]
            ],
            "layout": {
                "fill-sort-key": [
                    "to-number",
                    [
                        "get",
                        "relatieve_hoogteligging"
                    ]
                ]
            },
            "paint": {
                "fill-color": [
                    "match",
                    [
                        "get",
                        "type_overbruggingsdeel"
                    ],
                    "dek",
                    "#f5f5f5",
                    "pijler",
                    "#eaeaea",
                    "landhoofd",
                    "#f5f5f5",
                    "transparent"
                ],
                "fill-outline-color": "#f5f5f5"
            }
        },
        {
            "id": "BGT-onbegroeidterreindeel",
            "type": "fill",
            "source": "pdok_bgt",
            "source-layer": "onbegroeidterreindeel",
            "metadata": {
                "group": "context-map",
                "sub-group": "Background-grey",
                "type": "context",
                "legend-name": "BGT onbegroeidterreindeel",
                "desc": "hoogte 0, status bestaand",
                "insert-before": "background"
            },
            "filter": [
                "all",
                [
                    "==",
                    "relatieve_hoogteligging",
                    0
                ],
                [
                    "==",
                    "status",
                    "bestaand"
                ]
            ],
            "paint": {
                "fill-color": [
                    "match",
                    [
                        "get",
                        "fysiek_voorkomen"
                    ],
                    "erf",
                    "#fcfcfc",
                    "zand",
                    "#fcfcfc",
                    "onverhard",
                    "#e3e3dd",
                    "open verharding",
                    "#e3e3dd",
                    "half verhard",
                    "#e3e3dd",
                    "gesloten verharding",
                    "#fefefe",
                    "#fefefe"
                ]
            }
        },
        {
            "id": "BGT-begroeidterreindeel",
            "type": "fill",
            "source": "pdok_bgt",
            "source-layer": "begroeidterreindeel",
            "metadata": {
                "group": "context-map",
                "sub-group": "Background-green",
                "type": "context",
                "legend-name": "BGT begroeidterreindeel",
                "desc": "hoogte 0, status bestaand",
                "insert-before": "background"
            },
            "filter": [
                "all",
                [
                    "==",
                    "relatieve_hoogteligging",
                    0
                ],
                [
                    "==",
                    "status",
                    "bestaand"
                ]
            ],
            "paint": {
                "fill-color": [
                    "match",
                    [
                        "get",
                        "fysiek_voorkomen"
                    ],
                    "loofbos",
                    "#e3e3dd",
                    "gemengd bos",
                    "#e3e3dd",
                    "naaldbos",
                    "#e3e3dd",
                    "struiken",
                    "#e3e3dd",
                    "houtwal",
                    "#e3e3dd",
                    "duin",
                    "#e0d6c5",
                    "grasland overig",
                    "#f2f2ed",
                    "moeras",
                    "#eae3d6",
                    "rietland",
                    "#eae3d6",
                    "kwelder",
                    "#cad1d5",
                    "fruitteelt",
                    "#e3e3dd",
                    "boomteelt",
                    "#e3e3dd",
                    "bouwland",
                    "#f2f2ed",
                    "grasland agrarisch",
                    "#f2f2ed",
                    "groenvoorziening",
                    "#e3e3dd",
                    "overig",
                    "transparent",
                    "heide",
                    "#eae3ee",
                    "transparent"
                ],
                "fill-outline-color": [
                    "match",
                    [
                        "get",
                        "fysiek_voorkomen"
                    ],
                    "loofbos",
                    "#e3e3dd",
                    "gemengd bos",
                    "#e3e3dd",
                    "naaldbos",
                    "#e3e3dd",
                    "struiken",
                    "#e3e3dd",
                    "houtwal",
                    "#c8c8bd",
                    "duin",
                    "#e0d6c5",
                    "grasland overig",
                    "#f2f2ed",
                    "moeras",
                    "#eae3d6",
                    "rietland",
                    "#eae3d6",
                    "kwelder",
                    "#cad1d5",
                    "fruitteelt",
                    "#e3e3dd",
                    "boomteelt",
                    "#e3e3dd",
                    "bouwland",
                    "#f2f2ed",
                    "grasland agrarisch",
                    "#f2f2ed",
                    "groenvoorziening",
                    "#f2f2ed",
                    "heide",
                    "#eae3ee",
                    "overig",
                    "transparent",
                    "transparent"
                ]
            }
        },
        {
            "id": "BGT-ondersteundendwegdeel",
            "type": "fill",
            "source": "pdok_bgt",
            "source-layer": "ondersteunendwegdeel",
            "metadata": {
                "group": "context-map",
                "sub-group": "Background-grey",
                "type": "context",
                "legend-name": "BGT ondersteunendwegdeel",
                "desc": "hoogte 0, status bestaand",
                "insert-before": "background"
            },
            "filter": [
                "all",
                [
                    "==",
                    "relatieve_hoogteligging",
                    0
                ],
                [
                    "==",
                    "status",
                    "bestaand"
                ]
            ],
            "paint": {
                "fill-color": [
                    "match",
                    [
                        "get",
                        "functie"
                    ],
                    "verkeerseiland",
                    "#fefefe",
                    "berm",
                    [
                        "match",
                        [
                            "get",
                            "fysiek_voorkomen"
                        ],
                        "groenvoorziening",
                        "#f2f2ed",
                        "onverhard",
                        "#e3e3dd",
                        "open verharding",
                        "#e3e3dd",
                        "half verhard",
                        "#e3e3dd",
                        "gesloten verharding",
                        "#fefefe",
                        "transparent"
                    ],
                    "transparent"
                ],
                "fill-outline-color": [
                    "match",
                    [
                        "get",
                        "functie"
                    ],
                    "verkeerseiland",
                    "#e3e3dd",
                    "berm",
                    [
                        "match",
                        [
                            "get",
                            "fysiek_voorkomen"
                        ],
                        "groenvoorziening",
                        "#f2f2ed",
                        "onverhard",
                        "#e3e3dd",
                        "open verharding",
                        "#e3e3dd",
                        "half verhard",
                        "#e3e3dd",
                        "gesloten verharding",
                        "#fefefe",
                        "transparent"
                    ],
                    "transparent"
                ]
            }
        },
        {
            "id": "BRT-gebouwvlak",
            "type": "fill",
            "metadata": {
                "group": "context-map",
                "sub-group": "Background-grey",
                "type": "context",
                "legend-name": "BRT Gebouwvlak tot met 16",
                "desc": "van zoom 13 tot met 16",
                "insert-before": "background"
            },
            "source": "pdok_brt",
            "source-layer": "gebouwvlak",
            "maxzoom": 17,
            "paint": {
                "fill-outline-color": "#dedede",
                "fill-color": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    13,
                    "#eaeaea",
                    17,
                    "#eaeaea"
                ],
                "fill-opacity": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    13,
                    0.9,
                    14,
                    1
                ]
            }
        },
        {
            "id": "BAG-standplaats",
            "type": "fill",
            "source": "pdok_bag",
            "source-layer": "standplaats",
            "metadata": {
                "group": "context-map",
                "sub-group": "Background-grey",
                "type": "context",
                "legend-name": "BAG standplaats",
                "desc": "",
                "insert-before": "background"
            },
            "filter": [
                "all",
                [
                    "==",
                    "status",
                    "Plaats aangewezen"
                ]
            ],
            "paint": {
                "fill-color": "#eaeaea",
                "fill-outline-color": "#dedede"
            }
        },
        {
            "id": "BAG-ligplaats",
            "type": "fill",
            "source": "pdok_bag",
            "source-layer": "ligplaats",
            "metadata": {
                "group": "context-map",
                "sub-group": "Background-grey",
                "type": "context",
                "legend-name": "BAG ligplaats",
                "desc": "",
                "insert-before": "background"
            },
            "paint": {
                "fill-color": "#eaeaea",
                "fill-outline-color": "#dedede"
            }
        },
        {
            "id": "BAG-gebouwen",
            "type": "fill",
            "source": "pdok_bag",
            "source-layer": "pand",
            "metadata": {
                "group": "context-map",
                "sub-group": "Background-grey",
                "type": "context",
                "legend-name": "BAG gebouw",
                "desc": "",
                "insert-before": "background"
            },
            "filter": [
                "all",
                [
                    "!=",
                    [
                        "get",
                        "status"
                    ],
                    "Pand gesloopt"
                ],
                [
                    "!=",
                    [
                        "get",
                        "status"
                    ],
                    "Pand buiten gebruik"
                ]
            ],
            "paint": {
                "fill-color": "#eaeaea",
                "fill-outline-color": "#dedede"
            }
        },
        {
            "id": "NWB-road-sections-bus",
            "type": "line",
            "source": "ndw_nwbRoadSections",
            "source-layer": "roadSections",
            "metadata": {
                "group": "context-roads",
                "sub-group": "NWB-road-sections",
                "type": "context",
                "legend-name": "Bus baan",
                "desc": "Busbanen niet toegankelijk voor auto's",
                "insert-before": "background"
            },
            "filter": [
                "all",
                [
                    "==",
                    [
                        "get",
                        "carriagewayTypeCode"
                    ],
                    "BUS"
                ],
                [
                    "!=",
                    [
                        "get",
                        "functionalRoadClass"
                    ],
                    "7"
                ]
            ],
            "layout": {
                "visibility": "visible",
                "line-cap": "butt",
                "line-join": "round",
                "line-sort-key": [
                    "-",
                    8,
                    [
                        "to-number",
                        [
                            "get",
                            "functionalRoadClass"
                        ]
                    ]
                ]
            },
            "paint": {
                "line-dasharray": [
                    1,
                    0.3
                ],
                "line-color": [
                    "match",
                    [
                        "get",
                        "functionalRoadClass"
                    ],
                    "0",
                    "hsl(43, 93%, 88%)",
                    "1",
                    "hsl(43, 93%, 88%)",
                    "2",
                    "hsl(43, 93%, 88%)",
                    "3",
                    "hsl(44, 42%, 94%)",
                    "4",
                    [
                        "case",
                        [
                            "==",
                            [
                                "get",
                                "formOfWay"
                            ],
                            "2"
                        ],
                        "hsl(44, 42%, 94%)",
                        "#ffffff"
                    ],
                    "5",
                    "#ffffff",
                    "6",
                    "#ffffff",
                    "hsl(0, 0%, 100%)"
                ],
                "line-width": [
                    "interpolate",
                    [
                        "exponential",
                        1.1
                    ],
                    [
                        "zoom"
                    ],
                    10,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        2.5,
                        "1",
                        2.5,
                        "2",
                        2.5,
                        "3",
                        1.5,
                        "4",
                        1.5,
                        "5",
                        1,
                        0
                    ],
                    13,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        7,
                        "1",
                        7,
                        "2",
                        5.7,
                        "3",
                        4.1,
                        "4",
                        4.1,
                        "5",
                        2.7,
                        "6",
                        1.5,
                        0
                    ],
                    15,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        10.4,
                        "1",
                        10.4,
                        "2",
                        8.4,
                        "3",
                        6.4,
                        "4",
                        6.4,
                        "5",
                        5.4,
                        "6",
                        4.4,
                        "7",
                        1.5,
                        2
                    ],
                    20,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        24,
                        "1",
                        24,
                        "2",
                        22,
                        "3",
                        20,
                        "4",
                        18,
                        "5",
                        17,
                        "6",
                        15,
                        "7",
                        0,
                        4
                    ]
                ],
                "line-opacity": [
                    "match",
                    [
                        "get",
                        "functionalRoadClass"
                    ],
                    "0",
                    1,
                    "1",
                    1,
                    "2",
                    1,
                    "3",
                    1,
                    "4",
                    1,
                    "5",
                    1,
                    "6",
                    1,
                    "7",
                    0,
                    0
                ]
            }
        },
        {
            "id": "NWB-road-sections-single",
            "type": "line",
            "source": "ndw_nwbRoadSections",
            "source-layer": "roadSections",
            "metadata": {
                "group": "context-roads",
                "sub-group": "NWB-road-sections",
                "type": "context",
                "legend-name": "Enkele lijnen, fietspad, voetbad, veerroutes",
                "desc": "Functional road class 7, niet toegankelijk voor auto's",
                "insert-before": "background"
            },
            "filter": [
                "==",
                [
                    "get",
                    "functionalRoadClass"
                ],
                "7"
            ],
            "layout": {
                "visibility": "visible",
                "line-cap": "round",
                "line-join": "round"
            },
            "paint": {
                "line-color": [
                    "case",
                    [
                        "==",
                        [
                            "get",
                            "carriagewayTypeCode"
                        ],
                        "FP"
                    ],
                    "hsl(19, 50%, 90%)",
                    [
                        "==",
                        [
                            "slice",
                            [
                                "get",
                                "carriagewayTypeCode"
                            ],
                            0,
                            2
                        ],
                        "VD"
                    ],
                    "hsl(192, 5%, 82%)",
                    [
                        "==",
                        [
                            "slice",
                            [
                                "get",
                                "carriagewayTypeCode"
                            ],
                            0,
                            2
                        ],
                        "VP"
                    ],
                    "#f3e4d3",
                    "#ffffff"
                ],
                "line-width": [
                    "interpolate",
                    [
                        "exponential",
                        1.1
                    ],
                    [
                        "zoom"
                    ],
                    10,
                    0,
                    13,
                    1.5,
                    15,
                    3.5,
                    20,
                    10
                ],
                "line-opacity": 1
            }
        },
        {
            "id": "NWB-road-sections-casing",
            "type": "line",
            "source": "ndw_nwbRoadSections",
            "source-layer": "roadSections",
            "metadata": {
                "group": "context-roads",
                "sub-group": "NWB-road-sections",
                "type": "context",
                "legend-name": "Wegvakken omlijning",
                "desc": "Wegen toegankelijk voor auto's",
                "insert-before": "background"
            },
            "filter": [
                "all",
                [
                    "!=",
                    [
                        "get",
                        "carriagewayTypeCode"
                    ],
                    "BUS"
                ],
                [
                    "!=",
                    [
                        "get",
                        "functionalRoadClass"
                    ],
                    "7"
                ]
            ],
            "layout": {
                "visibility": "visible",
                "line-cap": "round",
                "line-join": "round",
                "line-sort-key": [
                    "-",
                    8,
                    [
                        "to-number",
                        [
                            "get",
                            "functionalRoadClass"
                        ]
                    ]
                ]
            },
            "paint": {
                "line-color": [
                    "match",
                    [
                        "get",
                        "functionalRoadClass"
                    ],
                    "0",
                    "#DAAD3A",
                    "1",
                    "#DAAD3A",
                    "2",
                    "#DAAD3A",
                    "3",
                    "#E2C16C",
                    "4",
                    [
                        "case",
                        [
                            "==",
                            [
                                "get",
                                "formOfWay"
                            ],
                            "2"
                        ],
                        "#E5CA85",
                        "hsl(192, 5%, 82%)"
                    ],
                    "5",
                    "hsl(192, 5%, 82%)",
                    "6",
                    "hsl(192, 5%, 82%)",
                    "hsl(0, 0%, 100%)"
                ],
                "line-width": [
                    "interpolate",
                    [
                        "exponential",
                        1.1
                    ],
                    [
                        "zoom"
                    ],
                    10,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        3.5,
                        "1",
                        3.5,
                        "2",
                        3.5,
                        "3",
                        2.5,
                        "4",
                        2.5,
                        "5",
                        0,
                        "6",
                        0,
                        0
                    ],
                    13,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        7.5,
                        "1",
                        6,
                        "2",
                        6,
                        "3",
                        6,
                        "4",
                        6,
                        "5",
                        4.5,
                        "6",
                        3.5,
                        0
                    ],
                    15,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        12.5,
                        "1",
                        12,
                        "2",
                        11,
                        "3",
                        9,
                        "4",
                        9,
                        "5",
                        8,
                        "6",
                        5,
                        0
                    ],
                    20,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        27,
                        "1",
                        27,
                        "2",
                        25,
                        "3",
                        23,
                        "4",
                        23,
                        "5",
                        22,
                        "6",
                        20,
                        0
                    ]
                ],
                "line-opacity": 1
            }
        },
        {
            "id": "NWB-road-sections-fill",
            "type": "line",
            "source": "ndw_nwbRoadSections",
            "source-layer": "roadSections",
            "metadata": {
                "group": "context-roads",
                "sub-group": "NWB-road-sections",
                "type": "context",
                "legend-name": "Wegvakken vulling",
                "desc": "Wegen toegankelijk voor auto's",
                "insert-before": "background"
            },
            "filter": [
                "all",
                [
                    "!=",
                    [
                        "get",
                        "carriagewayTypeCode"
                    ],
                    "BUS"
                ],
                [
                    "!=",
                    [
                        "get",
                        "functionalRoadClass"
                    ],
                    "7"
                ]
            ],
            "layout": {
                "visibility": "visible",
                "line-cap": "round",
                "line-join": "round",
                "line-sort-key": [
                    "-",
                    8,
                    [
                        "to-number",
                        [
                            "get",
                            "functionalRoadClass"
                        ]
                    ]
                ]
            },
            "paint": {
                "line-color": [
                    "case",
                    [
                        "==",
                        [
                            "slice",
                            [
                                "get",
                                "carriagewayTypeCode"
                            ],
                            0,
                            2
                        ],
                        "VZ"
                    ],
                    "#F6EADC",
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        "hsl(43, 93%, 88%)",
                        "1",
                        "hsl(43, 93%, 88%)",
                        "2",
                        "hsl(43, 93%, 88%)",
                        "3",
                        "hsl(44, 42%, 94%)",
                        "4",
                        [
                            "case",
                            [
                                "==",
                                [
                                    "get",
                                    "formOfWay"
                                ],
                                "2"
                            ],
                            "hsl(44, 42%, 94%)",
                            "#ffffff"
                        ],
                        "5",
                        "#ffffff",
                        "6",
                        "#ffffff",
                        "hsl(0, 0%, 100%)"
                    ]
                ],
                "line-width": [
                    "interpolate",
                    [
                        "exponential",
                        1.1
                    ],
                    [
                        "zoom"
                    ],
                    10,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        2.5,
                        "1",
                        2.5,
                        "2",
                        2.5,
                        "3",
                        1.5,
                        "4",
                        1.5,
                        "5",
                        1,
                        0
                    ],
                    13,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        6,
                        "1",
                        4,
                        "2",
                        4,
                        "3",
                        4.1,
                        "4",
                        4.1,
                        "5",
                        2.7,
                        "6",
                        1.5,
                        0
                    ],
                    15,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        10,
                        "1",
                        9.5,
                        "2",
                        8.4,
                        "3",
                        6.4,
                        "4",
                        6.4,
                        "5",
                        5.4,
                        "6",
                        4,
                        0
                    ],
                    20,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        24,
                        "1",
                        24,
                        "2",
                        22,
                        "3",
                        20,
                        "4",
                        18,
                        "5",
                        17,
                        "6",
                        15,
                        0
                    ]
                ],
                "line-opacity": 1
            }
        },
        {
            "id": "NWB-road-sections-casing-rel",
            "type": "line",
            "source": "ndw_nwbRoadSections",
            "source-layer": "roadSections",
            "metadata": {
                "group": "relevant-roads",
                "sub-group": "NWB-road-sections",
                "type": "relevant",
                "legend-name": "Wegvakken omlijning",
                "desc": "Wegen toegankelijk voor auto's",
                "insert-before": "background"
            },
            "filter": [
                "all",
                [
                    "!=",
                    [
                        "get",
                        "carriagewayTypeCode"
                    ],
                    "BUS"
                ],
                [
                    "!=",
                    [
                        "get",
                        "functionalRoadClass"
                    ],
                    "7"
                ]
            ],
            "layout": {
                "visibility": "none",
                "line-cap": "round",
                "line-join": "round",
                "line-sort-key": [
                    "-",
                    8,
                    [
                        "to-number",
                        [
                            "get",
                            "functionalRoadClass"
                        ]
                    ]
                ]
            },
            "paint": {
                "line-color": [
                    "match",
                    [
                        "get",
                        "functionalRoadClass"
                    ],
                    "0",
                    "#dd5208",
                    "1",
                    "#dd5208",
                    "2",
                    "#dd5208",
                    "3",
                    "#DC7019",
                    "4",
                    [
                        "case",
                        [
                            "==",
                            [
                                "get",
                                "formOfWay"
                            ],
                            "2"
                        ],
                        "#DB9E32",
                        "#DB9E32"
                    ],
                    "5",
                    "#E3C474",
                    "6",
                    "hsl(192, 5%, 72%)",
                    "hsl(0, 0%, 100%)"
                ],
                "line-width": [
                    "interpolate",
                    [
                        "exponential",
                        1.1
                    ],
                    [
                        "zoom"
                    ],
                    10,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        3.5,
                        "1",
                        3.5,
                        "2",
                        3.5,
                        "3",
                        2.5,
                        "4",
                        2.5,
                        "5",
                        0,
                        "6",
                        0,
                        0
                    ],
                    13,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        7.5,
                        "1",
                        6,
                        "2",
                        6,
                        "3",
                        6,
                        "4",
                        6,
                        "5",
                        4.5,
                        "6",
                        3.5,
                        0
                    ],
                    15,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        12.5,
                        "1",
                        12,
                        "2",
                        11,
                        "3",
                        9,
                        "4",
                        9,
                        "5",
                        8,
                        "6",
                        5,
                        0
                    ],
                    20,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        27,
                        "1",
                        27,
                        "2",
                        25,
                        "3",
                        23,
                        "4",
                        23,
                        "5",
                        22,
                        "6",
                        20,
                        0
                    ]
                ],
                "line-opacity": 1
            }
        },
        {
            "id": "NWB-road-sections-fill-rel",
            "type": "line",
            "source": "ndw_nwbRoadSections",
            "source-layer": "roadSections",
            "metadata": {
                "group": "relevant-roads",
                "sub-group": "NWB-road-sections",
                "type": "relevant",
                "legend-name": "Wegvakken vulling",
                "desc": "Wegen toegankelijk voor auto's",
                "insert-before": "background"
            },
            "filter": [
                "all",
                [
                    "!=",
                    [
                        "get",
                        "carriagewayTypeCode"
                    ],
                    "BUS"
                ],
                [
                    "!=",
                    [
                        "get",
                        "functionalRoadClass"
                    ],
                    "7"
                ]
            ],
            "layout": {
                "visibility": "none",
                "line-cap": "round",
                "line-join": "round",
                "line-sort-key": [
                    "-",
                    8,
                    [
                        "to-number",
                        [
                            "get",
                            "functionalRoadClass"
                        ]
                    ]
                ]
            },
            "paint": {
                "line-color": [
                    "case",
                    [
                        "==",
                        [
                            "slice",
                            [
                                "get",
                                "carriagewayTypeCode"
                            ],
                            0,
                            2
                        ],
                        "VZ"
                    ],
                    "#F6EADC",
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        "#DB9E32",
                        "1",
                        "#DB9E32",
                        "2",
                        "#DB9E32",
                        "3",
                        "#E3C474",
                        "4",
                        [
                            "case",
                            [
                                "==",
                                [
                                    "get",
                                    "formOfWay"
                                ],
                                "2"
                            ],
                            "#E3C474",
                            "#EDDBAF"
                        ],
                        "5",
                        "#EDDBAF",
                        "6",
                        "#ffffff",
                        "hsl(0, 0%, 100%)"
                    ]
                ],
                "line-width": [
                    "interpolate",
                    [
                        "exponential",
                        1.1
                    ],
                    [
                        "zoom"
                    ],
                    10,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        2.5,
                        "1",
                        2.5,
                        "2",
                        2.5,
                        "3",
                        1.5,
                        "4",
                        1.5,
                        "5",
                        1,
                        0
                    ],
                    13,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        6,
                        "1",
                        4,
                        "2",
                        4,
                        "3",
                        4.1,
                        "4",
                        4.1,
                        "5",
                        2.7,
                        "6",
                        1.5,
                        0
                    ],
                    15,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        10,
                        "1",
                        9.5,
                        "2",
                        8.4,
                        "3",
                        6.4,
                        "4",
                        6.4,
                        "5",
                        5.4,
                        "6",
                        4,
                        0
                    ],
                    20,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        24,
                        "1",
                        24,
                        "2",
                        22,
                        "3",
                        20,
                        "4",
                        18,
                        "5",
                        17,
                        "6",
                        15,
                        0
                    ]
                ],
                "line-opacity": 1
            }
        },
        {
            "id": "NWB-road-sections-bus-rel",
            "type": "line",
            "source": "ndw_nwbRoadSections",
            "source-layer": "roadSections",
            "metadata": {
                "group": "relevant-roads",
                "sub-group": "NWB-road-sections",
                "type": "relevant",
                "legend-name": "Bus baan",
                "desc": "Busbanen niet toegankelijk voor auto's",
                "insert-before": "background"
            },
            "filter": [
                "all",
                [
                    "==",
                    [
                        "get",
                        "carriagewayTypeCode"
                    ],
                    "BUS"
                ],
                [
                    "!=",
                    [
                        "get",
                        "functionalRoadClass"
                    ],
                    "7"
                ]
            ],
            "layout": {
                "visibility": "none",
                "line-cap": "butt",
                "line-join": "round",
                "line-sort-key": [
                    "-",
                    8,
                    [
                        "to-number",
                        [
                            "get",
                            "functionalRoadClass"
                        ]
                    ]
                ]
            },
            "paint": {
                "line-dasharray": [
                    1,
                    0.3
                ],
                "line-color": [
                    "match",
                    [
                        "get",
                        "functionalRoadClass"
                    ],
                    "0",
                    "#DB9E32",
                    "1",
                    "#DB9E32",
                    "2",
                    "#DB9E32",
                    "3",
                    "#E3C474",
                    "4",
                    [
                        "case",
                        [
                            "==",
                            [
                                "get",
                                "formOfWay"
                            ],
                            "2"
                        ],
                        "#E3C474",
                        "#EDDBAF"
                    ],
                    "5",
                    "#EDDBAF",
                    "6",
                    "#ffffff",
                    "hsl(0, 0%, 100%)"
                ],
                "line-width": [
                    "interpolate",
                    [
                        "exponential",
                        1.1
                    ],
                    [
                        "zoom"
                    ],
                    10,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        2.5,
                        "1",
                        2.5,
                        "2",
                        2.5,
                        "3",
                        1.5,
                        "4",
                        1.5,
                        "5",
                        1,
                        0
                    ],
                    13,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        7,
                        "1",
                        7,
                        "2",
                        5.7,
                        "3",
                        4.1,
                        "4",
                        4.1,
                        "5",
                        2.7,
                        "6",
                        1.5,
                        0
                    ],
                    15,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        10.4,
                        "1",
                        10.4,
                        "2",
                        8.4,
                        "3",
                        6.4,
                        "4",
                        6.4,
                        "5",
                        5.4,
                        "6",
                        4.4,
                        "7",
                        1.5,
                        2
                    ],
                    20,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        24,
                        "1",
                        24,
                        "2",
                        22,
                        "3",
                        20,
                        "4",
                        18,
                        "5",
                        17,
                        "6",
                        15,
                        "7",
                        0,
                        4
                    ]
                ],
                "line-opacity": [
                    "match",
                    [
                        "get",
                        "functionalRoadClass"
                    ],
                    "0",
                    1,
                    "1",
                    1,
                    "2",
                    1,
                    "3",
                    1,
                    "4",
                    1,
                    "5",
                    1,
                    "6",
                    1,
                    "7",
                    0,
                    0
                ]
            }
        },
        {
            "id": "NWB-road-sections-single-rel",
            "type": "line",
            "source": "ndw_nwbRoadSections",
            "source-layer": "roadSections",
            "metadata": {
                "group": "relevant-roads",
                "sub-group": "NWB-road-sections",
                "type": "relevant",
                "legend-name": "Enkele lijnen, fietspad, voetbad, veerroutes",
                "desc": "Functional road class 7, niet toegankelijk voor auto's",
                "insert-before": "background"
            },
            "filter": [
                "==",
                [
                    "get",
                    "functionalRoadClass"
                ],
                "7"
            ],
            "layout": {
                "visibility": "none",
                "line-cap": "round",
                "line-join": "round"
            },
            "paint": {
                "line-color": [
                    "case",
                    [
                        "==",
                        [
                            "get",
                            "carriagewayTypeCode"
                        ],
                        "FP"
                    ],
                    "hsl(19,80%, 80%)",
                    [
                        "==",
                        [
                            "slice",
                            [
                                "get",
                                "carriagewayTypeCode"
                            ],
                            0,
                            2
                        ],
                        "VD"
                    ],
                    "hsl(192, 5%, 72%)",
                    [
                        "==",
                        [
                            "slice",
                            [
                                "get",
                                "carriagewayTypeCode"
                            ],
                            0,
                            2
                        ],
                        "VP"
                    ],
                    "#f3e4d3",
                    "#ffffff"
                ],
                "line-width": [
                    "interpolate",
                    [
                        "exponential",
                        1.1
                    ],
                    [
                        "zoom"
                    ],
                    10,
                    0,
                    13,
                    0.5,
                    15,
                    3.5,
                    20,
                    10
                ],
                "line-opacity": 1
            }
        },
        {
            "id": "FCD-segments-casing",
            "type": "line",
            "source": "ndw_fcdSegments",
            "source-layer": "segments",
            "metadata": {
                "group": "context-roads",
                "sub-group": "FCD-segments",
                "type": "context",
                "legend-name": "Segmenten omlijning",
                "desc": ""
            },
            "layout": {
                "visibility": "none",
                "line-cap": "round",
                "line-join": "round",
                "line-sort-key": [
                    "-",
                    8,
                    [
                        "get",
                        "roadClass"
                    ]
                ]
            },
            "paint": {
                "line-color": [
                    "match",
                    [
                        "get",
                        "roadClass"
                    ],
                    0,
                    "#DAAD3A",
                    1,
                    "#DAAD3A",
                    2,
                    "#DAAD3A",
                    3,
                    "#E2C16C",
                    4,
                    "hsl(192, 5%, 82%)",
                    5,
                    "hsl(192, 5%, 82%)",
                    6,
                    "hsl(192, 5%, 82%)",
                    "hsl(0, 0%, 100%)"
                ],
                "line-width": [
                    "interpolate",
                    [
                        "exponential",
                        1.1
                    ],
                    [
                        "zoom"
                    ],
                    10,
                    [
                        "match",
                        [
                            "get",
                            "roadClass"
                        ],
                        0,
                        3.5,
                        1,
                        3.5,
                        2,
                        3.5,
                        3,
                        2.5,
                        4,
                        2.5,
                        5,
                        0.6,
                        6,
                        0,
                        7,
                        0,
                        0
                    ],
                    13,
                    [
                        "match",
                        [
                            "get",
                            "roadClass"
                        ],
                        0,
                        8.5,
                        1,
                        8.5,
                        2,
                        7.5,
                        3,
                        6,
                        4,
                        6,
                        5,
                        4.5,
                        6,
                        3.5,
                        7,
                        1.5,
                        1.5
                    ],
                    15,
                    [
                        "match",
                        [
                            "get",
                            "roadClass"
                        ],
                        0,
                        13,
                        1,
                        13,
                        2,
                        11,
                        3,
                        9,
                        4,
                        9,
                        5,
                        8,
                        6,
                        5,
                        7,
                        4,
                        2
                    ],
                    20,
                    [
                        "match",
                        [
                            "get",
                            "roadClass"
                        ],
                        0,
                        27,
                        1,
                        27,
                        2,
                        25,
                        3,
                        23,
                        4,
                        23,
                        5,
                        22,
                        6,
                        20,
                        7,
                        12,
                        10
                    ]
                ],
                "line-opacity": [
                    "match",
                    [
                        "get",
                        "roadClass"
                    ],
                    0,
                    1,
                    1,
                    1,
                    2,
                    1,
                    3,
                    1,
                    4,
                    1,
                    5,
                    1,
                    6,
                    1,
                    7,
                    1,
                    0
                ]
            }
        },
        {
            "id": "FCD-segments-fill",
            "type": "line",
            "source": "ndw_fcdSegments",
            "source-layer": "segments",
            "metadata": {
                "group": "context-roads",
                "sub-group": "FCD-segments",
                "type": "context",
                "legend-name": "Segmenten vulling",
                "desc": ""
            },
            "layout": {
                "visibility": "none",
                "line-cap": "round",
                "line-join": "round",
                "line-sort-key": [
                    "-",
                    8,
                    [
                        "get",
                        "roadClass"
                    ]
                ]
            },
            "paint": {
                "line-color": [
                    "match",
                    [
                        "get",
                        "roadClass"
                    ],
                    0,
                    "hsl(43, 93%, 88%)",
                    1,
                    "hsl(43, 93%, 88%)",
                    2,
                    "hsl(43, 93%, 88%)",
                    3,
                    "hsl(44, 42%, 94%)",
                    4,
                    "hsl(44, 42%, 94%)",
                    5,
                    "#ffffff",
                    6,
                    "#ffffff",
                    "hsl(0, 0%, 100%)"
                ],
                "line-width": [
                    "interpolate",
                    [
                        "exponential",
                        1.1
                    ],
                    [
                        "zoom"
                    ],
                    10,
                    [
                        "match",
                        [
                            "get",
                            "roadClass"
                        ],
                        0,
                        2.5,
                        1,
                        2.5,
                        2,
                        2.5,
                        3,
                        1.5,
                        4,
                        1.5,
                        5,
                        1,
                        0
                    ],
                    13,
                    [
                        "match",
                        [
                            "get",
                            "roadClass"
                        ],
                        0,
                        7,
                        1,
                        7,
                        2,
                        5.7,
                        3,
                        4.1,
                        4,
                        4.1,
                        5,
                        2.7,
                        6,
                        1.5,
                        0
                    ],
                    15,
                    [
                        "match",
                        [
                            "get",
                            "roadClass"
                        ],
                        0,
                        10.4,
                        1,
                        10.4,
                        2,
                        8.4,
                        3,
                        6.4,
                        4,
                        6.4,
                        5,
                        5.4,
                        6,
                        4.4,
                        7,
                        1.5,
                        2
                    ],
                    20,
                    [
                        "match",
                        [
                            "get",
                            "roadClass"
                        ],
                        0,
                        24,
                        1,
                        24,
                        2,
                        22,
                        3,
                        20,
                        4,
                        18,
                        5,
                        17,
                        6,
                        15,
                        7,
                        0,
                        4
                    ]
                ],
                "line-opacity": [
                    "match",
                    [
                        "get",
                        "roadClass"
                    ],
                    0,
                    1,
                    1,
                    1,
                    2,
                    1,
                    3,
                    1,
                    4,
                    1,
                    5,
                    1,
                    6,
                    1,
                    7,
                    0,
                    0
                ]
            }
        },
        {
            "id": "FCD-segments-casing-rel",
            "type": "line",
            "source": "ndw_fcdSegments",
            "source-layer": "segments",
            "metadata": {
                "group": "relevant-roads",
                "sub-group": "FCD-segments",
                "type": "relevant",
                "legend-name": "Segmenten omlijning",
                "desc": ""
            },
            "layout": {
                "visibility": "none",
                "line-cap": "round",
                "line-join": "round",
                "line-sort-key": [
                    "-",
                    8,
                    [
                        "get",
                        "roadClass"
                    ]
                ]
            },
            "paint": {
                "line-color": [
                    "match",
                    [
                        "get",
                        "roadClass"
                    ],
                    0,
                    "#dd5208",
                    1,
                    "#dd5208",
                    2,
                    "#dd5208",
                    3,
                    "#DC7019",
                    4,
                    [
                        "case",
                        [
                            "==",
                            [
                                "get",
                                "formOfWay"
                            ],
                            2
                        ],
                        "#DB9E32",
                        "#DB9E32"
                    ],
                    5,
                    "#E3C474",
                    6,
                    "hsl(192, 5%, 72%)",
                    7,
                    [
                        "case",
                        [
                            "==",
                            [
                                "get",
                                "carriagewayTypeCode"
                            ],
                            "FP"
                        ],
                        "hsl(19,80%, 80%)",
                        [
                            "==",
                            [
                                "slice",
                                [
                                    "get",
                                    "carriagewayTypeCode"
                                ],
                                0,
                                2
                            ],
                            "VD"
                        ],
                        "hsl(192, 5%, 72%)",
                        "hsl(0, 0%, 100%)"
                    ],
                    "hsl(0, 0%, 100%)"
                ],
                "line-width": [
                    "interpolate",
                    [
                        "exponential",
                        1.1
                    ],
                    [
                        "zoom"
                    ],
                    10,
                    [
                        "match",
                        [
                            "get",
                            "roadClass"
                        ],
                        0,
                        3.5,
                        1,
                        3.5,
                        2,
                        3.5,
                        3,
                        2.5,
                        4,
                        2.5,
                        5,
                        0.6,
                        6,
                        0,
                        7,
                        0,
                        0
                    ],
                    13,
                    [
                        "match",
                        [
                            "get",
                            "roadClass"
                        ],
                        0,
                        8.5,
                        1,
                        8.5,
                        2,
                        7.5,
                        3,
                        6,
                        4,
                        6,
                        5,
                        4.5,
                        6,
                        3.5,
                        7,
                        1.5,
                        1.5
                    ],
                    15,
                    [
                        "match",
                        [
                            "get",
                            "roadClass"
                        ],
                        0,
                        13,
                        1,
                        13,
                        2,
                        11,
                        3,
                        9,
                        4,
                        9,
                        5,
                        8,
                        6,
                        4,
                        7,
                        3,
                        2
                    ],
                    20,
                    [
                        "match",
                        [
                            "get",
                            "roadClass"
                        ],
                        0,
                        27,
                        1,
                        27,
                        2,
                        25,
                        3,
                        23,
                        4,
                        23,
                        5,
                        20,
                        6,
                        18,
                        7,
                        10,
                        10
                    ]
                ],
                "line-opacity": [
                    "match",
                    [
                        "get",
                        "roadClass"
                    ],
                    0,
                    1,
                    1,
                    1,
                    2,
                    1,
                    3,
                    1,
                    4,
                    1,
                    5,
                    1,
                    6,
                    1,
                    7,
                    1,
                    0
                ]
            }
        },
        {
            "id": "FCD-segments-fill-rel",
            "type": "line",
            "source": "ndw_fcdSegments",
            "source-layer": "segments",
            "metadata": {
                "group": "relevant-roads",
                "sub-group": "FCD-segments",
                "type": "relevant",
                "legend-name": "Segmenten vulling",
                "desc": ""
            },
            "layout": {
                "visibility": "none",
                "line-cap": "round",
                "line-join": "round",
                "line-sort-key": [
                    "-",
                    8,
                    [
                        "get",
                        "roadClass"
                    ]
                ]
            },
            "paint": {
                "line-color": [
                    "match",
                    [
                        "get",
                        "roadClass"
                    ],
                    0,
                    "#DB9E32",
                    1,
                    "#DB9E32",
                    2,
                    "#DB9E32",
                    3,
                    "#E3C474",
                    4,
                    [
                        "case",
                        [
                            "==",
                            [
                                "get",
                                "formOfWay"
                            ],
                            2
                        ],
                        "#E3C474",
                        "#EDDBAF"
                    ],
                    5,
                    "#EDDBAF",
                    6,
                    "#ffffff",
                    "hsl(0, 0%, 100%)"
                ],
                "line-width": [
                    "interpolate",
                    [
                        "exponential",
                        1.1
                    ],
                    [
                        "zoom"
                    ],
                    10,
                    [
                        "match",
                        [
                            "get",
                            "roadClass"
                        ],
                        0,
                        2.5,
                        1,
                        2.5,
                        2,
                        2.5,
                        3,
                        1.5,
                        4,
                        1.5,
                        5,
                        1,
                        0
                    ],
                    13,
                    [
                        "match",
                        [
                            "get",
                            "roadClass"
                        ],
                        0,
                        7,
                        1,
                        7,
                        2,
                        5.7,
                        3,
                        4.1,
                        4,
                        4.1,
                        5,
                        2.7,
                        6,
                        1.5,
                        0
                    ],
                    15,
                    [
                        "match",
                        [
                            "get",
                            "roadClass"
                        ],
                        0,
                        10.4,
                        1,
                        10.4,
                        2,
                        8.4,
                        3,
                        6.4,
                        4,
                        6.4,
                        5,
                        5.4,
                        6,
                        3.4,
                        7,
                        1.5,
                        2
                    ],
                    20,
                    [
                        "match",
                        [
                            "get",
                            "roadClass"
                        ],
                        0,
                        24,
                        1,
                        24,
                        2,
                        22,
                        3,
                        20,
                        4,
                        18,
                        5,
                        16,
                        6,
                        14,
                        7,
                        0,
                        4
                    ]
                ],
                "line-opacity": [
                    "match",
                    [
                        "get",
                        "roadClass"
                    ],
                    0,
                    1,
                    1,
                    1,
                    2,
                    1,
                    3,
                    1,
                    4,
                    1,
                    5,
                    1,
                    6,
                    1,
                    7,
                    0,
                    0
                ]
            }
        },
        {
            "id": "WKD-parking-areas",
            "type": "line",
            "source": "ndw_wkdParkingAreas",
            "source-layer": "segments",
            "metadata": {
                "group": "context-roads",
                "sub-group": "WKD-parking-areas",
                "type": "context",
                "legend-name": "Parking areas",
                "desc": "Parkeer vlakken naast de weg",
                "insert-before": "background"
            },
            "filter": [
                ">",
                "surface",
                0
            ],
            "minzoom": 12.5,
            "layout": {
                "visibility": "none",
                "line-cap": "butt",
                "line-join": "round"
            },
            "paint": {
                "line-offset": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    12,
                    [
                        "*",
                        [
                            "-",
                            8,
                            [
                                "to-number",
                                [
                                    "get",
                                    "functionalRoadClass"
                                ]
                            ]
                        ],
                        [
                            "case",
                            [
                                "==",
                                [
                                    "get",
                                    "sideOfRoad"
                                ],
                                "left"
                            ],
                            -0.6,
                            0.6
                        ]
                    ],
                    20,
                    [
                        "*",
                        [
                            "-",
                            8,
                            [
                                "to-number",
                                [
                                    "get",
                                    "functionalRoadClass"
                                ]
                            ]
                        ],
                        [
                            "case",
                            [
                                "==",
                                [
                                    "get",
                                    "sideOfRoad"
                                ],
                                "left"
                            ],
                            -5.5,
                            5.5
                        ]
                    ]
                ],
                "line-color": "hsl(192, 5%, 82%)",
                "line-opacity": 1,
                "line-width": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    12,
                    1.5,
                    20,
                    7.5
                ]
            }
        },
        {
            "id": "WKD-parking-areas-rel",
            "type": "line",
            "source": "ndw_wkdParkingAreas",
            "source-layer": "segments",
            "metadata": {
                "group": "relevant-roads",
                "sub-group": "WKD-parking-areas",
                "type": "relevant",
                "legend-name": "Parking areas",
                "desc": "",
                "insert-before": "background"
            },
            "filter": [
                ">",
                "surface",
                0
            ],
            "minzoom": 12.5,
            "layout": {
                "visibility": "none",
                "line-cap": "butt",
                "line-join": "round"
            },
            "paint": {
                "line-offset": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    12,
                    [
                        "*",
                        [
                            "-",
                            8,
                            [
                                "to-number",
                                [
                                    "get",
                                    "functionalRoadClass"
                                ]
                            ]
                        ],
                        [
                            "case",
                            [
                                "==",
                                [
                                    "get",
                                    "sideOfRoad"
                                ],
                                "left"
                            ],
                            -0.6,
                            0.6
                        ]
                    ],
                    20,
                    [
                        "*",
                        [
                            "-",
                            8,
                            [
                                "to-number",
                                [
                                    "get",
                                    "functionalRoadClass"
                                ]
                            ]
                        ],
                        [
                            "case",
                            [
                                "==",
                                [
                                    "get",
                                    "sideOfRoad"
                                ],
                                "left"
                            ],
                            -4.2,
                            4.2
                        ]
                    ]
                ],
                "line-color": "#adbfe3",
                "line-opacity": 1,
                "line-width": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    12,
                    1,
                    20,
                    5.5
                ]
            }
        },
       
        {
            "id": "BRT-spoorbaanlijn",
            "type": "line",
            "source": "pdok_brt",
            "source-layer": "spoorbaandeellijn",
            "minzoom": 9,
            "metadata": {
                "group": "context-map",
                "sub-group": "Spoor",
                "type": "context",
                "legend-name": "Spoorlijnen",
                "desc": "trein, metro, tram. beschikbaar van z9. Over de wegen heen.",
                "insert-before": "lines-overlay"
            },
            "layout": {
                "visibility": "visible",
                "line-cap": "round",
                "line-join": "round"
            },
            "paint": {
                "line-color": [
                    "match",
                    [
                        "get",
                        "vistext"
                    ],
                    "treinspoor",
                    "#a3a7aa",
                    "spoor in tunnel",
                    "#a3a7aa",
                    "metro / sneltram",
                    "#cbcdd9",
                    "metro / sneltram in tunnel",
                    "#cbcdd9",
                    "tram",
                    "#a3a7aa",
                    "tram in tunnel",
                    "#a3a7aa",
                    "overig",
                    "#a3a7aa",
                    "spoor onder ander object",
                    "#a3a7aa",
                    "transparent"
                ],
                "line-width": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    12,
                    [
                        "match",
                        [
                            "get",
                            "vistext"
                        ],
                        "treinspoor",
                        0.8,
                        "spoor in tunnel",
                        0.5,
                        "metro / sneltram",
                        0.1,
                        "metro / sneltram in tunnel",
                        0.1,
                        "tram",
                        0.1,
                        "tram in tunnel",
                        0.1,
                        "overig",
                        0.1,
                        "spoor onder ander object",
                        1,
                        10
                    ],
                    16,
                    [
                        "match",
                        [
                            "get",
                            "vistext"
                        ],
                        "treinspoor",
                        1.5,
                        "spoor in tunnel",
                        1.5,
                        "metro / sneltram",
                        3,
                        "metro / sneltram in tunnel",
                        3,
                        "tram",
                        1,
                        "tram in tunnel",
                        1,
                        "overig",
                        0.5,
                        "spoor onder ander object",
                        1.5,
                        10
                    ]
                ],
                "line-opacity": [
                    "match",
                    [
                        "get",
                        "vistext"
                    ],
                    "spoor onder ander object",
                    0.5,
                    "spoor in tunnel",
                    0.5,
                    "metro / sneltram in tunnel",
                    0.5,
                    "tram in tunnel",
                    0.5,
                    1
                ]
            }
        },
        {
            "id": "BRT-spoorbaanlijn-dash",
            "type": "line",
            "source": "pdok_brt",
            "source-layer": "spoorbaandeellijn",
            "minzoom": 14,
            "metadata": {
                "group": "context-map",
                "sub-group": "Spoor",
                "type": "context",
                "legend-name": "Spoorlijnen dash voor trein",
                "desc": "trein. beschikbaar van z14. Over de wegen heen.",
                "insert-before": "lines-overlay"
            },
            "filter": [
                "any",
                [
                    "==",
                    [
                        "get",
                        "vistext"
                    ],
                    "treinspoor"
                ],
                [
                    "==",
                    [
                        "get",
                        "vistext"
                    ],
                    "overig"
                ],
                [
                    "==",
                    [
                        "get",
                        "vistext"
                    ],
                    "spoor in tunnel"
                ]
            ],
            "layout": {
                "visibility": "visible",
                "line-cap": "butt",
                "line-join": "round"
            },
            "paint": {
                "line-dasharray": [
                    0.1,
                    5
                ],
                "line-color": [
                    "match",
                    [
                        "get",
                        "vistext"
                    ],
                    "treinspoor",
                    "#a3a7aa",
                    "spoor in tunnel",
                    "#a3a7aa",
                    "overig",
                    "#a3a7aa",
                    "spoor onder ander object",
                    "#a3a7aa",
                    "transparent"
                ],
                "line-width": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    14,
                    [
                        "match",
                        [
                            "get",
                            "vistext"
                        ],
                        "treinspoor",
                        3,
                        "spoor in tunnel",
                        3.5,
                        "overig",
                        3.1,
                        "spoor onder ander object",
                        3,
                        10
                    ],
                    16,
                    [
                        "match",
                        [
                            "get",
                            "vistext"
                        ],
                        "treinspoor",
                        7,
                        "spoor in tunnel",
                        6.5,
                        "overig",
                        5.5,
                        "spoor onder ander object",
                        6.5,
                        10
                    ]
                ],
                "line-opacity": [
                    "match",
                    [
                        "get",
                        "vistext"
                    ],
                    "spoor onder ander object",
                    0.5,
                    "spoor in tunnel",
                    0.5,
                    1
                ]
            }
        },
        {
            "id": "PDOK-prov-grenzen",
            "type": "line",
            "metadata": {
                "group": "context-admin",
                "sub-group": "Bestuurlijke grenzen",
                "type": "context",
                "legend-name": "Provincie grenzen",
                "desc": "",
                "insert-before": "lines-overlay"
            },
            "source": "pdok_bestuurlijkegebieden",
            "source-layer": "provinciegebied",
            "layout": {
                "visibility": "visible",
                "line-cap": "round",
                "line-join": "round"
            },
            "paint": {
                "line-color": "#cbcdd9",
                "line-width": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    7,
                    2,
                    10,
                    4,
                    16,
                    8
                ]
            }
        },
        {
            "id": "PDOK-prov-grenzen-naam",
            "type": "symbol",
            "metadata": {
                "group": "context-admin",
                "sub-group": "Bestuurlijke grenzen",
                "type": "context",
                "legend-name": "Provincie grenzen Naam",
                "desc": "Provincie namen langs de grens",
                "insert-before": "lines-overlay"
            },
            "source": "pdok_bestuurlijkegebieden",
            "source-layer": "provinciegebied",
            "minzoom": 9,
            "layout": {
                "visibility": "visible",
                "symbol-placement": "line",
                "symbol-spacing": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    9,
                    300,
                    12,
                    350,
                    16,
                    500,
                    20,
                    250
                ],
                "text-field": "{naam}",
                "text-font": [
                    "Roboto Bold"
                ],
                "text-offset": [
                    0,
                    0.8
                ],
                "text-transform": "uppercase",
                "text-size": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    9,
                    10,
                    12,
                    11,
                    16,
                    11,
                    20,
                    12
                ],
                "text-max-angle": 45
            },
            "paint": {
                "text-color": "#9fa3b9"
            }
        },
        {
            "id": "PDOK-gem-grenzen",
            "type": "line",
            "metadata": {
                "group": "context-admin",
                "sub-group": "Bestuurlijke grenzen",
                "type": "context",
                "legend-name": "Gemeente grenzen",
                "desc": "",
                "insert-before": "lines-overlay"
            },
            "source": "pdok_bestuurlijkegebieden",
            "source-layer": "gemeentegebied",
            "minzoom": 10,
            "layout": {
                "visibility": "visible",
                "line-cap": "round",
                "line-join": "round"
            },
            "paint": {
                "line-color": "#cbcdd9",
                "line-width": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    10,
                    1,
                    12,
                    2,
                    16,
                    5
                ]
            }
        },
        {
            "id": "PDOK-gem-grenzen-naam",
            "type": "symbol",
            "metadata": {
                "group": "context-admin",
                "sub-group": "Bestuurlijke grenzen",
                "type": "context",
                "legend-name": "Gemeente grenzen naam",
                "desc": "Gemeente namen langs de grens",
                "insert-before": "lines-overlay"
            },
            "source": "pdok_bestuurlijkegebieden",
            "source-layer": "gemeentegebied",
            "minzoom": 11,
            "layout": {
                "visibility": "visible",
                "symbol-placement": "line",
                "text-max-angle": 55,
                "symbol-spacing": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    11,
                    250,
                    16,
                    500,
                    20,
                    250
                ],
                "text-field": [
                    "concat",
                    "Gem. ",
                    [
                        "get",
                        "naam"
                    ]
                ],
                "text-font": [
                    "Roboto Medium"
                ],
                "text-offset": [
                    0,
                    0.85
                ],
                "text-size": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    11,
                    10,
                    16,
                    11.5,
                    20,
                    12
                ]
            },
            "paint": {
                "text-color": "#9fa3b9"
            }
        },
        {
            "id": "PDOK-prov-grenzen-rel",
            "type": "line",
            "metadata": {
                "group": "relevant-admin",
                "sub-group": "Bestuurlijke grenzen",
                "type": "relevant",
                "legend-name": "Provincie grenzen",
                "desc": "",
                "insert-before": "lines-overlay"
            },
            "source": "pdok_bestuurlijkegebieden",
            "source-layer": "provinciegebied",
            "layout": {
                "visibility": "none",
                "line-cap": "round",
                "line-join": "round"
            },
            "paint": {
                "line-color": "#182a36",
                "line-blur": 2,
                "line-opacity": 0.5,
                "line-width": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    7,
                    2,
                    10,
                    4,
                    16,
                    8
                ]
            }
        },
        {
            "id": "PDOK-prov-grenzen-naam-rel",
            "type": "symbol",
            "metadata": {
                "group": "relevant-admin",
                "sub-group": "Bestuurlijke grenzen",
                "type": "relevant",
                "legend-name": "Provincie grenzen Naam",
                "desc": "Provincie namen langs de grens",
                "insert-before": "lines-overlay"
            },
            "source": "pdok_bestuurlijkegebieden",
            "source-layer": "provinciegebied",
            "minzoom": 9,
            "layout": {
                "visibility": "none",
                "symbol-placement": "line",
                "symbol-spacing": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    9,
                    300,
                    12,
                    350,
                    16,
                    500,
                    20,
                    250
                ],
                "text-field": "{naam}",
                "text-font": [
                    "Roboto Bold"
                ],
                "text-offset": [
                    0,
                    0.8
                ],
                "text-transform": "uppercase",
                "text-size": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    9,
                    10,
                    12,
                    11,
                    16,
                    11,
                    20,
                    12
                ],
                "text-max-angle": 45
            },
            "paint": {
                "text-color": "#46545e"
            }
        },
        {
            "id": "PDOK-gem-grenzen-rel",
            "type": "line",
            "metadata": {
                "group": "relevant-admin",
                "sub-group": "Bestuurlijke grenzen",
                "type": "relevant",
                "legend-name": "Gemeente grenzen",
                "desc": "",
                "insert-before": "lines-overlay"
            },
            "source": "pdok_bestuurlijkegebieden",
            "source-layer": "gemeentegebied",
            "minzoom": 10,
            "layout": {
                "visibility": "none",
                "line-cap": "round",
                "line-join": "round"
            },
            "paint": {
                "line-color": "#182a36",
                "line-blur": 1,
                "line-opacity": 0.7,
                "line-dasharray": [
                    2,
                    2
                ],
                "line-width": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    10,
                    1,
                    12,
                    2,
                    16,
                    5
                ]
            }
        },
        {
            "id": "PDOK-gem-grenzen-naam-rel",
            "type": "symbol",
            "metadata": {
                "group": "relevant-admin",
                "sub-group": "Bestuurlijke grenzen",
                "type": "relevant",
                "legend-name": "Gemeente grenzen naam",
                "desc": "Gemeente namen langs de grens",
                "insert-before": "lines-overlay"
            },
            "source": "pdok_bestuurlijkegebieden",
            "source-layer": "gemeentegebied",
            "minzoom": 10,
            "layout": {
                "visibility": "none",
                "symbol-placement": "line",
                "text-max-angle": 50,
                "symbol-spacing": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    11,
                    200,
                    16,
                    500,
                    20,
                    250
                ],
                "text-field": [
                    "concat",
                    "Gem. ",
                    [
                        "get",
                        "naam"
                    ]
                ],
                "text-font": [
                    "Roboto Medium"
                ],
                "text-offset": [
                    0,
                    0.85
                ],
                "text-size": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    11,
                    10,
                    16,
                    11.5,
                    20,
                    12
                ]
            },
            "paint": {
                "text-color": "#46545e"
            }
        },
        {
            "id": "NWB-oneway-signs",
            "type": "symbol",
            "source": "ndw_nwbRoadSections",
            "source-layer": "roadSections",
            "metadata": {
                "group": "context-roads",
                "sub-group": "NWB-oneway-signs",
                "type": "context",
                "legend-name": "Eenrichtingsverkeer",
                "desc": "",
                "insert-before": "label"
            },
            "minzoom": 14,
            "filter": [
                "in",
                [
                    "get",
                    "drivingDirection"
                ],
                [
                    "literal",
                    [
                        "H",
                        "T"
                    ]
                ]
            ],
            "layout": {
                "visibility": "visible",
                "icon-image": "sdf:arrow-simple-2",
                "icon-padding": 1,
                "icon-rotate": [
                    "match",
                    [
                        "get",
                        "drivingDirection"
                    ],
                    "H",
                    90,
                    "T",
                    -90,
                    0
                ],
                "icon-rotation-alignment": "map",
                "icon-size": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    13,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        0.3,
                        "1",
                        0.3,
                        "2",
                        0.2,
                        "3",
                        0.2,
                        "4",
                        0.2,
                        "5",
                        0,
                        "6",
                        0,
                        "7",
                        0,
                        0
                    ],
                    16,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        0.7,
                        "1",
                        0.7,
                        "2",
                        0.6,
                        "3",
                        0.5,
                        "4",
                        0.5,
                        "5",
                        0.5,
                        "6",
                        0.5,
                        "7",
                        0.3,
                        1
                    ]
                ],
                "symbol-placement": "line",
                "symbol-spacing": 120
            },
            "paint": {
                "icon-opacity": 1,
                "icon-color": [
                    "match",
                    [
                        "get",
                        "functionalRoadClass"
                    ],
                    "0",
                    "hsl(204, 5%, 60%)",
                    "1",
                    "hsl(204, 5%, 60%)",
                    "2",
                    "hsl(204, 5%, 70%)",
                    "3",
                    "hsl(204, 5%, 70%)",
                    "4",
                    "hsl(192, 5%, 80%)",
                    "5",
                    "hsl(192, 5%, 70%)",
                    "6",
                    "hsl(192, 5%, 70%)",
                    "7",
                    "hsl(192, 5%, 70%)",
                    "hsl(0, 0%, 100%)"
                ]
            }
        },
        {
            "id": "NWB-oneway-signs-rel",
            "type": "symbol",
            "source": "ndw_nwbRoadSections",
            "source-layer": "roadSections",
            "metadata": {
                "group": "relevant-roads",
                "sub-group": "NWB-oneway-signs",
                "type": "relevant",
                "legend-name": "Eenrichtingsverkeer",
                "desc": "",
                "insert-before": "label"
            },
            "minzoom": 14,
            "filter": [
                "in",
                [
                    "get",
                    "drivingDirection"
                ],
                [
                    "literal",
                    [
                        "H",
                        "T"
                    ]
                ]
            ],
            "layout": {
                "visibility": "none",
                "icon-image": "sdf:arrow-simple-2",
                "icon-padding": 2,
                "icon-rotate": [
                    "match",
                    [
                        "get",
                        "drivingDirection"
                    ],
                    "H",
                    90,
                    "T",
                    -90,
                    0
                ],
                "icon-rotation-alignment": "map",
                "icon-size": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    13,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        0.3,
                        "1",
                        0.3,
                        "2",
                        0.2,
                        "3",
                        0.2,
                        "4",
                        0.2,
                        "5",
                        0,
                        "6",
                        0,
                        "7",
                        0,
                        0
                    ],
                    16,
                    [
                        "match",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0",
                        0.7,
                        "1",
                        0.7,
                        "2",
                        0.6,
                        "3",
                        0.5,
                        "4",
                        0.5,
                        "5",
                        0.5,
                        "6",
                        0.5,
                        "7",
                        0.3,
                        1
                    ]
                ],
                "symbol-placement": "line",
                "symbol-spacing": 120
            },
            "paint": {
                "icon-opacity": 1,
                "icon-color": [
                    "match",
                    [
                        "get",
                        "functionalRoadClass"
                    ],
                    "0",
                    "#b64a11",
                    "1",
                    "#b64a11",
                    "2",
                    "#b64a11",
                    "3",
                    "#dd5208",
                    "4",
                    "#dc7019",
                    "5",
                    "#dc7019",
                    "6",
                    "hsl(192, 5%, 50%)",
                    "7",
                    "hsl(192, 5%, 50%)",
                    "hsl(0, 0%, 100%)"
                ]
            }
        },
        {
            "id": "BGT-huisnummers",
            "type": "symbol",
            "source": "pdok_bgt",
            "source-layer": "pand_nummeraanduiding",
            "metadata": {
                "group": "context-labels",
                "sub-group": "BGT-huisnummers",
                "type": "context",
                "legend-name": "Pand huisnummers",
                "desc": "Uit de BGT, alleen zichtbaar vanaf zoom 17",
                "insert-before": "label"
            },
            "layout": {
                "visibility": "visible",
                "symbol-placement": "point",
                "text-anchor": "bottom",
                "text-line-height": 1.2,
                "text-field": "{tekst}",
                "text-font": [
                    "Roboto Light"
                ],
                "text-size": 10,
                "text-justify": "center",
                "text-rotate": [
                    "-",
                    360,
                    [
                        "get",
                        "hoek"
                    ]
                ]
            },
            "paint": {
                "text-opacity": 1,
                "text-halo-width": 2,
                "text-halo-color": "#fff",
                "text-color": "#555555"
            }
        },
        {
            "id": "NWB-RoadNames",
            "type": "symbol",
            "source": "ndw_nwbRoadSections",
            "source-layer": "roadSections",
            "metadata": {
                "group": "context-labels",
                "sub-group": "NWB-Road-names",
                "type": "context",
                "legend-name": "Weg namen",
                "desc": "Weg namen uit NWB, hierarchy op functionalroadclass",
                "insert-before": "label"
            },
            "minzoom": 12,
            "filter": [
                "all",
                [
                    "!=",
                    [
                        "get",
                        "functionalRoadClass"
                    ],
                    "7"
                ],
                [
                    "!=",
                    [
                        "get",
                        "functionalRoadClass"
                    ],
                    "0"
                ],
                [
                    "!=",
                    [
                        "get",
                        "functionalRoadClass"
                    ],
                    "1"
                ],
                [
                    "!=",
                    [
                        "get",
                        "functionalRoadClass"
                    ],
                    "2"
                ]
            ],
            "layout": {
                "symbol-sort-key": [
                    "-",
                    8,
                    [
                        "to-number",
                        [
                            "get",
                            "functionalRoadClass"
                        ]
                    ]
                ],
                "symbol-placement": "line",
                "text-field": "{roadName}",
                "text-max-angle": 50,
                "text-padding": 30,
                "text-font": [
                    "case",
                    [
                        "==",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "3"
                    ],
                    [
                        "literal",
                        [
                            "Noto Sans Bold"
                        ]
                    ],
                    [
                        "literal",
                        [
                            "Noto Sans Regular"
                        ]
                    ]
                ],
                "text-size": [
                    "match",
                    [
                        "get",
                        "functionalRoadClass"
                    ],
                    "2",
                    14,
                    "3",
                    14,
                    "4",
                    12,
                    "5",
                    11,
                    "6",
                    11,
                    0
                ],
                "text-rotation-alignment": "map"
            },
            "paint": {
                "text-color": "hsl(196, 13%, 29%)",
                "text-halo-color": "#f8f4f0",
                "text-halo-width": 1.5
            }
        },
       
        {
            "id": "BRT-wijknamen",
            "type": "symbol",
            "source": "pdok_brt",
            "source-layer": "annotaties",
            "metadata": {
                "group": "context-labels",
                "sub-group": "BRT-plaatsnamen",
                "type": "context",
                "legend-name": "Wijk namen",
                "desc": "Wijknamen, lichtgrijs",
                "insert-before": "label"
            },
            "minzoom": 13.5,
            "maxzoom": 16,
            "filter": [
                "==",
                [
                    "get",
                    "vistext"
                ],
                "wijknamen"
            ],
            "layout": {
                "symbol-placement": "point",
                "text-field": "{label}",
                "text-letter-spacing": 0.2,
                "text-font": [
                    "Roboto Serif Regular"
                ],
                "text-size": [
                    "*",
                    [
                        "coalesce",
                        [
                            "get",
                            "size"
                        ],
                        10
                    ],
                    1.3
                ],
                "text-rotation-alignment": "map"
            },
            "paint": {
                "text-color": "hsl(197, 7%, 50%)",
                "text-halo-color": "#f8f4f0",
                "text-halo-width": 1
            }
        },
        {
            "id": "BRT-placenames",
            "type": "symbol",
            "source": "pdok_brt",
            "source-layer": "annotaties",
            "metadata": {
                "group": "context-labels",
                "sub-group": "BRT-plaatsnamen",
                "type": "context",
                "legend-name": "Plaatsnamen",
                "desc": "Plaatsnamen van Nederland, donkergrijs",
                "insert-before": "label"
            },
            "maxzoom": 16,
            "filter": [
                "==",
                [
                    "get",
                    "vistext"
                ],
                "plaatsnamen"
            ],
            "layout": {
                "symbol-placement": "point",
                "text-field": "{label}",
                "text-font": [
                    "case",
                    [
                        ">",
                        [
                            "get",
                            "size"
                        ],
                        9
                    ],
                    [
                        "literal",
                        [
                            "DM Sans Medium"
                        ]
                    ],
                    [
                        "literal",
                        [
                            "DM Sans Regular"
                        ]
                    ]
                ],
                "text-size": [
                    "*",
                    [
                        "coalesce",
                        [
                            "get",
                            "size"
                        ],
                        10
                    ],
                    1.4
                ],
                "text-rotation-alignment": "map"
            },
            "paint": {
                "text-color": "#3c3c3c",
                "text-halo-color": "#f8f4f0",
                "text-halo-width": 2.5
            }
        },
        {
            "id": "NWB-hectometreSigns-circle",
            "type": "circle",
            "source": "ndw_nwbHectometreSigns",
            "source-layer": "hectometreSigns",
            "metadata": {
                "group": "context-roads",
                "sub-group": "NWB-hectometersigns",
                "type": "context",
                "legend-name": "hectometreSigns",
                "desc": "Grijze cirkel die positie aangeeft hectometer nummer",
                "insert-before": "label"
            },
            "minzoom": 9.5,
            "filter": [
                "all",
                [
                    "==",
                    [
                        "%",
                        [
                            "get",
                            "hectometre"
                        ],
                        [
                            "case",
                            [
                                "<=",
                                [
                                    "zoom"
                                ],
                                10
                            ],
                            100,
                            [
                                "<=",
                                [
                                    "zoom"
                                ],
                                12
                            ],
                            50,
                            [
                                "<=",
                                [
                                    "zoom"
                                ],
                                13
                            ],
                            20,
                            [
                                "<=",
                                [
                                    "zoom"
                                ],
                                14
                            ],
                            10,
                            1
                        ]
                    ],
                    0
                ]
            ],
            "layout": {
                "visibility": "visible"
            },
            "paint": {
                "circle-color": "hsl(204, 5%, 60%)",
                "circle-radius": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    10,
                    0.5,
                    13,
                    2,
                    16,
                    3,
                    20,
                    6
                ],
                "circle-stroke-color": "hsl(204, 5%, 60%)",
                "circle-stroke-width": 1
            }
        },
        {
            "id": "NWB-hectometreSigns-text",
            "type": "symbol",
            "source": "ndw_nwbHectometreSigns",
            "source-layer": "hectometreSigns",
            "metadata": {
                "group": "context-roads",
                "sub-group": "NWB-hectometersigns",
                "type": "context",
                "legend-name": "Hecotmeter borden tekst",
                "desc": "Grijze tekst naast de cirkel",
                "insert-before": "label"
            },
            "minzoom": 10,
            "filter": [
                "all",
                [
                    "==",
                    [
                        "%",
                        [
                            "get",
                            "hectometre"
                        ],
                        [
                            "case",
                            [
                                "<=",
                                [
                                    "zoom"
                                ],
                                10
                            ],
                            100,
                            [
                                "<=",
                                [
                                    "zoom"
                                ],
                                12
                            ],
                            50,
                            [
                                "<=",
                                [
                                    "zoom"
                                ],
                                13
                            ],
                            20,
                            [
                                "<=",
                                [
                                    "zoom"
                                ],
                                14
                            ],
                            10,
                            1
                        ]
                    ],
                    0
                ]
            ],
            "layout": {
                "visibility": "visible",
                "text-rotation-alignment": "viewport",
                "symbol-placement": "point",
                "text-field": [
                    "format",
                    [
                        "number-format",
                        [
                            "/",
                            [
                                "get",
                                "hectometre"
                            ],
                            10
                        ],
                        {
                            "min-fraction-digits": 1,
                            "max-fraction-digits": 1
                        }
                    ],
                    " ",
                    [
                        "get",
                        "letter"
                    ],
                    {
                        "font-scale": 0.85
                    }
                ],
                "text-font": [
                    "DM Sans Bold"
                ],
                "text-size": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    10,
                    6,
                    13,
                    10,
                    16,
                    11,
                    20,
                    12
                ],
                "text-anchor": "left",
                "text-offset": [
                    1,
                    0
                ]
            },
            "paint": {
                "text-color": "hsl(204, 5%, 40%)",
                "text-halo-color": "hsl(204, 5%, 100%)",
                "text-halo-width": 1
            }
        },
        {
            "id": "NWB-RoadNames-Number",
            "type": "symbol",
            "source": "ndw_nwbRoadSections",
            "source-layer": "roadSections",
            "metadata": {
                "group": "context-roads",
                "sub-group": "NWB-Road-names",
                "type": "context",
                "legend-name": "Weg nummers",
                "desc": "A en N wegen nummbers, grijs omvlakt",
                "insert-before": "label"
            },
            "minzoom": 6,
            "filter": [
                "all",
                [
                    "has",
                    "hectometreSignRoadNumber"
                ],
                [
                    "any",
                    [
                        "==",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "0"
                    ],
                    [
                        "==",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "1"
                    ],
                    [
                        "==",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "2"
                    ],
                    [
                        "==",
                        [
                            "get",
                            "functionalRoadClass"
                        ],
                        "3"
                    ]
                ]
            ],
            "layout": {
                "symbol-sort-key": [
                    "-",
                    8,
                    [
                        "to-number",
                        [
                            "get",
                            "functionalRoadClass"
                        ]
                    ]
                ],
                "symbol-placement": "line",
                "symbol-spacing": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    8,
                    400,
                    10,
                    250,
                    20,
                    500
                ],
                "text-field": "{hectometreSignRoadNumber}",
                "text-max-angle": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    6,
                    20,
                    8,
                    5,
                    20,
                    0
                ],
                "text-padding": 8,
                "text-font": [
                    "Noto Sans Bold"
                ],
                "text-size": [
                    "match",
                    [
                        "get",
                        "functionalRoadClass"
                    ],
                    "0",
                    12,
                    "1",
                    11,
                    "2",
                    11,
                    "3",
                    10,
                    0
                ],
                "text-rotation-alignment": "viewport"
            },
            "paint": {
                "text-color": "#f8f4f0",
                "text-halo-color": "hsl(196, 13%, 50%)",
                "text-halo-width": 30
            }
        },
        {
            "id": "NWB-hectometreSigns-rel",
            "type": "symbol",
            "source": "ndw_nwbHectometreSigns",
            "source-layer": "hectometreSigns",
            "metadata": {
                "group": "relevant-roads",
                "sub-group": "NWB-hectometersigns",
                "type": "relevant",
                "legend-name": "Hectometer borden",
                "desc": "Rood/Groene hectomer borden voor A wegen en Geel/Groene borden voor N wegen met nummering.",
                "insert-before": "label"
            },
            "filter": [
                "==",
                [
                    "%",
                    [
                        "get",
                        "hectometre"
                    ],
                    [
                        "case",
                        [
                            "<=",
                            [
                                "zoom"
                            ],
                            10
                        ],
                        100,
                        [
                            "<=",
                            [
                                "zoom"
                            ],
                            12
                        ],
                        50,
                        [
                            "<=",
                            [
                                "zoom"
                            ],
                            13
                        ],
                        20,
                        [
                            "<=",
                            [
                                "zoom"
                            ],
                            14
                        ],
                        10,
                        1
                    ]
                ],
                0
            ],
            "layout": {
                "visibility": "none",
                "icon-padding": 20,
                "text-rotation-alignment": "viewport",
                "symbol-placement": "point",
                "icon-image": [
                    "case",
                    [
                        "!",
                        [
                            "has",
                            "roadName"
                        ]
                    ],
                    "NDW:road_hectometre",
                    [
                        "in",
                        "A",
                        [
                            "get",
                            "roadName"
                        ]
                    ],
                    "NDW:road_hectometre-a-weg",
                    "NDW:road_hectometre-n-weg"
                ],
                "icon-size": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    7,
                    [
                        "case",
                        [
                            "in",
                            "A",
                            [
                                "get",
                                "roadName"
                            ]
                        ],
                        0.6,
                        0
                    ],
                    9,
                    [
                        "case",
                        [
                            "in",
                            "A",
                            [
                                "get",
                                "roadName"
                            ]
                        ],
                        0.8,
                        0
                    ],
                    10,
                    0.8,
                    13,
                    1,
                    16,
                    1,
                    20,
                    1.5
                ],
                "icon-ignore-placement": false,
                "icon-allow-overlap": false,
                "text-field": [
                    "case",
                    [
                        "!",
                        [
                            "has",
                            "roadName"
                        ]
                    ],
                    [
                        "format",
                        [
                            "number-format",
                            [
                                "/",
                                [
                                    "get",
                                    "hectometre"
                                ],
                                10
                            ],
                            {
                                "min-fraction-digits": 1,
                                "max-fraction-digits": 1
                            }
                        ],
                        " ",
                        [
                            "get",
                            "letter"
                        ],
                        {
                            "font-scale": 0.80
                        }
                    ],
                    [
                        "format",
                        [
                            "get",
                            "roadName"
                        ],
                        {
                            "font-scale": 0.9
                        },
                        " ",
                        [
                            "get",
                            "letter"
                        ],
                        {
                            "font-scale": 0.80
                        },
                        "\n",
                        [
                            "number-format",
                            [
                                "/",
                                [
                                    "get",
                                    "hectometre"
                                ],
                                10
                            ],
                            {
                                "min-fraction-digits": 1,
                                "max-fraction-digits": 1
                            }
                        ],
                        {
                            "text-color": "#fff"
                        }
                    ]
                ],
                "text-font": [
                    "DM Sans Bold"
                ],
                "text-rotation-alignment": "viewport",
                "text-offset": [
                    0,
                    0
                ],
                "icon-offset": [
                    0,
                    0
                ],
                "text-size": [
                    "interpolate",
                    [
                        "linear"
                    ],
                    [
                        "zoom"
                    ],
                    8,
                    [
                        "case",
                        [
                            "in",
                            "A",
                            [
                                "get",
                                "roadName"
                            ]
                        ],
                        6,
                        0
                    ],
                    9,
                    [
                        "case",
                        [
                            "in",
                            "A",
                            [
                                "get",
                                "roadName"
                            ]
                        ],
                        8,
                        0
                    ],
                    10,
                    8,
                    13,
                    10,
                    16,
                    11,
                    20,
                    14
                ]
            },
            "paint": {
                "text-color": [
                    "case",
                    [
                        "!",
                        [
                            "has",
                            "roadName"
                        ]
                    ],
                    "#fff",
                    [
                        "in",
                        "A",
                        [
                            "get",
                            "roadName"
                        ]
                    ],
                    "#fff",
                    "#000"
                ]
            }
        }
    ]
}
