{
  "version": 8,
  "name": "ch.vectormap.lightbasemap",
  "metadata": {
    "maptiler:template": {
      "groups": [
        {
          "id": "4rZcx2YUdbGIJ_xQaDQb6",
          "name": "label",
          "icon": "variant2",
          "layers": [
            "place_country",
            "place_city",
            "area_name_massif_label",
            "park_label",
            "water_name_point_label",
            "area_name_glacier_line_label",
            "area_name_glacier_point_label",
            "place_town_village",
            "place_other"
          ]
        },
        {
          "id": "spbW1YO3D6JmGqVeeVEo3",
          "name": "poi",
          "icon": "poi",
          "layers": ["poi_rank1", "poi_rank2"]
        },
        {
          "id": "Egb2j0u2wyQyI8FftRcqF",
          "name": "mountain_peak",
          "icon": "terrain",
          "layers": ["peaks_rank1", "peaks_rank2"]
        },
        {
          "id": "o-n3H-7f0sOIKwDFxFRaG",
          "name": "infrastructure",
          "icon": "builtUp",
          "layers": [
            "building_casing",
            "building",
            "building_ln",
            "construct",
            "construct_line"
          ]
        },
        {
          "id": "_olyvAt6o8QUN9qePUZap",
          "name": "transportation",
          "icon": "transport",
          "layers": [
            "road_number",
            "transportation_label",
            "l2_fill",
            "l2_road_casing",
            "l1_public_transport",
            "l1_fill",
            "l1_road_casing",
            "public_transport",
            "road_fill",
            "road_casing",
            "road_via_ferrata_trail",
            "tunnel_road",
            "tunnel_pedestrian",
            "tunnel_public_transport",
            "aerodrome_label",
            "aeroway_polygon_fill",
            "aeroway_polygon_casing",
            "landuse_parking",
            "landuse_parking_outline",
            "l2_public_transport_aerialway",
            "l1_2_pedestrian",
            "road_path_footway_ferry"
          ]
        },
        {
          "id": "z959Ue-RzB_dh5_EJgGry",
          "name": "boundary",
          "icon": "administrative",
          "layers": ["boundary", "boundary_disputed", "park"]
        },
        {
          "id": "jQ4N1YUSpDNjoXrIHGNpp",
          "name": "water",
          "icon": "water",
          "layers": [
            "waterway_line_label",
            "water_outline",
            "water_line_intermittent",
            "water",
            "contour_line_blue",
            "water_line"
          ]
        },
        {
          "id": "QZWB1txCT3r3H5wy13N86",
          "name": "land",
          "icon": "nature",
          "layers": [
            "pattern_landcover",
            "landcover",
            "landcover_casing",
            "landuse_outline",
            "landuse",
            "hazard"
          ]
        },
        {
          "id": "terrain",
          "name": "terrain",
          "icon": "terrain",
          "layers": [
            "hillshade_grey",
            "hillshade_yellow",
            "hachure",
            "scree_z11",
            "scree_z13",
            "scree_z15",
            "scree_z17",
            "contour_line",
            "spot_elevation",
            "contour_line_pt"
          ]
        },
        {
          "id": "background",
          "name": "Background",
          "icon": "background",
          "layers": ["background"]
        }
      ],
      "viewState": {
        "toolPanelType": "Layers",
        "mapType": "Style",
        "layersViewPanelType": "Verticality",
        "propertyPanelType": "Edit",
        "activeBlock": "QZWB1txCT3r3H5wy13N86",
        "selectedLayers": ["hazard"],
        "editorFocusProperty": null
      },
      "userSettings": {"preferredViewPanelType": "Verticality"},
      "spaceColor": "#F7FBFD"
    },
    "ga:version": "v1.25.0",
    "ga:publisher": "CI-release:df36b7e2-5f60-45d8-b0f3-3c321e351fc1",
    "ga:branch": "master",
    "maputnik:renderer": "mlgljs"
  },
  "center": [8.349961425056108, 46.81133904939108],
  "zoom": 7.2512975045452235,
  "bearing": 0,
  "pitch": 0,
  "sources": {
    "relief_v1.0.0": {
      "url": "https://vectortiles.geo.admin.ch/tiles/ch.swisstopo.relief.vt/v1.0.0/tiles.json",
      "type": "vector"
    },
    "base_v1.0.0": {
      "url": "https://vectortiles.geo.admin.ch/tiles/ch.swisstopo.base.vt/v1.0.0/tiles.json",
      "type": "vector"
    },
    "vectormap_av": {
      "type": "vector",
      "url": "pmtiles://https://vectormap.ch/pmtiles/av/av.pmtiles",
      "attribution": "© swisstopo, © vectormap"
    }
  },
  "sprite": "https://vectortiles.geo.admin.ch/styles/ch.swisstopo.lightbasemap.vt/sprite/sprite",
  "glyphs": "https://vectortiles.geo.admin.ch/fonts/{fontstack}/{range}.pbf",
  "transition": {},
  "layers": [
    {
      "id": "background",
      "type": "background",
      "layout": {"visibility": "visible"},
      "paint": {"background-color": "rgba(252, 252, 252, 1)"}
    },
    {
      "id": "hillshade_grey",
      "type": "fill",
      "source": "relief_v1.0.0",
      "source-layer": "hillshade",
      "filter": ["all", ["<", "luminosity", 0]],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": [
          "match",
          ["get", "luminosity"],
          -15,
          "rgb(200,210,213)",
          -14,
          "rgb(203,213,216)",
          -13,
          "rgb(207,215,218)",
          -12,
          "rgb(210,218,221)",
          -11,
          "rgb(213,221,224)",
          -10,
          "rgb(217,224,226)",
          -9,
          "rgb(220,227,229)",
          -8,
          "rgb(224,230,231)",
          -7,
          "rgb(227,232,234)",
          -6,
          "rgb(231,235,237)",
          -5,
          "rgb(234,238,239)",
          -4,
          "rgb(238,241,242)",
          -3,
          "rgb(241,244,245)",
          -2,
          "rgb(245,247,247)",
          -1,
          "rgb(248,249,250)",
          "rgb(252, 252, 252)"
        ],
        "fill-opacity": {"stops": [[1, 0.5], [8, 1]]}
      }
    },
    {
      "id": "hillshade_yellow",
      "type": "fill",
      "source": "relief_v1.0.0",
      "source-layer": "hillshade",
      "minzoom": 6,
      "filter": [
        "all",
        [">", "luminosity", 0],
        ["!in", "mask", "rock", "ice", "scree"]
      ],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "rgba(255, 217, 5, 1)",
        "fill-opacity": [
          "interpolate",
          ["linear"],
          ["zoom"],
          9,
          0.015,
          11,
          0.02
        ]
      }
    },
    {
      "id": "scree_z17",
      "type": "fill",
      "source": "relief_v1.0.0",
      "source-layer": "scree",
      "minzoom": 17,
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-opacity": [
          "interpolate",
          ["linear"],
          ["zoom"],
          9,
          0,
          11,
          0.2,
          14,
          0.25
        ],
        "fill-pattern": [
          "match",
          ["get", "weight"],
          15,
          "scree_very_large_1",
          10,
          "scree_very_large_2",
          5,
          "scree_very_large_3",
          1,
          "scree_very_large_4",
          ""
        ]
      }
    },
    {
      "id": "scree_z15",
      "type": "fill",
      "source": "relief_v1.0.0",
      "source-layer": "scree",
      "minzoom": 15,
      "maxzoom": 17,
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-opacity": [
          "interpolate",
          ["linear"],
          ["zoom"],
          9,
          0,
          11,
          0.2,
          14,
          0.25
        ],
        "fill-pattern": [
          "match",
          ["get", "weight"],
          15,
          "scree_large_1",
          10,
          "scree_large_2",
          5,
          "scree_large_3",
          1,
          "scree_large_4",
          ""
        ]
      }
    },
    {
      "id": "scree_z13",
      "type": "fill",
      "source": "relief_v1.0.0",
      "source-layer": "scree",
      "minzoom": 13,
      "maxzoom": 15,
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-opacity": [
          "interpolate",
          ["linear"],
          ["zoom"],
          11,
          0,
          12,
          0.2,
          14,
          0.25
        ],
        "fill-pattern": [
          "match",
          ["get", "weight"],
          15,
          "scree_medium_1",
          10,
          "scree_medium_2",
          5,
          "scree_medium_3",
          1,
          "scree_medium_4",
          ""
        ]
      }
    },
    {
      "id": "scree_z11",
      "type": "fill",
      "source": "relief_v1.0.0",
      "source-layer": "scree",
      "minzoom": 11,
      "maxzoom": 13,
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-opacity": [
          "interpolate",
          ["linear"],
          ["zoom"],
          11,
          0,
          12,
          0.2,
          14,
          0.25
        ],
        "fill-pattern": [
          "match",
          ["get", "weight"],
          15,
          "scree_small_1",
          10,
          "scree_small_2",
          5,
          "scree_small_3",
          1,
          "scree_small_4",
          ""
        ]
      }
    },
    {
      "id": "contour_line",
      "type": "line",
      "metadata": {"maputnik:comment": "color: rgb(191,138,64)"},
      "source": "base_v1.0.0",
      "source-layer": "contour_line",
      "minzoom": 13,
      "filter": ["all", ["!in", "class", "rock", "ice", "water"]],
      "layout": {"visibility": "visible"},
      "paint": {
        "line-blur": 0.4,
        "line-color": [
          "match",
          ["get", "class"],
          ["ice", "water"],
          "rgb(0,136,208)",
          ["scree"],
          "rgb(0,0,0)",
          "rgb(191,138,64)"
        ],
        "line-width": [
          "interpolate",
          ["exponential", 1],
          ["zoom"],
          12,
          ["match", ["%", ["to-number", ["get", "ele"]], 100], 0, 0.75, 0],
          14,
          ["match", ["%", ["to-number", ["get", "ele"]], 100], 0, 1, 0],
          15,
          [
            "match",
            ["%", ["to-number", ["get", "ele"]], 100],
            0,
            1.5,
            [20, 40, 60, 80],
            0.75,
            0
          ],
          18,
          [
            "match",
            ["%", ["to-number", ["get", "ele"]], 100],
            0,
            2,
            [20, 40, 60, 80],
            1.5,
            1
          ]
        ],
        "line-opacity": [
          "interpolate",
          ["linear"],
          ["zoom"],
          13,
          ["match", ["get", "class"], ["scree", "ice", "water"], 0.25, 0.45],
          14,
          ["match", ["get", "class"], ["scree", "ice", "water"], 0.3, 0.55]
        ]
      }
    },
    {
      "id": "av_forest",
      "type": "fill",
      "source": "vectormap_av",
      "source-layer": "Bodenbedeckung",
      "minzoom": 15,
      "filter": [
        "any",
        ["==", "Art", "geschlossener_Wald"],
        ["==", "Art", "uebrige_bestockte"],
        ["==", "Art", "Wytweide_dicht"]
      ],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "rgb(186, 210, 172)",
        "fill-opacity": ["interpolate", ["linear"], ["zoom"], 15, 0, 15.5, 0.3],
        "fill-translate-anchor": "map"
      }
    },
    {
      "id": "av_garden",
      "type": "fill",
      "source": "vectormap_av",
      "source-layer": "Bodenbedeckung",
      "minzoom": 15,
      "filter": ["any", ["==", "Art", "Gartenanlage"]],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "rgb(225, 233, 220)",
        "fill-opacity": ["interpolate", ["linear"], ["zoom"], 15, 0, 15.5, 0.3],
        "fill-translate-anchor": "map"
      }
    },
    {
      "id": "av_farmland",
      "type": "fill",
      "source": "vectormap_av",
      "source-layer": "Bodenbedeckung",
      "minzoom": 15,
      "filter": [
        "any",
        ["==", "Art", "Acker_Wiese_Weide"],
        ["==", "Art", "Reben"],
        ["==", "Art", "uebrige_humusierte"],
        ["==", "Art", "uebrige_Intensivkultur"],
        ["==", "Art", "Wytweide_offen"]
      ],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "rgb(215, 224, 209)",
        "fill-opacity": ["interpolate", ["linear"], ["zoom"], 15, 0, 15.5, 0.3],
        "fill-translate-anchor": "map"
      }
    },
    {
      "id": "av_wetland",
      "type": "fill",
      "source": "vectormap_av",
      "source-layer": "Bodenbedeckung",
      "minzoom": 15,
      "filter": [
        "any",
        ["==", "Art", "Hoch_Flachmoor"],
        ["==", "Art", "Schilfguertel"]
      ],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "rgb(204, 229, 245)",
        "fill-opacity": ["interpolate", ["linear"], ["zoom"], 15, 0, 15.5, 0.3],
        "fill-translate-anchor": "map"
      }
    },
    {
      "id": "av_quarry",
      "type": "fill",
      "source": "vectormap_av",
      "source-layer": "Bodenbedeckung",
      "minzoom": 15,
      "filter": ["any", ["==", "Art", "Abbau_Deponie"]],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "rgb(240, 218, 188)",
        "fill-opacity": ["interpolate", ["linear"], ["zoom"], 15, 0, 15.5, 0.3],
        "fill-translate-anchor": "map"
      }
    },
    {
      "id": "av_sand",
      "type": "fill",
      "source": "vectormap_av",
      "source-layer": "Bodenbedeckung",
      "minzoom": 15,
      "filter": ["any", ["==", "Art", "Geroell_Sand"]],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "rgb(240, 218, 188)",
        "fill-opacity": ["interpolate", ["linear"], ["zoom"], 15, 0, 15.5, 0.3],
        "fill-translate-anchor": "map"
      }
    },
    {
      "id": "av_glacier",
      "type": "fill",
      "source": "vectormap_av",
      "source-layer": "Bodenbedeckung",
      "minzoom": 15,
      "filter": ["any", ["==", "Art", "Gletscher_Firn"]],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "rgb(205, 232, 244)",
        "fill-opacity": ["interpolate", ["linear"], ["zoom"], 15, 0, 15.5, 0],
        "fill-translate-anchor": "map"
      }
    },
    {
      "id": "av_rock",
      "type": "fill",
      "source": "vectormap_av",
      "source-layer": "Bodenbedeckung",
      "minzoom": 15,
      "filter": [
        "any",
        ["==", "Art", "Fels"],
        ["==", "Art", "uebrige_vegetationslose"]
      ],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "rgb(215, 224, 209)",
        "fill-opacity": ["interpolate", ["linear"], ["zoom"], 15, 0, 15.5, 0.3],
        "fill-translate-anchor": "map"
      }
    },
    {
      "id": "av_water",
      "type": "fill",
      "source": "vectormap_av",
      "source-layer": "Bodenbedeckung",
      "minzoom": 15,
      "filter": [
        "any",
        ["==", "Art", "Gewaesser_fliessendes"],
        ["==", "Art", "Gewaesser_stehendes"]
      ],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "rgb(199, 224, 245)",
        "fill-opacity": ["interpolate", ["linear"], ["zoom"], 15, 0, 15.5, 1],
        "fill-translate-anchor": "map"
      }
    },
    {
      "id": "av_water_tank",
      "type": "fill",
      "source": "vectormap_av",
      "source-layer": "Bodenbedeckung",
      "minzoom": 15,
      "filter": ["any", ["==", "Art", "Wasserbecken"]],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "rgb(199, 224, 245)",
        "fill-opacity": ["interpolate", ["linear"], ["zoom"], 15, 0, 15.5, 1],
        "fill-translate-anchor": "map",
        "fill-antialias": false
      }
    },
    {
      "id": "av_airport",
      "type": "fill",
      "source": "vectormap_av",
      "source-layer": "Bodenbedeckung",
      "minzoom": 15,
      "filter": ["any", ["==", "Art", "Flugplatz"]],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "hsl(220, 4%, 94%)",
        "fill-opacity": ["interpolate", ["linear"], ["zoom"], 15, 0, 15.5, 1],
        "fill-translate-anchor": "map"
      }
    },
    {
      "id": "av_rail",
      "type": "fill",
      "source": "vectormap_av",
      "source-layer": "Bodenbedeckung",
      "minzoom": 15,
      "filter": ["any", ["==", "Art", "Bahn"]],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "hsl(0, 0%, 96%)",
        "fill-opacity": ["interpolate", ["linear"], ["zoom"], 15, 0, 15.5, 1],
        "fill-translate-anchor": "map"
      }
    },
    {
      "id": "av_road",
      "type": "fill",
      "source": "vectormap_av",
      "source-layer": "Bodenbedeckung",
      "minzoom": 15,
      "filter": ["any", ["==", "Art", "Strasse_Weg"]],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "hsl(0, 0%, 98%)",
        "fill-opacity": ["interpolate", ["linear"], ["zoom"], 15, 0, 15.5, 1],
        "fill-translate-anchor": "map"
      }
    },
    {
      "id": "av_sidewalk",
      "type": "fill",
      "source": "vectormap_av",
      "source-layer": "Bodenbedeckung",
      "minzoom": 15,
      "filter": ["any", ["==", "Art", "Trottoir"]],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "hsl(0, 0%, 93%)",
        "fill-opacity": ["interpolate", ["linear"], ["zoom"], 15, 0, 15.5, 1],
        "fill-translate-anchor": "map"
      }
    },
    {
      "id": "av_traffic_island",
      "type": "fill",
      "source": "vectormap_av",
      "source-layer": "Bodenbedeckung",
      "minzoom": 15,
      "filter": ["any", ["==", "Art", "Verkehrsinsel"]],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "hsl(220, 4%, 92%)",
        "fill-opacity": ["interpolate", ["linear"], ["zoom"], 15, 0, 15.5, 1],
        "fill-translate-anchor": "map"
      }
    },
    {
      "id": "av_other_paved",
      "type": "fill",
      "source": "vectormap_av",
      "source-layer": "Bodenbedeckung",
      "minzoom": 15,
      "filter": ["any", ["==", "Art", "uebrige_befestigte"]],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "hsl(220, 3%, 88%)",
        "fill-opacity": ["interpolate", ["linear"], ["zoom"], 15, 0, 15.5, 1],
        "fill-translate-anchor": "map"
      }
    },
    {
      "id": "av_building",
      "type": "fill",
      "source": "vectormap_av",
      "source-layer": "Bodenbedeckung",
      "minzoom": 15,
      "filter": ["all", ["==", "Art", "Gebaeude"]],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": [
          "interpolate",
          ["linear"],
          ["zoom"],
          13,
          "hsl(220, 10%, 82%)",
          17,
          "hsl(220, 10%, 75%)"
        ],
        "fill-opacity": ["interpolate", ["linear"], ["zoom"], 15, 0, 15.5, 1],
        "fill-translate-anchor": "map"
      }
    },
    {
      "id": "av_surface_other",
      "type": "fill",
      "source": "vectormap_av",
      "source-layer": "Bodenbedeckung",
      "minzoom": 15,
      "filter": [
        "all",
        [
          "!in",
          "Art",
          "geschlossener_Wald",
          "uebrige_bestockte",
          "Wytweide_dicht",
          "Gartenanlage",
          "Acker_Wiese_Weide",
          "Reben",
          "uebrige_humusierte",
          "uebrige_Intensivkultur",
          "Wytweide_offen",
          "Hoch_Flachmoor",
          "Schilfguertel",
          "Abbau_Deponie",
          "Geroell_Sand",
          "Gletscher_Firn",
          "Fels",
          "uebrige_vegetationslose",
          "Gewaesser_fliessendes",
          "Gewaesser_stehendes",
          "Wasserbecken",
          "Flugplatz",
          "Bahn",
          "Strasse_Weg",
          "Trottoir",
          "Verkehrsinsel",
          "uebrige_befestigte",
          "Gebaeude"
        ]
      ],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "rgb(215, 224, 209)",
        "fill-opacity": ["interpolate", ["linear"], ["zoom"], 15, 0, 15.5, 0.3],
        "fill-translate-anchor": "map"
      }
    },
    {
      "id": "landcover",
      "type": "fill",
      "source": "base_v1.0.0",
      "source-layer": "landcover",
      "minzoom": 5,
      "filter": [
        "any",
        [
          "match",
          ["get", "subclass"],
          [
            "allotments",
            "forest",
            "glacier",
            "golf_course",
            "park",
            "plant_nursery",
            "recreation_ground",
            "scrub",
            "woody_plant",
            "loose_forest"
          ],
          true,
          false
        ],
        [
          "case",
          ["==", ["typeof", ["get", "class"]], "string"],
          ["match", ["get", "class"], ["sand"], true, false],
          false
        ]
      ],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": [
          "match",
          ["get", "class"],
          ["forest", "wood"],
          "rgb(186, 210, 172)",
          ["ice", "glacier"],
          "rgb(205, 232, 244)",
          "wetland",
          "rgb(204, 229, 245)",
          "sand",
          "rgb(240, 218, 188)",
          "rgb(215, 224, 209)"
        ],
        "fill-opacity": [
          "interpolate",
          ["exponential", 1.5],
          ["zoom"],
          5,
          0,
          6,
          ["match", ["get", "class"], ["ice", "glacier"], 0.3, 0],
          10,
          ["match", ["get", "class"], ["ice", "glacier"], 0.2, 0],
          11,
          ["match", ["get", "class"], ["ice", "glacier"], 0.2, 0.3],
          14,
          ["match", ["get", "class"], ["ice", "glacier"], 0, 0.3],
          15,
          ["match", ["get", "class"], ["ice", "glacier"], 0, 0.3],
          15.5,
          0
        ],
        "fill-antialias": false
      }
    },
    {
      "id": "landcover_casing",
      "type": "line",
      "source": "base_v1.0.0",
      "source-layer": "landcover",
      "minzoom": 10,
      "filter": [
        "all",
        [
          "in",
          "subclass",
          "wood",
          "scrub",
          "recreation_ground",
          "park",
          "golf_course",
          "allotments",
          "plant_nursery",
          "forest"
        ]
      ],
      "layout": {"visibility": "visible"},
      "paint": {
        "line-blur": 0.5,
        "line-color": "rgb(186, 199, 172)",
        "line-width": [
          "interpolate",
          ["exponential", 1.5],
          ["zoom"],
          6,
          0,
          11,
          0.25,
          16,
          0.75
        ],
        "line-opacity": [
          "interpolate",
          ["exponential", 1.5],
          ["zoom"],
          12,
          0,
          14,
          1,
          15,
          1,
          15.5,
          0
        ]
      }
    },
    {
      "id": "landuse",
      "type": "fill",
      "source": "base_v1.0.0",
      "source-layer": "landuse",
      "filter": [
        "all",
        ["in", "class", "landfill", "cemetery", "quarry", "zoo", "pitch"]
      ],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": [
          "match",
          ["get", "class"],
          ["pitch"],
          "rgb(224,234,221)",
          ["landfill", "quarry"],
          "rgb(240, 218, 188)",
          ["cemetery", "zoo"],
          "rgb(215, 224, 209)",
          ["parking"],
          "rgb(255, 255, 255)",
          "rgb(215, 224, 209)"
        ],
        "fill-opacity": [
          "interpolate",
          ["linear"],
          ["zoom"],
          15,
          ["match", ["get", "class"], ["pitch"], 1, 0.3],
          15.5,
          0
        ]
      }
    },
    {
      "id": "landuse_outline",
      "type": "line",
      "source": "base_v1.0.0",
      "source-layer": "landuse",
      "filter": ["all", ["in", "class", "cemetery", "zoo", "pitch"]],
      "layout": {"visibility": "visible"},
      "paint": {
        "line-color": [
          "match",
          ["get", "class"],
          ["pitch"],
          "rgb(130, 130, 130)",
          "rgba(186, 199, 172, 1)"
        ],
        "line-width": [
          "interpolate",
          ["exponential", 1.5],
          ["zoom"],
          11,
          0.25,
          16,
          0.75
        ],
        "line-opacity": {"stops": [[14, 0], [15, 1], [15.5, 0]]}
      }
    },
    {
      "id": "water_line_intermittent",
      "type": "line",
      "source": "base_v1.0.0",
      "source-layer": "waterway",
      "minzoom": 12,
      "filter": ["all", ["==", "intermittent", 1]],
      "layout": {"visibility": "visible"},
      "paint": {
        "line-blur": 0,
        "line-color": "rgba(48, 48, 48, 1)",
        "line-width": [
          "interpolate",
          ["exponential", 1.5],
          ["zoom"],
          13,
          [
            "match",
            ["to-string", ["get", "width"]],
            ["10", "9", "8"],
            3.5,
            ["7", "6", "5"],
            2.5,
            ["4", "3"],
            1.5,
            ["1", "2"],
            1,
            ["match", ["get", "class"], ["river", "canal"], 3.5, 1]
          ],
          16,
          [
            "match",
            ["to-string", ["get", "width"]],
            "10",
            5,
            "9",
            4.5,
            "8",
            4,
            "7",
            3.5,
            ["6", "5"],
            3,
            "4",
            2.5,
            "3",
            2,
            "2",
            1.5,
            "1",
            1,
            ["match", ["get", "class"], ["river", "canal"], 5, 1.5]
          ],
          20,
          [
            "match",
            ["to-string", ["get", "width"]],
            "10",
            10,
            "9",
            9.6,
            "8",
            8.9,
            "7",
            8.2,
            "6",
            7.5,
            "5",
            6.8,
            "4",
            6.1,
            "3",
            5.4,
            "2",
            4.7,
            "1",
            4,
            ["match", ["get", "class"], ["river", "canal"], 10, 4]
          ]
        ],
        "line-offset": 0,
        "line-opacity": {"stops": [[13, 0.25], [16, 0.35]]},
        "line-dasharray": {
          "stops": [
            [13, [0.5, 3]],
            [14, [0.75, 4.5]],
            [15, [1, 6]],
            [16, [1.25, 7.5]]
          ]
        }
      }
    },
    {
      "id": "water_line",
      "type": "line",
      "source": "base_v1.0.0",
      "source-layer": "waterway",
      "minzoom": 7,
      "maxzoom": 15,
      "filter": [
        "all",
        ["!=", "intermittent", 1],
        ["!in", "class", "riverbank", "shoreline", "shoreline_changing_level"]
      ],
      "layout": {"visibility": "visible"},
      "paint": {
        "line-blur": 0,
        "line-color": [
          "interpolate",
          ["linear"],
          ["zoom"],
          10,
          "rgba(138, 195, 229, 1)",
          16,
          [
            "match",
            ["get", "class"],
            ["river", "canal"],
            "rgba(160, 205, 236, 1)",
            "rgba(140, 185, 226, 1)"
          ]
        ],
        "line-width": [
          "interpolate",
          ["exponential", 1.5],
          ["zoom"],
          7,
          1,
          10,
          [
            "match",
            ["to-string", ["get", "width"]],
            ["10", "9", "8", "7", "6"],
            1.5,
            ["5", "4", "3", "2", "1"],
            1,
            ["match", ["get", "class"], ["river", "canal"], 1.5, 1]
          ],
          13,
          [
            "match",
            ["to-string", ["get", "width"]],
            ["10", "9", "8"],
            3.5,
            ["7", "6", "5"],
            2.5,
            ["4", "3"],
            1.5,
            ["1", "2"],
            1,
            ["match", ["get", "class"], ["river", "canal"], 3.5, 1]
          ],
          16,
          [
            "match",
            ["to-string", ["get", "width"]],
            "10",
            5,
            "9",
            4.5,
            "8",
            4,
            "7",
            3.5,
            ["6", "5"],
            3,
            "4",
            2.5,
            "3",
            2,
            "2",
            1.5,
            "1",
            1,
            ["match", ["get", "class"], ["river", "canal"], 5, 1.5]
          ],
          20,
          [
            "match",
            ["to-string", ["get", "width"]],
            "10",
            10,
            "9",
            9.6,
            "8",
            8.9,
            "7",
            8.2,
            "6",
            7.5,
            "5",
            6.8,
            "4",
            6.1,
            "3",
            5.4,
            "2",
            4.7,
            "1",
            4,
            ["match", ["get", "class"], ["river", "canal"], 10, 4]
          ]
        ],
        "line-offset": 0,
        "line-opacity": 0.7
      }
    },
    {
      "id": "water",
      "type": "fill",
      "source": "base_v1.0.0",
      "source-layer": "water",
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": [
          "interpolate",
          ["exponential", 1.5],
          ["zoom"],
          4,
          "rgb(209, 228, 240)",
          10,
          "rgb(199, 224, 245)"
        ],
        "fill-opacity": ["interpolate", ["linear"], ["zoom"], 15, 1, 15.5, 0]
      }
    },
    {
      "id": "hachure",
      "type": "fill",
      "source": "relief_v1.0.0",
      "source-layer": "hachure",
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": [
          "match",
          ["get", "class"],
          1,
          "rgba(32, 32, 32, 1)",
          "hsl(203, 60%, 46%)"
        ],
        "fill-opacity": [
          "interpolate",
          ["linear"],
          ["zoom"],
          9,
          0,
          11,
          0.2,
          14,
          0.25
        ],
        "fill-antialias": false
      }
    },
    {
      "id": "contour_line_blue",
      "type": "line",
      "metadata": {"maputnik:comment": "color: rgb(191, 138, 64)"},
      "source": "base_v1.0.0",
      "source-layer": "contour_line",
      "minzoom": 13,
      "filter": ["in", "class", "ice", "water"],
      "layout": {"visibility": "visible"},
      "paint": {
        "line-blur": 0.4,
        "line-color": "rgb(0,136,208)",
        "line-width": [
          "interpolate",
          ["exponential", 1],
          ["zoom"],
          12,
          [
            "case",
            ["has", "lake_depth"],
            [
              "match",
              ["%", ["to-number", ["get", "lake_depth"]], 100],
              0,
              0.75,
              0
            ],
            ["match", ["%", ["to-number", ["get", "ele"]], 100], 0, 0.75, 0]
          ],
          14,
          [
            "case",
            ["has", "lake_depth"],
            [
              "match",
              ["%", ["to-number", ["get", "lake_depth"]], 100],
              0,
              1,
              0
            ],
            ["match", ["%", ["to-number", ["get", "ele"]], 100], 0, 1, 0]
          ],
          15,
          [
            "case",
            ["has", "lake_depth"],
            [
              "match",
              ["%", ["to-number", ["get", "lake_depth"]], 100],
              0,
              1.5,
              [20, 40, 60, 80],
              0.75,
              0
            ],
            [
              "match",
              ["%", ["to-number", ["get", "ele"]], 100],
              0,
              1.5,
              [20, 40, 60, 80],
              0.75,
              0
            ]
          ],
          18,
          [
            "case",
            ["has", "lake_depth"],
            [
              "match",
              ["%", ["to-number", ["get", "lake_depth"]], 100],
              0,
              2,
              [20, 40, 60, 80],
              1.5,
              1
            ],
            [
              "match",
              ["%", ["to-number", ["get", "ele"]], 100],
              0,
              2,
              [20, 40, 60, 80],
              1.5,
              1
            ]
          ]
        ],
        "line-opacity": [
          "interpolate",
          ["linear"],
          ["zoom"],
          13,
          ["match", ["get", "class"], ["scree", "ice", "water"], 0.25, 0.45],
          14,
          ["match", ["get", "class"], ["scree", "ice", "water"], 0.3, 0.55]
        ]
      }
    },
    {
      "id": "water_outline",
      "type": "line",
      "source": "base_v1.0.0",
      "source-layer": "water",
      "filter": ["all", ["!=", "class", "ocean"]],
      "layout": {"visibility": "visible"},
      "paint": {
        "line-blur": 0.5,
        "line-color": "rgba(133, 189, 224, 1)",
        "line-width": 0.5,
        "line-opacity": [
          "interpolate",
          ["exponential", 1.5],
          ["zoom"],
          0,
          0,
          8,
          1,
          14,
          0
        ]
      }
    },
    {
      "id": "pattern_landcover",
      "type": "fill",
      "source": "base_v1.0.0",
      "source-layer": "landcover",
      "minzoom": 13,
      "filter": ["in", "subclass", "orchard", "swamp", "vineyard"],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-opacity": [
          "interpolate",
          ["exponential", 2],
          ["zoom"],
          13,
          0,
          13.2,
          ["match", ["get", "class"], "orchard", 0.8, "vineyard", 0.6, 0.4],
          15,
          [
            "match",
            ["get", "class"],
            "orchard",
            0.8777,
            "vineyard",
            0.7555,
            0.6332
          ],
          15.5,
          0
        ],
        "fill-pattern": [
          "match",
          ["get", "subclass"],
          "orchard",
          "orchard_green",
          "swamp",
          "wetland_blue",
          "vineyard",
          "vinyard_green",
          ""
        ],
        "fill-antialias": true
      }
    },
    {
      "id": "park",
      "type": "line",
      "source": "base_v1.0.0",
      "source-layer": "park",
      "minzoom": 7,
      "filter": ["all", ["in", "class", "national_park"]],
      "layout": {"visibility": "visible"},
      "paint": {
        "line-color": "rgba(171, 197, 159, 1)",
        "line-width": [
          "interpolate",
          ["exponential", 1.5],
          ["zoom"],
          9,
          1.5,
          15,
          8,
          18,
          12
        ],
        "line-opacity": [
          "interpolate",
          ["linear"],
          ["zoom"],
          7,
          0,
          8,
          1,
          13,
          1,
          14,
          0.6
        ]
      }
    },
    {
      "id": "boundary_disputed",
      "type": "line",
      "source": "base_v1.0.0",
      "source-layer": "boundary",
      "filter": [
        "all",
        ["in", "admin_level", 2, 4],
        ["!=", "maritime", 1],
        ["==", "disputed", 1],
        ["==", "$type", "LineString"]
      ],
      "layout": {
        "line-cap": "square",
        "line-join": "miter",
        "visibility": "visible"
      },
      "paint": {
        "line-blur": 1,
        "line-color": {
          "stops": [[6, "hsl(300, 55%, 80%)"], [9, "hsl(315, 40%, 85%)"]]
        },
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          2,
          ["match", ["get", "admin_level"], 2, 1, 0],
          3,
          ["match", ["get", "admin_level"], 2, 2, 1],
          7,
          ["match", ["get", "admin_level"], 2, 4, 1.5],
          18,
          ["match", ["get", "admin_level"], 2, 16, 10]
        ],
        "line-opacity": {"stops": [[13, 1], [14, 0.7]]},
        "line-dasharray": [1.5, 2.5]
      }
    },
    {
      "id": "boundary",
      "type": "line",
      "source": "base_v1.0.0",
      "source-layer": "boundary",
      "filter": [
        "all",
        ["in", "admin_level", 2, 4],
        ["!=", "maritime", 1],
        ["!=", "disputed", 1],
        ["==", "$type", "LineString"]
      ],
      "layout": {
        "line-cap": ["literal", "round"],
        "line-join": ["literal", "miter"],
        "visibility": "visible"
      },
      "paint": {
        "line-blur": 1,
        "line-color": {
          "stops": [[6, "hsl(300, 55%, 80%)"], [9, "hsl(315, 40%, 85%)"]]
        },
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          2,
          ["match", ["get", "admin_level"], 2, 1, 0],
          3,
          ["match", ["get", "admin_level"], 2, 2, 1],
          7,
          ["match", ["get", "admin_level"], 2, 3, 1],
          18,
          ["match", ["get", "admin_level"], 2, 16, 10]
        ],
        "line-opacity": {"stops": [[13, 1], [14, 0.8]]}
      }
    },
    {
      "id": "tunnel_public_transport",
      "type": "line",
      "source": "base_v1.0.0",
      "source-layer": "transportation",
      "minzoom": 8,
      "filter": [
        "all",
        ["==", "brunnel", "tunnel"],
        ["in", "class", "rail", "transit", "cable_car", "gondola"],
        ["==", "$type", "LineString"]
      ],
      "layout": {
        "line-cap": "butt",
        "line-join": "miter",
        "visibility": "visible"
      },
      "paint": {
        "line-blur": [
          "interpolate",
          ["linear"],
          ["zoom"],
          8,
          [
            "match",
            ["get", "class"],
            ["rail"],
            [
              "match",
              ["get", "subclass"],
              ["rail", "narrow_gauge", "rack_rail"],
              ["match", ["get", "service"], ["yard", "siding"], 2.5, 0.6],
              0.6
            ],
            0.6
          ],
          14,
          [
            "match",
            ["get", "class"],
            ["rail"],
            [
              "match",
              ["get", "subclass"],
              ["rail", "narrow_gauge", "rack_rail"],
              ["match", ["get", "service"], ["yard", "siding"], 2.5, 0.6],
              0.6
            ],
            0.6
          ],
          18,
          0.4
        ],
        "line-color": {
          "stops": [[7, "rgba(255, 50, 50, 1)"], [15, "rgba(255, 80, 80, 1)"]]
        },
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          9,
          ["match", ["get", "subclass"], "rail", 0.75, 0],
          10,
          [
            "match",
            ["get", "class"],
            ["rail"],
            [
              "match",
              ["get", "subclass"],
              ["rail", "narrow_gauge", "rack_rail"],
              ["match", ["get", "service"], ["yard", "siding"], 0, 0.75],
              0.5
            ],
            [
              "match",
              ["get", "subclass"],
              ["cable_car", "funicular"],
              0.75,
              0.5
            ]
          ],
          14,
          [
            "match",
            ["get", "class"],
            "transit",
            1,
            ["rail"],
            [
              "match",
              ["get", "subclass"],
              ["rail", "narrow_gauge", "rack_rail"],
              ["match", ["get", "service"], ["yard", "siding"], 0, 2],
              1
            ],
            ["match", ["get", "subclass"], ["cable_car", "funicular"], 1, 0]
          ],
          18,
          [
            "match",
            ["get", "class"],
            ["transit"],
            1.5,
            ["match", ["get", "service"], ["yard", "siding"], 1.5, 2]
          ]
        ],
        "line-opacity": [
          "interpolate",
          ["linear"],
          ["zoom"],
          8,
          0,
          9,
          [
            "match",
            ["get", "is_route"],
            99,
            ["match", ["get", "class"], ["rail"], 0.8, 0],
            0
          ],
          13,
          [
            "match",
            ["get", "subclass"],
            ["rail", "subway", "funicular", "rack_rail", "narrow_gauge"],
            0.8,
            0
          ],
          14,
          [
            "match",
            ["get", "subclass"],
            ["rail", "narrow_gauge", "funicular", "rack_rail", "subway"],
            ["match", ["get", "service"], ["yard", "siding"], 0, 0.8],
            0
          ],
          14.5,
          0.8
        ],
        "line-dasharray": {
          "stops": [
            [13, [4, 2.5]],
            [14, [6, 3.75]],
            [15, [10, 6.25]],
            [16, [14, 8.75]]
          ]
        }
      }
    },
    {
      "id": "tunnel_road",
      "type": "line",
      "source": "base_v1.0.0",
      "source-layer": "transportation",
      "minzoom": 7,
      "filter": [
        "all",
        ["==", "brunnel", "tunnel"],
        [
          "!in",
          "class",
          "rail",
          "ferry",
          "car_ferry",
          "transit",
          "cable_car",
          "chair_lift",
          "gondola",
          "drag_lift",
          "aerialway_transportation",
          "aerialway_closed",
          "aerialway_goods",
          "goods_conveyor",
          "path",
          "footway",
          "trail",
          "rail",
          "transit",
          "via_ferrata",
          "mask_terrain"
        ],
        ["==", "$type", "LineString"]
      ],
      "layout": {
        "line-cap": "butt",
        "line-join": "miter",
        "visibility": "visible"
      },
      "paint": {
        "line-blur": ["interpolate", ["linear"], ["zoom"], 7, 3, 8, 0.4],
        "line-color": {
          "stops": [
            [6, "rgba(170, 170, 170, 1)"],
            [11, "rgba(130, 130, 130, 1)"]
          ]
        },
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          8,
          [
            "match",
            ["get", "is_route"],
            [5, 10, 99],
            1,
            ["match", ["get", "ramp"], 1, 1, 0]
          ],
          10,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway", "trunk"],
              1.2,
              ["primary", "secondary", "tertiary", "minor"],
              1,
              0
            ],
            0
          ],
          11,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway", "trunk"],
              1.3,
              ["primary", "secondary", "tertiary", "minor"],
              1,
              0
            ],
            0.25
          ],
          13,
          [
            "match",
            ["get", "class"],
            ["motorway", "trunk"],
            1.5,
            ["primary", "secondary", "tertiary", "minor"],
            1,
            0
          ],
          14,
          [
            "match",
            ["get", "class"],
            ["motorway", "trunk"],
            2,
            ["primary", "secondary", "tertiary", "minor"],
            1.5,
            0
          ],
          15,
          ["match", ["get", "class"], ["motorway", "trunk"], 3, 2],
          20,
          ["match", ["get", "class"], ["motorway", "trunk"], 5, 2.5]
        ],
        "line-offset": 0,
        "line-opacity": [
          "step",
          ["zoom"],
          ["match", ["get", "oneway"], 2, 0, 1],
          12,
          1,
          15.5,
          0
        ],
        "line-dasharray": {
          "stops": [
            [13, [3, 1.875]],
            [14, [4, 2.5]],
            [15, [5, 3.125]],
            [16, [6, 3.75]]
          ]
        }
      }
    },
    {
      "id": "tunnel_pedestrian",
      "type": "line",
      "source": "base_v1.0.0",
      "source-layer": "transportation",
      "minzoom": 6,
      "filter": [
        "all",
        ["==", "brunnel", "tunnel"],
        ["in", "class", "path", "footway", "trail"],
        ["==", "$type", "LineString"]
      ],
      "layout": {
        "line-cap": "butt",
        "line-join": "miter",
        "visibility": "visible"
      },
      "paint": {
        "line-blur": 0.4,
        "line-color": "rgba(140, 140, 140, 1)",
        "line-width": [
          "interpolate",
          ["exponential", 1.5],
          ["zoom"],
          15,
          1.1,
          20,
          3
        ],
        "line-offset": 0,
        "line-opacity": {"stops": [[14, 0], [15, 1], [15.5, 0]]},
        "line-dasharray": {
          "stops": [
            [14, [1, 0.6]],
            [15, [1.5, 0.9]],
            [16, [2, 1.2]],
            [17, [3, 1.8]],
            [18, [6, 3.6]]
          ]
        }
      }
    },
    {
      "id": "construct_line",
      "type": "line",
      "source": "base_v1.0.0",
      "source-layer": "construct",
      "minzoom": 14,
      "filter": ["all", ["==", "class", "lock"]],
      "layout": {"visibility": "visible"},
      "paint": {
        "line-blur": 0.4,
        "line-color": "hsl(220, 10%, 67%)",
        "line-width": {"stops": [[15, 1], [18, 4]]},
        "line-opacity": {"stops": [[14, 0], [15, 1], [15.5, 0]]}
      }
    },
    {
      "id": "construct",
      "type": "fill",
      "source": "base_v1.0.0",
      "source-layer": "construct",
      "minzoom": 13,
      "filter": ["all", ["!=", "class", "lock"]],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": [
          "interpolate",
          ["exponential", 1],
          ["zoom"],
          13,
          [
            "match",
            ["get", "class"],
            "weir",
            "hsl(220, 10%, 82%)",
            "hsl(220, 10%, 86%)"
          ],
          17,
          [
            "match",
            ["get", "class"],
            "weir",
            "hsl(220, 10%, 75%)",
            "dam",
            "hsl(220, 10%, 82%)",
            "hsl(220, 10%, 86%)"
          ]
        ],
        "fill-opacity": [
          "interpolate",
          ["exponential", 1],
          ["zoom"],
          12,
          0,
          13,
          ["match", ["get", "class"], "dam", 1, 0],
          14,
          ["match", ["get", "class"], "dam", 1, 0],
          15,
          1,
          15.5,
          0
        ]
      }
    },
    {
      "id": "aeroway_polygon_casing",
      "type": "line",
      "source": "base_v1.0.0",
      "source-layer": "aeroway",
      "minzoom": 11,
      "filter": [
        "all",
        ["in", "class", "runway", "taxiway", "apron", "runway_grass"],
        ["==", "$type", "Polygon"]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-blur": 0.4,
        "line-color": "rgb(190, 190, 190)",
        "line-width": {"base": 1.5, "stops": [[13, 3], [15, 4], [17, 5]]},
        "line-opacity": ["interpolate", ["linear"], ["zoom"], 15, 1, 15.5, 0]
      }
    },
    {
      "id": "road_via_ferrata_trail",
      "type": "line",
      "metadata": {
        "maputnik:comment": "cannot be in the same layer as road_casings because dasharray doesn't support expressions"
      },
      "source": "base_v1.0.0",
      "source-layer": "transportation",
      "minzoom": 14,
      "filter": [
        "all",
        ["in", "class", "via_ferrata", "trail"],
        ["!in", "brunnel", "bridge", "tunnel"],
        ["==", "$type", "LineString"]
      ],
      "layout": {
        "line-cap": "butt",
        "line-join": "bevel",
        "visibility": "visible"
      },
      "paint": {
        "line-blur": {"stops": [[15, 0.1], [20, 0.4]]},
        "line-color": {
          "stops": [[15, "rgba(20, 20, 20, 1)"], [18, "rgba(90, 90, 90, 1)"]]
        },
        "line-width": [
          "interpolate",
          ["exponential", 1.5],
          ["zoom"],
          15,
          1.1,
          20,
          3
        ],
        "line-opacity": {"stops": [[14, 0], [15, 1], [15.5, 0]]},
        "line-dasharray": {
          "stops": [
            [15, [0.75, 2]],
            [16, [1.125, 3]],
            [17, [1.5, 4]],
            [18, [1.875, 5]]
          ]
        }
      }
    },
    {
      "id": "building_ln",
      "type": "line",
      "source": "base_v1.0.0",
      "source-layer": "building_ln",
      "minzoom": 13,
      "filter": [
        "all",
        [
          "match",
          ["get", "class"],
          ["horse_racing", "ski_jump", "toboggan", "track", "weir"],
          true,
          false
        ],
        ["==", ["geometry-type"], "LineString"]
      ],
      "layout": {"visibility": "visible"},
      "paint": {
        "line-blur": 0.4,
        "line-color": [
          "match",
          ["get", "class"],
          "weir",
          "rgb(20, 136, 205)",
          "rgb(130, 130, 130)"
        ],
        "line-width": {"stops": [[13, 0], [16, 2], [18, 3]]},
        "line-opacity": [
          "interpolate",
          ["linear"],
          ["zoom"],
          15,
          ["match", ["get", "class"], "weir", 0.2, 1],
          15.5,
          0
        ]
      }
    },
    {
      "id": "road_path_footway_ferry",
      "type": "line",
      "metadata": {
        "maputnik:comment": "cannot be in the same layer as road_casings because dasharray doesn't support expressions"
      },
      "source": "base_v1.0.0",
      "source-layer": "transportation",
      "minzoom": 11,
      "filter": [
        "all",
        [
          "match",
          ["get", "class"],
          [
            "footway",
            "footway_construction",
            "path",
            "path_construction",
            "ferry",
            "car_ferry"
          ],
          true,
          false
        ],
        [
          "match",
          ["get", "brunnel"],
          ["bridge", "tunnel"],
          ["match", ["get", "subclass"], "covered_bridge", true, false],
          true
        ]
      ],
      "layout": {
        "line-cap": "butt",
        "line-join": "bevel",
        "visibility": "visible"
      },
      "paint": {
        "line-blur": ["interpolate", ["linear"], ["zoom"], 15, 0.1, 20, 0.4],
        "line-color": [
          "match",
          ["get", "class"],
          ["ferry", "car_ferry"],
          "rgba(105, 187, 218, 1)",
          "rgba(115, 115, 115, 1)"
        ],
        "line-width": [
          "interpolate",
          ["exponential", 1.5],
          ["zoom"],
          13,
          0.5,
          15,
          1.1,
          20,
          3
        ],
        "line-opacity": [
          "interpolate",
          ["linear"],
          ["zoom"],
          11,
          ["match", ["get", "is_route"], 11, 0.5, 0],
          12,
          [
            "match",
            ["get", "is_route"],
            11,
            ["match", ["get", "class"], ["path", "track", "footway"], 0.5, 0],
            0
          ],
          14,
          1,
          15,
          1,
          15.5,
          0
        ],
        "line-dasharray": [
          "step",
          ["zoom"],
          ["literal", [6, 2]],
          16,
          ["literal", [9, 3]],
          17,
          ["literal", [12, 4]],
          18,
          ["literal", [15, 5]]
        ]
      }
    },
    {
      "id": "road_casing",
      "type": "line",
      "metadata": {"maputnik:comment": "casing color for motorway is brown"},
      "source": "base_v1.0.0",
      "source-layer": "transportation",
      "minzoom": 7,
      "filter": [
        "all",
        [
          "match",
          ["get", "class"],
          [
            "cable_car",
            "car_ferry",
            "chair_lift",
            "ferry",
            "gondola",
            "drag_lift",
            "aerialway_transportation",
            "aerialway_closed",
            "aerialway_goods",
            "goods_conveyor",
            "path",
            "footway",
            "trail",
            "rail",
            "transit",
            "via_ferrata",
            "mask_terrain"
          ],
          false,
          true
        ],
        [
          "match",
          ["get", "brunnel"],
          ["bridge", "tunnel"],
          ["match", ["get", "subclass"], "covered_bridge", true, false],
          true
        ],
        ["==", ["geometry-type"], "LineString"]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-blur": [
          "interpolate",
          ["linear"],
          ["zoom"],
          7,
          3,
          8,
          0.4,
          11,
          ["match", ["get", "is_route"], [11], 4, 0.4],
          13,
          ["match", ["get", "class"], "track", 2, 0.4],
          14,
          0.4
        ],
        "line-color": [
          "interpolate",
          ["exponential", 1.7],
          ["zoom"],
          9,
          [
            "match",
            ["get", "class"],
            ["motorway", "trunk"],
            "rgb(170, 136, 30)",
            "rgb(80, 80, 80)"
          ],
          15,
          [
            "match",
            ["get", "class"],
            ["motorway", "trunk"],
            "rgb(139, 107, 63)",
            "rgb(90, 90, 90)"
          ]
        ],
        "line-width": [
          "interpolate",
          ["exponential", 2],
          ["zoom"],
          7,
          0,
          8,
          [
            "match",
            ["get", "is_route"],
            [5, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 1.5, 3],
              ["trunk"],
              3,
              3
            ],
            0
          ],
          9,
          [
            "match",
            ["get", "is_route"],
            [5, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 2, 3.5],
              ["trunk"],
              3.5,
              3
            ],
            0
          ],
          10,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 2, 4],
              ["trunk"],
              4,
              "primary",
              3.5,
              "secondary",
              3.5,
              "tertiary",
              3,
              ["minor", "service"],
              2.5,
              0
            ],
            ["match", ["get", "ramp"], 1, 2, 0]
          ],
          11,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 2.5, 4.5],
              ["trunk"],
              4.5,
              "primary",
              4,
              "secondary",
              4,
              "tertiary",
              3.5,
              ["minor", "service"],
              2.75,
              ["track", "path", "footway"],
              0.5,
              0
            ],
            ["match", ["get", "ramp"], 1, 2.5, 0]
          ],
          12,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway", "trunk"],
              ["match", ["get", "ramp"], 1, 2.75, 5],
              "primary",
              5,
              "secondary",
              4.5,
              "tertiary",
              4,
              ["minor", "service"],
              3,
              ["track", "path", "footway"],
              0.75,
              0
            ],
            [11],
            [
              "match",
              ["get", "class"],
              [
                "motorway",
                "trunk",
                "primary",
                "secondary",
                "tertiary",
                "minor"
              ],
              ["match", ["get", "ramp"], 1, 2.75, 0.75],
              ["track", "path", "footway"],
              0.5,
              0
            ],
            ["match", ["get", "ramp"], 1, 2.75, 0]
          ],
          13,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 3, 6],
              ["trunk"],
              6,
              "primary",
              5.5,
              "secondary",
              5,
              "tertiary",
              4.5,
              ["minor", "service"],
              3.5,
              ["track", "path", "footway"],
              ["match", ["get", "subclass"], "covered_bridge", 3, 1],
              3
            ],
            11,
            [
              "match",
              ["get", "class"],
              ["motorway", "trunk"],
              ["match", ["get", "ramp"], 1, 3, 6],
              "primary",
              4,
              "secondary",
              3.75,
              "tertiary",
              3.75,
              ["minor", "service"],
              3,
              ["track", "path", "footway"],
              ["match", ["get", "subclass"], "covered_bridge", 3, 0.5],
              3
            ],
            0
          ],
          14,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 4, 7],
              ["trunk"],
              7,
              "primary",
              6.5,
              "secondary",
              6,
              "tertiary",
              5,
              ["minor", "service"],
              4,
              ["track", "path", "footway"],
              ["match", ["get", "subclass"], "covered_bridge", 3.5, 0.75],
              3.5
            ],
            [
              "match",
              ["get", "class"],
              ["motorway", "trunk"],
              ["match", ["get", "ramp"], 1, 4, 7],
              "primary",
              4.5,
              "secondary",
              4,
              "tertiary",
              4,
              ["minor", "service"],
              3.5,
              ["track", "path", "footway"],
              ["match", ["get", "subclass"], "covered_bridge", 3.5, 0.75],
              3.5
            ]
          ],
          15,
          [
            "match",
            ["get", "class"],
            ["motorway", "motorway_construction"],
            ["match", ["get", "ramp"], 1, 6.5, 8],
            ["trunk", "trunk_construction"],
            ["match", ["get", "oneway"], 1, 8, 12],
            ["primary", "primary_construction"],
            8,
            ["secondary", "secondary_construction"],
            7,
            ["tertiary", "tertiary_construction"],
            6,
            [
              "minor",
              "minor_construction",
              "service",
              "service_construction",
              "rail",
              "rail_construction"
            ],
            5,
            [
              "track",
              "track_construction",
              "path",
              "path_construction",
              "footway",
              "footway_construction",
              "transit",
              "transit_construction"
            ],
            ["match", ["get", "subclass"], "covered_bridge", 4, 1.1],
            4.5
          ],
          16,
          [
            "match",
            ["get", "class"],
            ["motorway", "motorway_construction"],
            ["match", ["get", "ramp"], 1, 10, 12],
            ["trunk", "trunk_construction"],
            ["match", ["get", "oneway"], 1, 12, 15],
            ["primary", "primary_construction"],
            12,
            ["secondary", "secondary_construction"],
            11,
            ["tertiary", "tertiary_construction"],
            10,
            [
              "minor",
              "minor_construction",
              "service",
              "service_construction",
              "rail",
              "rail_construction"
            ],
            9,
            [
              "track",
              "track_construction",
              "path",
              "path_construction",
              "footway",
              "footway_construction",
              "transit",
              "transit_construction"
            ],
            ["match", ["get", "subclass"], "covered_bridge", 8.5, 1.1],
            8
          ],
          20,
          [
            "match",
            ["get", "class"],
            ["motorway", "motorway_construction"],
            ["match", ["get", "ramp"], 1, 115, 130],
            ["trunk", "trunk_construction"],
            ["match", ["get", "oneway"], 1, 130, 140],
            ["primary", "primary_construction"],
            120,
            ["secondary", "secondary_construction"],
            115,
            ["tertiary", "tertiary_construction"],
            110,
            [
              "minor",
              "minor_construction",
              "service",
              "service_construction",
              "rail",
              "rail_construction"
            ],
            100,
            [
              "track",
              "track_construction",
              "path",
              "path_construction",
              "footway",
              "footway_construction",
              "transit",
              "transit_construction"
            ],
            ["match", ["get", "subclass"], "covered_bridge", 84, 5],
            100
          ]
        ],
        "line-offset": 0,
        "line-opacity": ["interpolate", ["linear"], ["zoom"], 15, 1, 15.5, 0]
      }
    },
    {
      "id": "landuse_parking",
      "type": "fill",
      "source": "base_v1.0.0",
      "source-layer": "landuse",
      "filter": ["all", ["in", "class", "parking"]],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "rgba(255, 255, 255, 1)",
        "fill-opacity": {"stops": [[14, 0], [15, 1], [15.5, 0]]}
      }
    },
    {
      "id": "landuse_parking_outline",
      "type": "line",
      "source": "base_v1.0.0",
      "source-layer": "landuse",
      "filter": ["all", ["in", "class", "parking"]],
      "layout": {"visibility": "visible"},
      "paint": {
        "line-color": "rgba(130, 130, 130, 1)",
        "line-width": [
          "interpolate",
          ["exponential", 1.5],
          ["zoom"],
          11,
          0.25,
          16,
          0.75
        ],
        "line-opacity": {"stops": [[14, 0], [15, 1], [15.5, 0]]}
      }
    },
    {
      "id": "road_fill",
      "type": "line",
      "source": "base_v1.0.0",
      "source-layer": "transportation",
      "minzoom": 7,
      "filter": [
        "all",
        [
          "match",
          ["get", "class"],
          [
            "cable_car",
            "car_ferry",
            "chair_lift",
            "ferry",
            "gondola",
            "drag_lift",
            "aerialway_transportation",
            "aerialway_closed",
            "aerialway_goods",
            "goods_conveyor",
            "path",
            "footway",
            "trail",
            "rail",
            "track",
            "transit",
            "via_ferrata",
            "mask_terrain"
          ],
          false,
          true
        ],
        [
          "match",
          ["get", "brunnel"],
          ["bridge", "tunnel"],
          ["match", ["get", "subclass"], "covered_bridge", true, false],
          true
        ],
        ["==", ["geometry-type"], "LineString"]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-blur": {"stops": [[8, 0.4], [14, 0.1]]},
        "line-color": [
          "interpolate",
          ["exponential", 1],
          ["zoom"],
          9,
          [
            "match",
            ["get", "class"],
            ["motorway", "trunk"],
            "rgb(255,230,160)",
            "rgb(255,255,255)"
          ],
          15,
          [
            "match",
            ["get", "class"],
            ["motorway", "trunk"],
            "rgb(255, 224, 138)",
            "rgb(255,255,255)"
          ]
        ],
        "line-width": [
          "interpolate",
          ["exponential", 2],
          ["zoom"],
          7,
          0,
          8,
          [
            "match",
            ["get", "is_route"],
            [5, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 0.5, 2],
              ["trunk"],
              2,
              2
            ],
            ["match", ["get", "ramp"], 1, 0.5, 0]
          ],
          9,
          [
            "match",
            ["get", "is_route"],
            [5, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 0.75, 2.25],
              ["trunk"],
              2.25,
              2
            ],
            ["match", ["get", "ramp"], 1, 0.75, 0]
          ],
          10,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 0.75, 2.75],
              ["trunk"],
              2.75,
              "primary",
              2.5,
              "secondary",
              2.5,
              "tertiary",
              2,
              ["minor", "service"],
              1.5,
              0
            ],
            ["match", ["get", "ramp"], 1, 0.75, 0]
          ],
          11,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 1.25, 3.25],
              ["trunk"],
              3.25,
              "primary",
              3,
              "secondary",
              3,
              "tertiary",
              2.5,
              ["minor", "service"],
              1.75,
              0
            ],
            ["match", ["get", "ramp"], 1, 1.25, 0]
          ],
          12,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 1.5, 3.75],
              ["trunk"],
              3.75,
              "primary",
              4,
              "secondary",
              3.5,
              "tertiary",
              3,
              ["minor", "service"],
              2,
              0
            ],
            ["match", ["get", "ramp"], 1, 1.5, 0]
          ],
          13,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 1.75, 4.5],
              ["trunk"],
              4.5,
              "primary",
              4.5,
              "secondary",
              4,
              "tertiary",
              3.5,
              ["minor", "service"],
              2.5,
              2
            ],
            11,
            [
              "match",
              ["get", "class"],
              ["motorway", "trunk"],
              ["match", ["get", "ramp"], 1, 1.75, 4.5],
              "primary",
              3,
              "secondary",
              2.75,
              "tertiary",
              2.75,
              ["minor", "service"],
              2,
              2
            ],
            ["match", ["get", "ramp"], 1, 1.75, 0]
          ],
          14,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 2.75, 5.5],
              ["trunk"],
              5.5,
              "primary",
              5.5,
              "secondary",
              5,
              "tertiary",
              4,
              ["minor", "service"],
              3,
              2.5
            ],
            [
              "match",
              ["get", "class"],
              ["motorway", "trunk"],
              ["match", ["get", "ramp"], 1, 2.75, 5.5],
              "primary",
              3.5,
              "secondary",
              3,
              "tertiary",
              3,
              ["minor", "service"],
              2.5,
              2.5
            ]
          ],
          15,
          [
            "match",
            ["get", "subclass"],
            "funicular",
            3,
            [
              "match",
              ["get", "class"],
              ["motorway", "motorway_construction"],
              ["match", ["get", "ramp"], 1, 5, 6.5],
              ["trunk", "trunk_construction"],
              ["match", ["get", "oneway"], 1, 6.5, 10.5],
              ["primary", "primary_construction"],
              6.5,
              ["secondary", "secondary_construction"],
              5.5,
              ["tertiary", "tertiary_construction"],
              4.5,
              [
                "minor",
                "minor_construction",
                "service",
                "service_construction"
              ],
              3.5,
              ["rail", "rail_construction"],
              5,
              [
                "track",
                "track_construction",
                "path",
                "path_construction",
                "footway",
                "footway_construction",
                "transit",
                "transit_construction"
              ],
              1.25,
              3
            ]
          ],
          16,
          [
            "match",
            ["get", "subclass"],
            "funicular",
            6,
            [
              "match",
              ["get", "class"],
              ["motorway", "motorway_construction"],
              ["match", ["get", "ramp"], 1, 8, 10],
              ["trunk", "trunk_construction"],
              ["match", ["get", "oneway"], 1, 10, 13],
              ["primary", "primary_construction"],
              10,
              ["secondary", "secondary_construction"],
              9,
              ["tertiary", "tertiary_construction"],
              8,
              [
                "minor",
                "minor_construction",
                "service",
                "service_construction"
              ],
              7,
              ["rail", "rail_construction"],
              9.5,
              [
                "track",
                "track_construction",
                "path",
                "path_construction",
                "footway",
                "footway_construction",
                "transit",
                "transit_construction"
              ],
              6.5,
              6
            ]
          ],
          20,
          [
            "match",
            ["get", "subclass"],
            "funicular",
            20,
            [
              "match",
              ["get", "class"],
              ["motorway", "motorway_construction"],
              ["match", ["get", "ramp"], 1, 112, 126],
              ["trunk", "trunk_construction"],
              ["match", ["get", "oneway"], 1, 126, 136],
              ["primary", "primary_construction"],
              117,
              ["secondary", "secondary_construction"],
              112,
              ["tertiary", "tertiary_construction"],
              107,
              [
                "minor",
                "minor_construction",
                "service",
                "service_construction"
              ],
              97,
              ["rail", "rail_construction"],
              120,
              [
                "track",
                "track_construction",
                "path",
                "path_construction",
                "footway",
                "footway_construction",
                "transit",
                "transit_construction"
              ],
              81,
              92
            ]
          ]
        ],
        "line-opacity": ["interpolate", ["linear"], ["zoom"], 15, 1, 15.5, 0]
      }
    },
    {
      "id": "aeroway_polygon_fill",
      "type": "fill",
      "source": "base_v1.0.0",
      "source-layer": "aeroway",
      "minzoom": 11,
      "filter": [
        "all",
        ["in", "class", "runway", "taxiway", "apron", "runway_grass"],
        ["==", "$type", "Polygon"]
      ],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": [
          "match",
          ["get", "class"],
          ["runway_grass"],
          "rgb(224,234,221)",
          "rgb(255, 255, 255)"
        ],
        "fill-opacity": ["interpolate", ["linear"], ["zoom"], 15, 1, 15.5, 0],
        "fill-antialias": true
      }
    },
    {
      "id": "public_transport",
      "type": "line",
      "source": "base_v1.0.0",
      "source-layer": "transportation",
      "minzoom": 8,
      "filter": [
        "all",
        ["in", "class", "rail", "transit"],
        ["!in", "brunnel", "bridge", "tunnel"]
      ],
      "layout": {"visibility": "visible"},
      "paint": {
        "line-blur": [
          "interpolate",
          ["linear"],
          ["zoom"],
          8,
          [
            "match",
            ["get", "class"],
            ["rail"],
            [
              "match",
              ["get", "subclass"],
              ["rail", "narrow_gauge", "rack_rail"],
              ["match", ["get", "service"], ["yard", "siding"], 2.5, 0.6],
              0.6
            ],
            0.6
          ],
          14,
          [
            "match",
            ["get", "class"],
            ["rail"],
            [
              "match",
              ["get", "subclass"],
              ["rail", "narrow_gauge", "rack_rail"],
              ["match", ["get", "service"], ["yard", "siding"], 2.5, 0.6],
              0.6
            ],
            0.6
          ],
          18,
          0.4
        ],
        "line-color": {
          "stops": [[7, "rgba(255, 50, 50, 1)"], [15, "rgba(255, 80, 80, 1)"]]
        },
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          9,
          [
            "match",
            ["get", "is_route"],
            99,
            ["match", ["get", "subclass"], "rail", 0.75, 0],
            0
          ],
          10,
          [
            "match",
            ["get", "is_route"],
            99,
            [
              "match",
              ["get", "class"],
              ["rail"],
              [
                "match",
                ["get", "subclass"],
                ["rail", "narrow_gauge", "rack_rail"],
                ["match", ["get", "service"], ["yard", "siding"], 0, 0.75],
                0.5
              ],
              0.5
            ],
            ["match", ["get", "subclass"], ["cable_car", "funicular"], 0.75, 0]
          ],
          14,
          [
            "match",
            ["get", "is_route"],
            99,
            [
              "match",
              ["get", "class"],
              "transit",
              1,
              ["rail"],
              [
                "match",
                ["get", "subclass"],
                ["rail", "narrow_gauge", "rack_rail"],
                2,
                1
              ],
              0
            ],
            ["match", ["get", "subclass"], ["cable_car", "funicular"], 1, 0]
          ],
          18,
          [
            "match",
            ["get", "class"],
            ["transit"],
            1.5,
            ["match", ["get", "service"], ["yard", "siding"], 1.5, 2]
          ]
        ],
        "line-opacity": [
          "interpolate",
          ["linear"],
          ["zoom"],
          8,
          0,
          9,
          ["match", ["get", "class"], ["rail"], 1, 0],
          13,
          ["match", ["get", "class"], ["rail"], 1, 0],
          14,
          [
            "match",
            ["get", "class"],
            ["rail"],
            [
              "match",
              ["get", "subclass"],
              ["rail", "narrow_gauge", "rack_rail", "funicular"],
              ["match", ["get", "service"], ["yard", "siding"], 0, 1],
              0
            ],
            0
          ],
          14.5,
          1
        ]
      }
    },
    {
      "id": "building",
      "type": "fill",
      "source": "base_v1.0.0",
      "source-layer": "building",
      "minzoom": 13,
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": {
          "stops": [[13, "hsl(220, 10%, 82%)"], [17, "hsl(220, 10%, 75%)"]]
        },
        "fill-opacity": {"stops": [[13, 0], [13.5, 1], [15, 1], [15.5, 0]]}
      }
    },
    {
      "id": "building_casing",
      "type": "line",
      "source": "base_v1.0.0",
      "source-layer": "building",
      "minzoom": 15,
      "layout": {"visibility": "visible"},
      "paint": {
        "line-color": "hsl(220, 10%, 67%)",
        "line-width": ["interpolate", ["linear"], ["zoom"], 15, 0.2, 18, 1.2],
        "line-opacity": ["interpolate", ["linear"], ["zoom"], 15, 0, 15.5, 0]
      }
    },
    {
      "id": "l1_road_casing",
      "type": "line",
      "metadata": {"maputnik:comment": "casing color for motorway is brown"},
      "source": "base_v1.0.0",
      "source-layer": "transportation",
      "minzoom": 7,
      "filter": [
        "all",
        ["has", "layer"],
        ["==", "layer", 1],
        [
          "!in",
          "class",
          "rail",
          "ferry",
          "path",
          "track",
          "footway",
          "transit",
          "cable_car",
          "gondola",
          "drag_lift",
          "aerialway_transportation",
          "aerialway_closed",
          "aerialway_goods",
          "goods_conveyor",
          "mask_terrain",
          "via_ferrata"
        ],
        ["==", "$type", "LineString"],
        ["!=", "subclass", "covered_bridge"]
      ],
      "layout": {
        "line-cap": "butt",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-blur": [
          "interpolate",
          ["linear"],
          ["zoom"],
          7,
          3,
          8,
          0.4,
          11,
          ["match", ["get", "is_route"], [11], 4, 0.4],
          13,
          ["match", ["get", "class"], "track", 2, 0.4],
          14,
          0.4
        ],
        "line-color": [
          "interpolate",
          ["exponential", 1.7],
          ["zoom"],
          9,
          [
            "match",
            ["get", "class"],
            ["motorway", "trunk"],
            "rgb(170, 136, 30)",
            "rgb(80, 80, 80)"
          ],
          15,
          [
            "match",
            ["get", "class"],
            ["motorway", "trunk"],
            "rgb(139, 107, 63)",
            "rgb(90, 90, 90)"
          ]
        ],
        "line-width": [
          "interpolate",
          ["exponential", 2],
          ["zoom"],
          7,
          0,
          8,
          [
            "match",
            ["get", "is_route"],
            [5, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 1.5, 3],
              ["trunk"],
              3,
              3
            ],
            0
          ],
          9,
          [
            "match",
            ["get", "is_route"],
            [5, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 2, 3.5],
              ["trunk"],
              3.5,
              3
            ],
            0
          ],
          10,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 2, 4],
              ["trunk"],
              4,
              "primary",
              3.5,
              "secondary",
              3.5,
              "tertiary",
              3,
              ["minor", "service"],
              2.5,
              0
            ],
            ["match", ["get", "ramp"], 1, 2, 0]
          ],
          11,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 2.5, 4.5],
              ["trunk"],
              4.5,
              "primary",
              4,
              "secondary",
              4,
              "tertiary",
              3.5,
              ["minor", "service"],
              2.75,
              ["track", "path", "footway"],
              0.5,
              0
            ],
            ["match", ["get", "ramp"], 1, 2.5, 0]
          ],
          12,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway", "trunk"],
              ["match", ["get", "ramp"], 1, 2.75, 5],
              "primary",
              5,
              "secondary",
              4.5,
              "tertiary",
              4,
              ["minor", "service"],
              3,
              ["track", "path", "footway"],
              0.75,
              0
            ],
            [11],
            [
              "match",
              ["get", "class"],
              [
                "motorway",
                "trunk",
                "primary",
                "secondary",
                "tertiary",
                "minor"
              ],
              ["match", ["get", "ramp"], 1, 2.75, 0.75],
              ["track", "path", "footway"],
              0.5,
              0
            ],
            ["match", ["get", "ramp"], 1, 2.75, 0]
          ],
          13,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 3, 6],
              ["trunk"],
              6,
              "primary",
              5.5,
              "secondary",
              5,
              "tertiary",
              4.5,
              ["minor", "service"],
              3.5,
              ["track", "path", "footway"],
              ["match", ["get", "subclass"], "covered_bridge", 3, 1],
              3
            ],
            11,
            [
              "match",
              ["get", "class"],
              ["motorway", "trunk"],
              ["match", ["get", "ramp"], 1, 3, 6],
              "primary",
              4,
              "secondary",
              3.75,
              "tertiary",
              3.75,
              ["minor", "service"],
              3,
              ["track", "path", "footway"],
              ["match", ["get", "subclass"], "covered_bridge", 3, 0.5],
              3
            ],
            0
          ],
          14,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 4, 7],
              ["trunk"],
              7,
              "primary",
              6.5,
              "secondary",
              6,
              "tertiary",
              5,
              ["minor", "service"],
              4,
              ["track", "path", "footway"],
              ["match", ["get", "subclass"], "covered_bridge", 3.5, 0.75],
              3.5
            ],
            [
              "match",
              ["get", "class"],
              ["motorway", "trunk"],
              ["match", ["get", "ramp"], 1, 4, 7],
              "primary",
              4.5,
              "secondary",
              4,
              "tertiary",
              4,
              ["minor", "service"],
              3.5,
              ["track", "path", "footway"],
              ["match", ["get", "subclass"], "covered_bridge", 3.5, 0.75],
              3.5
            ]
          ],
          15,
          [
            "match",
            ["get", "class"],
            ["motorway", "motorway_construction"],
            ["match", ["get", "ramp"], 1, 6.5, 8],
            ["trunk", "trunk_construction"],
            ["match", ["get", "oneway"], 1, 8, 12],
            ["primary", "primary_construction"],
            8,
            ["secondary", "secondary_construction"],
            7,
            ["tertiary", "tertiary_construction"],
            6,
            [
              "minor",
              "minor_construction",
              "service",
              "service_construction",
              "rail",
              "rail_construction"
            ],
            5,
            [
              "track",
              "track_construction",
              "path",
              "path_construction",
              "footway",
              "footway_construction",
              "transit",
              "transit_construction"
            ],
            ["match", ["get", "subclass"], "covered_bridge", 4, 1.1],
            4.5
          ],
          16,
          [
            "match",
            ["get", "class"],
            ["motorway", "motorway_construction"],
            ["match", ["get", "ramp"], 1, 10, 12],
            ["trunk", "trunk_construction"],
            ["match", ["get", "oneway"], 1, 12, 15],
            ["primary", "primary_construction"],
            12,
            ["secondary", "secondary_construction"],
            11,
            ["tertiary", "tertiary_construction"],
            10,
            [
              "minor",
              "minor_construction",
              "service",
              "service_construction",
              "rail",
              "rail_construction"
            ],
            9,
            [
              "track",
              "track_construction",
              "path",
              "path_construction",
              "footway",
              "footway_construction",
              "transit",
              "transit_construction"
            ],
            ["match", ["get", "subclass"], "covered_bridge", 8.5, 1.1],
            8
          ],
          20,
          [
            "match",
            ["get", "class"],
            ["motorway", "motorway_construction"],
            ["match", ["get", "ramp"], 1, 115, 130],
            ["trunk", "trunk_construction"],
            ["match", ["get", "oneway"], 1, 130, 140],
            ["primary", "primary_construction"],
            120,
            ["secondary", "secondary_construction"],
            115,
            ["tertiary", "tertiary_construction"],
            110,
            [
              "minor",
              "minor_construction",
              "service",
              "service_construction",
              "rail",
              "rail_construction"
            ],
            100,
            [
              "track",
              "track_construction",
              "path",
              "path_construction",
              "footway",
              "footway_construction",
              "transit",
              "transit_construction"
            ],
            ["match", ["get", "subclass"], "covered_bridge", 84, 5],
            100
          ]
        ],
        "line-offset": 0,
        "line-opacity": ["interpolate", ["linear"], ["zoom"], 15, 1, 15.5, 0]
      }
    },
    {
      "id": "l1_fill",
      "type": "line",
      "source": "base_v1.0.0",
      "source-layer": "transportation",
      "minzoom": 7,
      "filter": [
        "all",
        ["has", "layer"],
        ["==", "layer", 1],
        [
          "!in",
          "class",
          "ferry",
          "cable_car",
          "gondola",
          "drag_lift",
          "aerialway_transportation",
          "aerialway_closed",
          "aerialway_goods",
          "goods_conveyor",
          "mask_terrain",
          "via_ferrata"
        ],
        ["==", "$type", "LineString"],
        ["!=", "subclass", "covered_bridge"]
      ],
      "layout": {
        "line-cap": "butt",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-blur": {"stops": [[8, 0.4], [14, 0.1]]},
        "line-color": [
          "interpolate",
          ["exponential", 1],
          ["zoom"],
          9,
          [
            "match",
            ["get", "class"],
            ["motorway", "trunk"],
            "rgb(255,230,160)",
            ["rail", "path", "track", "footway"],
            [
              "match",
              ["get", "subclass"],
              "funicular",
              "rgba(243,243,246,0)",
              "rgb(243,243,246)"
            ],
            "rgb(255,255,255)",
            "rgb(243,243,246)",
            "rgb(255,255,255)"
          ],
          15,
          [
            "match",
            ["get", "class"],
            ["motorway", "trunk"],
            "rgb(255, 224, 138)",
            ["rail", "path", "track", "footway"],
            [
              "match",
              ["get", "subclass"],
              "funicular",
              "rgba(243,243,246,0)",
              "rgb(243,243,246)"
            ],
            "rgb(255,255,255)"
          ]
        ],
        "line-width": [
          "interpolate",
          ["exponential", 2],
          ["zoom"],
          7,
          0,
          8,
          [
            "match",
            ["get", "is_route"],
            [5, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 0.5, 2],
              ["trunk"],
              2,
              2
            ],
            ["match", ["get", "ramp"], 1, 0.5, 0]
          ],
          9,
          [
            "match",
            ["get", "is_route"],
            [5, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 0.75, 2.25],
              ["trunk"],
              2.25,
              2
            ],
            ["match", ["get", "ramp"], 1, 0.75, 0]
          ],
          10,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 0.75, 2.75],
              ["trunk"],
              2.75,
              "primary",
              2.5,
              "secondary",
              2.5,
              "tertiary",
              2,
              ["minor", "service"],
              1.5,
              0
            ],
            ["match", ["get", "ramp"], 1, 0.75, 0]
          ],
          11,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 1.25, 3.25],
              ["trunk"],
              3.25,
              "primary",
              3,
              "secondary",
              3,
              "tertiary",
              2.5,
              ["minor", "service"],
              1.75,
              0
            ],
            ["match", ["get", "ramp"], 1, 1.25, 0]
          ],
          12,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 1.5, 3.75],
              ["trunk"],
              3.75,
              "primary",
              4,
              "secondary",
              3.5,
              "tertiary",
              3,
              ["minor", "service"],
              2,
              0
            ],
            ["match", ["get", "ramp"], 1, 1.5, 0]
          ],
          13,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 1.75, 4.5],
              ["trunk"],
              4.5,
              "primary",
              4.5,
              "secondary",
              4,
              "tertiary",
              3.5,
              ["minor", "service"],
              2.5,
              2
            ],
            11,
            [
              "match",
              ["get", "class"],
              ["motorway", "trunk"],
              ["match", ["get", "ramp"], 1, 1.75, 4.5],
              "primary",
              3,
              "secondary",
              2.75,
              "tertiary",
              2.75,
              ["minor", "service"],
              2,
              2
            ],
            ["match", ["get", "ramp"], 1, 1.75, 0]
          ],
          14,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 2.75, 5.5],
              ["trunk"],
              5.5,
              "primary",
              5.5,
              "secondary",
              5,
              "tertiary",
              4,
              ["minor", "service"],
              3,
              1.5
            ],
            [
              "match",
              ["get", "class"],
              ["motorway", "trunk"],
              ["match", ["get", "ramp"], 1, 2.75, 5.5],
              "primary",
              3.5,
              "secondary",
              3,
              "tertiary",
              3,
              ["minor", "service"],
              2.5,
              2.5
            ]
          ],
          15,
          [
            "match",
            ["get", "subclass"],
            "funicular",
            3,
            [
              "match",
              ["get", "class"],
              ["motorway", "motorway_construction"],
              ["match", ["get", "ramp"], 1, 5, 6.5],
              ["trunk", "trunk_construction"],
              ["match", ["get", "oneway"], 1, 6.5, 10.5],
              ["primary", "primary_construction"],
              6.5,
              ["secondary", "secondary_construction"],
              5.5,
              ["tertiary", "tertiary_construction"],
              4.5,
              [
                "minor",
                "minor_construction",
                "service",
                "service_construction"
              ],
              3.5,
              ["rail", "rail_construction"],
              5,
              [
                "track",
                "track_construction",
                "path",
                "path_construction",
                "footway",
                "footway_construction",
                "transit",
                "transit_construction"
              ],
              1.25,
              3
            ]
          ],
          16,
          [
            "match",
            ["get", "subclass"],
            "funicular",
            6,
            [
              "match",
              ["get", "class"],
              ["motorway", "motorway_construction"],
              ["match", ["get", "ramp"], 1, 8, 10],
              ["trunk", "trunk_construction"],
              ["match", ["get", "oneway"], 1, 10, 13],
              ["primary", "primary_construction"],
              10,
              ["secondary", "secondary_construction"],
              9,
              ["tertiary", "tertiary_construction"],
              8,
              [
                "minor",
                "minor_construction",
                "service",
                "service_construction"
              ],
              7,
              ["rail", "rail_construction"],
              9.5,
              [
                "track",
                "track_construction",
                "path",
                "path_construction",
                "footway",
                "footway_construction",
                "transit",
                "transit_construction"
              ],
              6.5,
              6
            ]
          ],
          20,
          [
            "match",
            ["get", "subclass"],
            "funicular",
            20,
            [
              "match",
              ["get", "class"],
              ["motorway", "motorway_construction"],
              ["match", ["get", "ramp"], 1, 112, 126],
              ["trunk", "trunk_construction"],
              ["match", ["get", "oneway"], 1, 126, 136],
              ["primary", "primary_construction"],
              117,
              ["secondary", "secondary_construction"],
              112,
              ["tertiary", "tertiary_construction"],
              107,
              [
                "minor",
                "minor_construction",
                "service",
                "service_construction"
              ],
              97,
              ["rail", "rail_construction"],
              120,
              [
                "track",
                "track_construction",
                "path",
                "path_construction",
                "footway",
                "footway_construction",
                "transit",
                "transit_construction"
              ],
              81,
              92
            ]
          ]
        ],
        "line-opacity": ["interpolate", ["linear"], ["zoom"], 15, 1, 15.5, 0]
      }
    },
    {
      "id": "l1_2_pedestrian",
      "type": "line",
      "metadata": {"maputnik:comment": "casing color for motorway is brown"},
      "source": "base_v1.0.0",
      "source-layer": "transportation",
      "minzoom": 11,
      "filter": [
        "all",
        ["has", "layer"],
        [">", "layer", 0],
        [
          "in",
          "class",
          "track",
          "track_construction",
          "footway",
          "footway_construction",
          "path",
          "path_construction"
        ],
        ["!=", "subclass", "covered_bridge"],
        ["==", "$type", "LineString"]
      ],
      "layout": {
        "line-cap": "butt",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-blur": ["interpolate", ["linear"], ["zoom"], 13, 2, 14, 0.4],
        "line-color": "rgb(90, 90, 90)",
        "line-width": [
          "interpolate",
          ["exponential", 1.5],
          ["zoom"],
          11,
          0,
          13,
          0.5,
          15,
          1.1,
          20,
          3
        ],
        "line-opacity": [
          "interpolate",
          ["linear"],
          ["zoom"],
          15,
          ["match", ["get", "class"], ["track", "footway", "path"], 1, 0.5],
          15.5,
          0
        ]
      }
    },
    {
      "id": "l1_public_transport",
      "type": "line",
      "source": "base_v1.0.0",
      "source-layer": "transportation",
      "minzoom": 10,
      "filter": [
        "all",
        ["has", "layer"],
        ["==", "layer", 1],
        ["in", "class", "rail", "transit"],
        ["==", "$type", "LineString"],
        ["!=", "subclass", "covered_bridge"]
      ],
      "layout": {"line-cap": "round", "visibility": "visible"},
      "paint": {
        "line-blur": [
          "interpolate",
          ["linear"],
          ["zoom"],
          8,
          [
            "match",
            ["get", "class"],
            ["rail"],
            [
              "match",
              ["get", "subclass"],
              ["rail"],
              ["match", ["get", "service"], ["yard", "siding"], 2.5, 0.6],
              0.6
            ],
            0.6
          ],
          14,
          [
            "match",
            ["get", "class"],
            ["rail"],
            [
              "match",
              ["get", "subclass"],
              ["rail"],
              ["match", ["get", "service"], ["yard", "siding"], 2.5, 0.6],
              0.6
            ],
            0.6
          ],
          18,
          0.4
        ],
        "line-color": {
          "stops": [[7, "rgba(255, 50, 50, 1)"], [15, "rgba(255, 80, 80, 1)"]]
        },
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          9,
          [
            "match",
            ["get", "is_route"],
            99,
            ["match", ["get", "subclass"], "rail", 0.75, 0],
            0
          ],
          10,
          [
            "match",
            ["get", "is_route"],
            99,
            [
              "match",
              ["get", "class"],
              ["rail"],
              [
                "match",
                ["get", "subclass"],
                ["rail", "narrow_gauge", "rack_rail"],
                ["match", ["get", "service"], ["yard", "siding"], 0, 0.75],
                0.5
              ],
              0.5
            ],
            ["match", ["get", "subclass"], ["cable_car", "funicular"], 0.75, 0]
          ],
          14,
          [
            "match",
            ["get", "is_route"],
            99,
            [
              "match",
              ["get", "class"],
              "transit",
              1,
              ["rail"],
              [
                "match",
                ["get", "subclass"],
                ["rail", "narrow_gauge", "rack_rail"],
                ["match", ["get", "service"], ["yard", "siding"], 0, 2],
                1
              ],
              0
            ],
            ["match", ["get", "subclass"], ["cable_car", "funicular"], 1, 0]
          ],
          18,
          [
            "match",
            ["get", "class"],
            ["transit"],
            1.5,
            ["match", ["get", "service"], ["yard", "siding"], 1.5, 2]
          ]
        ],
        "line-opacity": [
          "interpolate",
          ["linear"],
          ["zoom"],
          8,
          0,
          9,
          ["match", ["get", "class"], ["rail"], 1, 0],
          12,
          ["match", ["get", "class"], ["rail"], 1, 0],
          13,
          ["match", ["get", "class"], ["rail"], 1, 0],
          14,
          [
            "match",
            ["get", "class"],
            ["rail"],
            [
              "match",
              ["get", "subclass"],
              ["rail", "narrow_gauge", "rack_rail", "funicular"],
              ["match", ["get", "service"], ["yard", "siding"], 0, 1],
              0
            ],
            0
          ],
          14.5,
          1
        ]
      }
    },
    {
      "id": "l2_road_casing",
      "type": "line",
      "metadata": {"maputnik:comment": "casing color for motorway is brown"},
      "source": "base_v1.0.0",
      "source-layer": "transportation",
      "minzoom": 7,
      "filter": [
        "all",
        ["has", "layer"],
        [">", "layer", 1],
        [
          "!in",
          "class",
          "rail",
          "ferry",
          "path",
          "track",
          "footway",
          "transit",
          "cable_car",
          "gondola",
          "drag_lift",
          "aerialway_transportation",
          "aerialway_closed",
          "aerialway_goods",
          "goods_conveyor",
          "mask_terrain",
          "via_ferrata"
        ],
        ["==", "$type", "LineString"],
        ["!=", "subclass", "covered_bridge"]
      ],
      "layout": {
        "line-cap": "butt",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-blur": [
          "interpolate",
          ["linear"],
          ["zoom"],
          7,
          3,
          8,
          0.4,
          11,
          ["match", ["get", "is_route"], [11], 4, 0.4],
          13,
          ["match", ["get", "class"], "track", 2, 0.4],
          14,
          0.4
        ],
        "line-color": [
          "interpolate",
          ["exponential", 1.7],
          ["zoom"],
          9,
          [
            "match",
            ["get", "class"],
            ["motorway", "trunk"],
            "rgb(170, 136, 30)",
            "rgb(80, 80, 80)"
          ],
          15,
          [
            "match",
            ["get", "class"],
            ["motorway", "trunk"],
            "rgb(139, 107, 63)",
            "rgb(90, 90, 90)"
          ]
        ],
        "line-width": [
          "interpolate",
          ["exponential", 2],
          ["zoom"],
          7,
          0,
          8,
          [
            "match",
            ["get", "is_route"],
            [5, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 1.5, 3],
              ["trunk"],
              3,
              3
            ],
            0
          ],
          9,
          [
            "match",
            ["get", "is_route"],
            [5, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 2, 3.5],
              ["trunk"],
              3.5,
              3
            ],
            0
          ],
          10,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 2, 4],
              ["trunk"],
              4,
              "primary",
              3.5,
              "secondary",
              3.5,
              "tertiary",
              3,
              ["minor", "service"],
              2.5,
              0
            ],
            ["match", ["get", "ramp"], 1, 2, 0]
          ],
          11,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 2.5, 4.5],
              ["trunk"],
              4.5,
              "primary",
              4,
              "secondary",
              4,
              "tertiary",
              3.5,
              ["minor", "service"],
              2.75,
              ["track", "path", "footway"],
              0.5,
              0
            ],
            ["match", ["get", "ramp"], 1, 2.5, 0]
          ],
          12,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway", "trunk"],
              ["match", ["get", "ramp"], 1, 2.75, 5],
              "primary",
              5,
              "secondary",
              4.5,
              "tertiary",
              4,
              ["minor", "service"],
              3,
              ["track", "path", "footway"],
              0.75,
              0
            ],
            [11],
            [
              "match",
              ["get", "class"],
              [
                "motorway",
                "trunk",
                "primary",
                "secondary",
                "tertiary",
                "minor"
              ],
              ["match", ["get", "ramp"], 1, 2.75, 0.75],
              ["track", "path", "footway"],
              0.5,
              0
            ],
            ["match", ["get", "ramp"], 1, 2.75, 0]
          ],
          13,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 3, 6],
              ["trunk"],
              6,
              "primary",
              5.5,
              "secondary",
              5,
              "tertiary",
              4.5,
              ["minor", "service"],
              3.5,
              ["track", "path", "footway"],
              ["match", ["get", "subclass"], "covered_bridge", 3, 1],
              3
            ],
            11,
            [
              "match",
              ["get", "class"],
              ["motorway", "trunk"],
              ["match", ["get", "ramp"], 1, 3, 6],
              "primary",
              4,
              "secondary",
              3.75,
              "tertiary",
              3.75,
              ["minor", "service"],
              3,
              ["track", "path", "footway"],
              ["match", ["get", "subclass"], "covered_bridge", 3, 0.5],
              3
            ],
            0
          ],
          14,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 4, 7],
              ["trunk"],
              7,
              "primary",
              6.5,
              "secondary",
              6,
              "tertiary",
              5,
              ["minor", "service"],
              4,
              ["track", "path", "footway"],
              ["match", ["get", "subclass"], "covered_bridge", 3.5, 0.75],
              3.5
            ],
            [
              "match",
              ["get", "class"],
              ["motorway", "trunk"],
              ["match", ["get", "ramp"], 1, 4, 7],
              "primary",
              4.5,
              "secondary",
              4,
              "tertiary",
              4,
              ["minor", "service"],
              3.5,
              ["track", "path", "footway"],
              ["match", ["get", "subclass"], "covered_bridge", 3.5, 0.75],
              3.5
            ]
          ],
          15,
          [
            "match",
            ["get", "class"],
            ["motorway", "motorway_construction"],
            ["match", ["get", "ramp"], 1, 6.5, 8],
            ["trunk", "trunk_construction"],
            ["match", ["get", "oneway"], 1, 8, 12],
            ["primary", "primary_construction"],
            8,
            ["secondary", "secondary_construction"],
            7,
            ["tertiary", "tertiary_construction"],
            6,
            [
              "minor",
              "minor_construction",
              "service",
              "service_construction",
              "rail",
              "rail_construction"
            ],
            5,
            [
              "track",
              "track_construction",
              "path",
              "path_construction",
              "footway",
              "footway_construction",
              "transit",
              "transit_construction"
            ],
            ["match", ["get", "subclass"], "covered_bridge", 4, 1.1],
            4.5
          ],
          16,
          [
            "match",
            ["get", "class"],
            ["motorway", "motorway_construction"],
            ["match", ["get", "ramp"], 1, 10, 12],
            ["trunk", "trunk_construction"],
            ["match", ["get", "oneway"], 1, 12, 15],
            ["primary", "primary_construction"],
            12,
            ["secondary", "secondary_construction"],
            11,
            ["tertiary", "tertiary_construction"],
            10,
            [
              "minor",
              "minor_construction",
              "service",
              "service_construction",
              "rail",
              "rail_construction"
            ],
            9,
            [
              "track",
              "track_construction",
              "path",
              "path_construction",
              "footway",
              "footway_construction",
              "transit",
              "transit_construction"
            ],
            ["match", ["get", "subclass"], "covered_bridge", 8.5, 1.1],
            8
          ],
          20,
          [
            "match",
            ["get", "class"],
            ["motorway", "motorway_construction"],
            ["match", ["get", "ramp"], 1, 115, 130],
            ["trunk", "trunk_construction"],
            ["match", ["get", "oneway"], 1, 130, 140],
            ["primary", "primary_construction"],
            120,
            ["secondary", "secondary_construction"],
            115,
            ["tertiary", "tertiary_construction"],
            110,
            [
              "minor",
              "minor_construction",
              "service",
              "service_construction",
              "rail",
              "rail_construction"
            ],
            100,
            [
              "track",
              "track_construction",
              "path",
              "path_construction",
              "footway",
              "footway_construction",
              "transit",
              "transit_construction"
            ],
            ["match", ["get", "subclass"], "covered_bridge", 84, 5],
            100
          ]
        ],
        "line-offset": 0,
        "line-opacity": ["interpolate", ["linear"], ["zoom"], 15, 1, 15.5, 0]
      }
    },
    {
      "id": "l2_fill",
      "type": "line",
      "source": "base_v1.0.0",
      "source-layer": "transportation",
      "minzoom": 7,
      "filter": [
        "all",
        ["has", "layer"],
        [">", "layer", 1],
        [
          "!in",
          "class",
          "ferry",
          "cable_car",
          "gondola",
          "drag_lift",
          "aerialway_transportation",
          "aerialway_closed",
          "aerialway_goods",
          "goods_conveyor",
          "mask_terrain",
          "via_ferrata"
        ],
        ["==", "$type", "LineString"],
        ["!=", "subclass", "covered_bridge"]
      ],
      "layout": {
        "line-cap": "butt",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-blur": {"stops": [[8, 0.4], [14, 0.1]]},
        "line-color": [
          "interpolate",
          ["exponential", 1],
          ["zoom"],
          9,
          [
            "match",
            ["get", "class"],
            ["motorway", "trunk"],
            "rgb(255,230,160)",
            ["rail", "path", "track", "footway"],
            [
              "match",
              ["get", "subclass"],
              "funicular",
              "rgba(243,243,246,0)",
              "rgb(243,243,246)"
            ],
            "rgb(255,255,255)",
            "rgb(243,243,246)",
            "rgb(255,255,255)"
          ],
          15,
          [
            "match",
            ["get", "class"],
            ["motorway", "trunk"],
            "rgb(255, 224, 138)",
            ["rail", "path", "track", "footway"],
            [
              "match",
              ["get", "subclass"],
              "funicular",
              "rgba(243,243,246,0)",
              "rgb(243,243,246)"
            ],
            "rgb(255,255,255)"
          ]
        ],
        "line-width": [
          "interpolate",
          ["exponential", 2],
          ["zoom"],
          7,
          0,
          8,
          [
            "match",
            ["get", "is_route"],
            [5, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 0.5, 2],
              ["trunk"],
              2,
              2
            ],
            ["match", ["get", "ramp"], 1, 0.5, 0]
          ],
          9,
          [
            "match",
            ["get", "is_route"],
            [5, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 0.75, 2.25],
              ["trunk"],
              2.25,
              2
            ],
            ["match", ["get", "ramp"], 1, 0.75, 0]
          ],
          10,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 0.75, 2.75],
              ["trunk"],
              2.75,
              "primary",
              2.5,
              "secondary",
              2.5,
              "tertiary",
              2,
              ["minor", "service"],
              1.5,
              0
            ],
            ["match", ["get", "ramp"], 1, 0.75, 0]
          ],
          11,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 1.25, 3.25],
              ["trunk"],
              3.25,
              "primary",
              3,
              "secondary",
              3,
              "tertiary",
              2.5,
              ["minor", "service"],
              1.75,
              0
            ],
            ["match", ["get", "ramp"], 1, 1.25, 0]
          ],
          12,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 1.5, 3.75],
              ["trunk"],
              3.75,
              "primary",
              4,
              "secondary",
              3.5,
              "tertiary",
              3,
              ["minor", "service"],
              2,
              0
            ],
            ["match", ["get", "ramp"], 1, 1.5, 0]
          ],
          13,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 1.75, 4.5],
              ["trunk"],
              4.5,
              "primary",
              4.5,
              "secondary",
              4,
              "tertiary",
              3.5,
              ["minor", "service"],
              2.5,
              2
            ],
            11,
            [
              "match",
              ["get", "class"],
              ["motorway", "trunk"],
              ["match", ["get", "ramp"], 1, 1.75, 4.5],
              "primary",
              3,
              "secondary",
              2.75,
              "tertiary",
              2.75,
              ["minor", "service"],
              2,
              2
            ],
            ["match", ["get", "ramp"], 1, 1.75, 0]
          ],
          14,
          [
            "match",
            ["get", "is_route"],
            [5, 6, 7, 8, 10, 99],
            [
              "match",
              ["get", "class"],
              ["motorway"],
              ["match", ["get", "ramp"], 1, 2.75, 5.5],
              ["trunk"],
              5.5,
              "primary",
              5.5,
              "secondary",
              5,
              "tertiary",
              4,
              ["minor", "service"],
              3,
              2.5
            ],
            [
              "match",
              ["get", "class"],
              ["motorway", "trunk"],
              ["match", ["get", "ramp"], 1, 2.75, 5.5],
              "primary",
              3.5,
              "secondary",
              3,
              "tertiary",
              3,
              ["minor", "service"],
              2.5,
              2.5
            ]
          ],
          15,
          [
            "match",
            ["get", "subclass"],
            "funicular",
            3,
            [
              "match",
              ["get", "class"],
              ["motorway", "motorway_construction"],
              ["match", ["get", "ramp"], 1, 5, 6.5],
              ["trunk", "trunk_construction"],
              ["match", ["get", "oneway"], 1, 6.5, 10.5],
              ["primary", "primary_construction"],
              6.5,
              ["secondary", "secondary_construction"],
              5.5,
              ["tertiary", "tertiary_construction"],
              4.5,
              [
                "minor",
                "minor_construction",
                "service",
                "service_construction"
              ],
              3.5,
              ["rail", "rail_construction"],
              5,
              [
                "track",
                "track_construction",
                "path",
                "path_construction",
                "footway",
                "footway_construction",
                "transit",
                "transit_construction"
              ],
              1.25,
              3
            ]
          ],
          16,
          [
            "match",
            ["get", "subclass"],
            "funicular",
            6,
            [
              "match",
              ["get", "class"],
              ["motorway", "motorway_construction"],
              ["match", ["get", "ramp"], 1, 8, 10],
              ["trunk", "trunk_construction"],
              ["match", ["get", "oneway"], 1, 10, 13],
              ["primary", "primary_construction"],
              10,
              ["secondary", "secondary_construction"],
              9,
              ["tertiary", "tertiary_construction"],
              8,
              [
                "minor",
                "minor_construction",
                "service",
                "service_construction"
              ],
              7,
              ["rail", "rail_construction"],
              9.5,
              [
                "track",
                "track_construction",
                "path",
                "path_construction",
                "footway",
                "footway_construction",
                "transit",
                "transit_construction"
              ],
              6.5,
              6
            ]
          ],
          20,
          [
            "match",
            ["get", "subclass"],
            "funicular",
            20,
            [
              "match",
              ["get", "class"],
              ["motorway", "motorway_construction"],
              ["match", ["get", "ramp"], 1, 112, 126],
              ["trunk", "trunk_construction"],
              ["match", ["get", "oneway"], 1, 126, 136],
              ["primary", "primary_construction"],
              117,
              ["secondary", "secondary_construction"],
              112,
              ["tertiary", "tertiary_construction"],
              107,
              [
                "minor",
                "minor_construction",
                "service",
                "service_construction"
              ],
              97,
              ["rail", "rail_construction"],
              120,
              [
                "track",
                "track_construction",
                "path",
                "path_construction",
                "footway",
                "footway_construction",
                "transit",
                "transit_construction"
              ],
              81,
              92
            ]
          ]
        ],
        "line-opacity": ["interpolate", ["linear"], ["zoom"], 15, 1, 15.5, 0]
      }
    },
    {
      "id": "l2_public_transport_aerialway",
      "type": "line",
      "source": "base_v1.0.0",
      "source-layer": "transportation",
      "minzoom": 10,
      "filter": [
        "all",
        [
          "match",
          ["get", "class"],
          ["cable_car", "chair_lift", "gondola"],
          true,
          ["rail", "rail_construction", "transit", "transit_construction"],
          ["case", ["has", "layer"], [">", ["get", "layer"], 1], false],
          false
        ],
        ["==", ["geometry-type"], "LineString"]
      ],
      "layout": {"line-cap": "round", "visibility": "visible"},
      "paint": {
        "line-blur": [
          "interpolate",
          ["linear"],
          ["zoom"],
          8,
          [
            "match",
            ["get", "class"],
            ["cable_car", "chair_lift", "gondola"],
            0.25,
            ["rail"],
            [
              "match",
              ["get", "subclass"],
              ["rail"],
              ["match", ["get", "service"], ["yard", "siding"], 2.5, 0.6],
              0.6
            ],
            0.6
          ],
          14,
          [
            "match",
            ["get", "class"],
            ["cable_car", "chair_lift", "gondola"],
            0.25,
            ["rail"],
            [
              "match",
              ["get", "subclass"],
              ["rail"],
              ["match", ["get", "service"], ["yard", "siding"], 2.5, 0.6],
              0.6
            ],
            0.6
          ],
          18,
          [
            "match",
            ["get", "class"],
            ["cable_car", "chair_lift", "gondola"],
            0.25,
            0.4
          ]
        ],
        "line-color": {
          "stops": [[7, "rgba(255, 50, 50, 1)"], [15, "rgba(255, 80, 80, 1)"]]
        },
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          9,
          [
            "match",
            ["get", "class"],
            ["cable_car", "chair_lift", "gondola"],
            0.3,
            [
              "match",
              ["get", "is_route"],
              99,
              ["match", ["get", "subclass"], "rail", 0.75, 0],
              0
            ]
          ],
          10,
          [
            "match",
            ["get", "is_route"],
            99,
            [
              "match",
              ["get", "class"],
              ["rail"],
              [
                "match",
                ["get", "subclass"],
                ["rail", "narrow_gauge", "rack_rail"],
                ["match", ["get", "service"], ["yard", "siding"], 0, 0.75],
                0.5
              ],
              0.5
            ],
            [
              "match",
              ["get", "class"],
              ["cable_car", "chair_lift", "gondola"],
              0.4,
              [
                "match",
                ["get", "subclass"],
                ["cable_car", "funicular"],
                0.75,
                0
              ]
            ]
          ],
          14,
          [
            "match",
            ["get", "is_route"],
            99,
            [
              "match",
              ["get", "class"],
              "transit",
              1,
              ["rail"],
              [
                "match",
                ["get", "subclass"],
                ["rail", "narrow_gauge", "rack_rail"],
                ["match", ["get", "service"], ["yard", "siding"], 0, 2],
                1
              ],
              0
            ],
            [
              "match",
              ["get", "class"],
              "cable_car",
              1,
              ["chair_lift", "gondola"],
              0.4,
              ["match", ["get", "subclass"], ["cable_car", "funicular"], 1, 0]
            ]
          ],
          18,
          [
            "match",
            ["get", "class"],
            ["chair_lift", "gondola", "transit"],
            1.5,
            ["match", ["get", "service"], ["yard", "siding"], 1.5, 2]
          ]
        ],
        "line-opacity": [
          "interpolate",
          ["linear"],
          ["zoom"],
          8,
          0,
          9,
          ["match", ["get", "class"], ["rail"], 1, 0],
          12,
          ["match", ["get", "class"], ["rail"], 1, 0],
          13,
          ["match", ["get", "class"], ["cable_car", "gondola", "rail"], 1, 0],
          14,
          [
            "match",
            ["get", "class"],
            ["rail"],
            [
              "match",
              ["get", "subclass"],
              ["rail", "narrow_gauge", "rack_rail", "funicular"],
              ["match", ["get", "service"], ["yard", "siding"], 0, 1],
              0
            ],
            ["cable_car", "gondola", "chair_lift"],
            1,
            0
          ],
          14.5,
          1
        ]
      }
    },
    {
      "id": "Einzelobjekte_Flaechen",
      "type": "line",
      "source": "vectormap_av",
      "source-layer": "Einzelobjekte_Flaechen",
      "minzoom": 17,
      "layout": {
        "visibility": "visible",
        "line-cap": "round",
        "line-join": "round"
      },
      "paint": {
        "line-color": "rgba(184, 184, 184, 1)",
        "line-opacity": {"stops": [[17, 0], [18, 1]]},
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          20,
          [
            "match",
            ["get", "Art"],
            "Rinnsal",
            2,
            "schmaler_Weg",
            2,
            "Bruecke_Passerelle",
            1.3,
            "Bahngeleise",
            1.3,
            "Bahnsteig",
            1.3,
            "Faehre",
            1.3,
            "Gondelbahn_Sesselbahn",
            1.3,
            "Luftseilbahn",
            1.3,
            "Skilift",
            1.3,
            "Tunnel_Unterfuehrung_Galerie",
            1.3,
            "Hochspannungsfreileitung",
            1.3,
            "Lawinenverbauung",
            1.3,
            "schmale_bestockte_Flaeche",
            1.3,
            1
          ],
          22,
          [
            "match",
            ["get", "Einzelobjektart"],
            "Rinnsal",
            3.2,
            "schmaler_Weg",
            3.2,
            "Bruecke_Passerelle",
            2.08,
            "Bahngeleise",
            2.08,
            "Bahnsteig",
            2.08,
            "Faehre",
            2.08,
            "Gondelbahn_Sesselbahn",
            2.08,
            "Luftseilbahn",
            2.08,
            "Skilift",
            2.08,
            "Tunnel_Unterfuehrung_Galerie",
            2.08,
            "Hochspannungsfreileitung",
            2.08,
            "Lawinenverbauung",
            2.08,
            "schmale_bestockte_Flaeche",
            2.08,
            1.6
          ]
        ],
        "line-dasharray": [
          "match",
          ["get", "Art"],
          "Reservoir",
          ["literal", [3, 3]],
          "Tunnel_Unterfuehrung_Galerie",
          ["literal", [3, 3]],
          "eingedoltes_oeffentliches_Gewaesser",
          ["literal", [3, 3]],
          "schmale_bestockte_Flaeche",
          ["literal", [4.2, 3]],
          "Lawinenverbauung",
          ["literal", [4.2, 3]],
          "unterirdisches_Gebaeude",
          ["literal", [4.2, 3]],
          "schmaler_Weg",
          ["literal", [9, 3]],
          "Hochspannungsfreileitung",
          ["literal", [19.5, 3, 3, 3, 3, 3]],
          "Materialseilbahn",
          ["literal", [19.5, 3, 3, 3, 3, 3]],
          "Luftseilbahn",
          ["literal", [19.5, 3, 3, 3, 3, 3]],
          "Gondelbahn_Sesselbahn",
          ["literal", [19.5, 3, 3, 3, 3, 3]],
          "Faehre",
          ["literal", [30, 3, 5.4, 3]],
          "Skilift",
          ["literal", [14.4, 0.6]],
          ["literal", [100000, 0.0001]]
        ]
      }
    },
    {
      "id": "Einzelobjekte_Linien",
      "type": "line",
      "source": "vectormap_av",
      "source-layer": "Einzelobjekte_Linien",
      "minzoom": 17,
      "layout": {
        "visibility": "visible",
        "line-cap": "round",
        "line-join": "round"
      },
      "paint": {
        "line-color": "rgba(184, 184, 184, 1)",
        "line-opacity": {"stops": [[17, 0], [18, 1]]},
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          20,
          [
            "match",
            ["get", "Art"],
            "Rinnsal",
            2,
            "schmaler_Weg",
            2,
            "Bruecke_Passerelle",
            1.3,
            "Bahngeleise",
            1.3,
            "Bahnsteig",
            1.3,
            "Faehre",
            1.3,
            "Gondelbahn_Sesselbahn",
            1.3,
            "Luftseilbahn",
            1.3,
            "Skilift",
            1.3,
            "Tunnel_Unterfuehrung_Galerie",
            1.3,
            "Hochspannungsfreileitung",
            1.3,
            "Lawinenverbauung",
            1.3,
            "schmale_bestockte_Flaeche",
            1.3,
            1
          ],
          22,
          [
            "match",
            ["get", "Einzelobjektart"],
            "Rinnsal",
            3.2,
            "schmaler_Weg",
            3.2,
            "Bruecke_Passerelle",
            2.08,
            "Bahngeleise",
            2.08,
            "Bahnsteig",
            2.08,
            "Faehre",
            2.08,
            "Gondelbahn_Sesselbahn",
            2.08,
            "Luftseilbahn",
            2.08,
            "Skilift",
            2.08,
            "Tunnel_Unterfuehrung_Galerie",
            2.08,
            "Hochspannungsfreileitung",
            2.08,
            "Lawinenverbauung",
            2.08,
            "schmale_bestockte_Flaeche",
            2.08,
            1.6
          ]
        ],
        "line-dasharray": [
          "match",
          ["get", "Art"],
          "Reservoir",
          ["literal", [3, 3]],
          "Tunnel_Unterfuehrung_Galerie",
          ["literal", [3, 3]],
          "eingedoltes_oeffentliches_Gewaesser",
          ["literal", [3, 3]],
          "schmale_bestockte_Flaeche",
          ["literal", [4.2, 3]],
          "Lawinenverbauung",
          ["literal", [4.2, 3]],
          "unterirdisches_Gebaeude",
          ["literal", [4.2, 3]],
          "schmaler_Weg",
          ["literal", [9, 3]],
          "Hochspannungsfreileitung",
          ["literal", [19.5, 3, 3, 3, 3, 3]],
          "Materialseilbahn",
          ["literal", [19.5, 3, 3, 3, 3, 3]],
          "Luftseilbahn",
          ["literal", [19.5, 3, 3, 3, 3, 3]],
          "Gondelbahn_Sesselbahn",
          ["literal", [19.5, 3, 3, 3, 3, 3]],
          "Faehre",
          ["literal", [30, 3, 5.4, 3]],
          "Skilift",
          ["literal", [5, 8]],
          ["literal", [100000, 0.0001]]
        ]
      }
    },
    {
      "id": "Gebäudeteil",
      "type": "fill",
      "source": "vectormap_av",
      "source-layer": "Einzelobjekte_Flaechen",
      "minzoom": 17,
      "filter": ["any", ["==", "Art", "uebriger_Gebaeudeteil"]],
      "layout": {"visibility": "none"},
      "paint": {
        "fill-color": "rgba(237, 240, 251, 1)",
        "fill-outline-color": "rgba(136, 136, 136, 1)",
        "fill-opacity": {"stops": [[17, 0], [18, 1]]}
      }
    },
    {
      "id": "Projektierte Gebäude",
      "type": "fill",
      "source": "vectormap_av",
      "source-layer": "Bodenbedeckung_projektiert",
      "minzoom": 14,
      "filter": ["all", ["==", "Art", "Gebaeude"]],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "rgba(255, 0, 0, 0.3)",
        "fill-opacity": {"stops": [[14, 0], [15, 1]]}
      }
    },
    {
      "id": "Unterirdisches Gebäude",
      "type": "line",
      "source": "vectormap_av",
      "source-layer": "Einzelobjekte_Linien",
      "minzoom": 15,
      "filter": ["any", ["==", "Art", "unterirdisches_Gebaeude"]],
      "layout": {"line-cap": "butt", "visibility": "visible"},
      "paint": {
        "line-color": "rgba(145, 145, 145, 1)",
        "line-opacity": {"stops": [[17, 0], [18, 1]]}
      }
    },
    {
      "id": "LS_Liegenschaften",
      "type": "line",
      "source": "vectormap_av",
      "source-layer": "Liegenschaften",
      "minzoom": 16,
      "layout": {"visibility": "visible"},
      "paint": {
        "line-color": "rgba(153, 153, 153, 1)",
        "line-width": 1,
        "line-opacity": {"stops": [[16, 0], [18, 1]]}
      }
    },
    {
      "id": "LS_Liegenschaften_projektiert",
      "type": "line",
      "source": "vectormap_av",
      "source-layer": "Liegenschaften_projektiert",
      "minzoom": 16,
      "layout": {"visibility": "visible"},
      "paint": {
        "line-color": "rgba(255, 0, 0, 1)",
        "line-width": 1,
        "line-opacity": {"stops": [[16, 0], [18, 1]]}
      }
    },
    {
      "id": "LS_Grenzpunkte",
      "type": "circle",
      "source": "vectormap_av",
      "source-layer": "Grenzpunkte",
      "minzoom": 18,
      "layout": {"visibility": "visible"},
      "paint": {
        "circle-radius": [
          "let",
          "pz",
          ["get", "Punktzeichen"],
          [
            "match",
            ["var", "pz"],
            "Stein",
            3,
            "Kunststoffzeichen",
            3,
            "Bolzen",
            2.1,
            "Rohr",
            1.7,
            "Pfahl",
            1.7,
            "Kreuz",
            1.7,
            "weitere",
            2.1,
            "unversichert",
            1.7,
            2.1
          ]
        ],
        "circle-color": "rgba(255, 255, 255, 1)",
        "circle-stroke-width": [
          "let",
          "pz",
          ["get", "Punktzeichen"],
          ["case", ["==", ["var", "pz"], "unversichert"], 0, 1]
        ],
        "circle-stroke-color": "rgba(153, 153, 153, 1)"
      }
    },
    {
      "id": "hazard",
      "type": "fill",
      "source": "base_v1.0.0",
      "source-layer": "landcover",
      "minzoom": 5,
      "filter": ["==", "class", "hazard"],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "rgb(240, 218, 188)",
        "fill-opacity": ["interpolate", ["linear"], ["zoom"], 15, 0.4, 15.5, 0],
        "fill-antialias": false
      }
    },
    {
      "id": "contour_line_pt",
      "type": "symbol",
      "source": "base_v1.0.0",
      "source-layer": "contour_line_pt",
      "minzoom": 14,
      "filter": [
        "any",
        ["has", "lake_depth"],
        ["==", ["%", ["to-number", ["get", "ele"]], 20], 0]
      ],
      "layout": {
        "icon-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          14,
          0.7,
          16,
          [
            "match",
            ["%", ["to-number", ["get", "lake_depth"]], 100],
            0,
            0.9,
            0.7
          ]
        ],
        "text-font": ["Frutiger Neue Italic"],
        "text-size": [
          "interpolate",
          ["exponential", 2],
          ["zoom"],
          14,
          10.5,
          16,
          [
            "case",
            ["has", "lake_depth"],
            [
              "match",
              ["%", ["to-number", ["get", "lake_depth"]], 100],
              0,
              14,
              12
            ],
            ["match", ["%", ["to-number", ["get", "ele"]], 100], 0, 14, 12]
          ]
        ],
        "icon-image": ["case", ["has", "lake_depth"], "arrow_blue", ""],
        "text-field": [
          "case",
          ["has", "lake_depth"],
          ["get", "lake_depth"],
          ["get", "ele"]
        ],
        "visibility": "visible",
        "icon-anchor": "center",
        "icon-offset": [
          "case",
          ["has", "lake_depth"],
          [
            "match",
            ["length", ["to-string", ["get", "lake_depth"]]],
            1,
            ["literal", [-12, 0]],
            2,
            ["literal", [-16, 0]],
            3,
            ["literal", [-20, 0]],
            4,
            ["literal", [-24, 0]],
            ["literal", [0, 0]]
          ],
          ["literal", [0, 0]]
        ],
        "icon-rotate": ["get", "direction"],
        "text-anchor": "center",
        "text-rotate": ["get", "direction"],
        "text-max-angle": 35,
        "symbol-avoid-edges": true,
        "text-letter-spacing": 0.1,
        "icon-pitch-alignment": "map",
        "icon-rotation-alignment": "map",
        "text-rotation-alignment": "map",
        "text-padding": [
          "interpolate",
          ["linear"],
          ["zoom"],
          14,
          20,
          15,
          12,
          16,
          80
        ]
      },
      "paint": {
        "text-color": [
          "match",
          ["get", "class"],
          "scree",
          "rgb(110, 110, 110)",
          "land",
          "rgb(179, 136, 77)",
          "water",
          "rgb(47, 134, 188)",
          "ice",
          "rgb(80, 123, 149)",
          "rgb(110, 110, 110)"
        ],
        "icon-opacity": [
          "step",
          ["zoom"],
          [
            "match",
            ["%", ["to-number", ["get", "lake_depth"]], 100],
            0,
            0.8,
            0
          ],
          15,
          0.8
        ],
        "text-halo-blur": 0.25,
        "text-halo-color": [
          "match",
          ["get", "class"],
          ["ice", "water"],
          "rgb(215, 243, 255)",
          "rgba(238, 238, 238, 0.9)"
        ],
        "text-halo-width": 1,
        "text-opacity": [
          "step",
          ["zoom"],
          [
            "case",
            ["has", "lake_depth"],
            [
              "match",
              ["%", ["to-number", ["get", "lake_depth"]], 100],
              0,
              1,
              0
            ],
            ["match", ["%", ["to-number", ["get", "ele"]], 100], 0, 1, 0]
          ],
          15,
          [
            "match",
            ["get", "class"],
            "water",
            1,
            ["match", ["%", ["to-number", ["get", "ele"]], 100], 0, 1, 0]
          ],
          16,
          1
        ]
      }
    },
    {
      "id": "spot_elevation",
      "type": "symbol",
      "source": "base_v1.0.0",
      "source-layer": "spot_elevation",
      "minzoom": 9,
      "filter": ["!=", "class", "doline"],
      "layout": {
        "icon-optional": false,
        "text-optional": false,
        "icon-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          13,
          ["match", ["get", "class"], "lake_spot_depth", 0.6, 1],
          16,
          ["match", ["get", "class"], "lake_spot_depth", 0.6, 1]
        ],
        "text-font": [
          "match",
          ["get", "class"],
          "lake_elevation",
          ["literal", ["Frutiger Neue Italic"]],
          ["literal", ["Frutiger Neue Regular"]]
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          13,
          10,
          14,
          10.5,
          16,
          13
        ],
        "icon-image": [
          "match",
          ["get", "class"],
          "sinkhole",
          "arrow_brown",
          ["sinkhole_ice", "sinkhole_water", "lake_spot_depth"],
          "arrow_blue",
          ["sinkhole_rock", "sinkhole_scree"],
          "arrow_grey",
          ["spot_elevation", "terrain_spot_elevation"],
          "dot_dark_grey_3",
          "lake_elevation",
          [
            "case",
            ["has", "lake_depth"],
            "arrow_line_blue",
            ["==", ["length", ["to-string", ["get", "ele"]]], 3],
            "line_blue_short",
            "line_blue_long"
          ],
          ""
        ],
        "text-field": [
          "match",
          ["get", "class"],
          ["spot_elevation", "terrain_spot_elevation"],
          ["get", "ele"],
          [
            "sinkhole",
            "sinkhole_rock",
            "sinkhole_scree",
            "sinkhole_water",
            "sinkhole_ice"
          ],
          "",
          "lake_spot_depth",
          ["get", "lake_depth"],
          [
            "case",
            ["has", "lake_depth"],
            ["concat", ["get", "ele"], "\n\n", ["get", "lake_depth"]],
            ["get", "ele"]
          ]
        ],
        "visibility": "visible",
        "icon-anchor": [
          "match",
          ["get", "class"],
          [
            "sinkhole",
            "sinkhole_rock",
            "sinkhole_scree",
            "sinkhole_water",
            "sinkhole_ice"
          ],
          "bottom",
          "center"
        ],
        "icon-padding": 30,
        "text-anchor": [
          "match",
          ["get", "class"],
          "lake_spot_depth",
          "left",
          "lake_elevation",
          "center",
          "bottom-right"
        ],
        "symbol-placement": "point",
        "text-keep-upright": false,
        "text-offset": [
          "match",
          ["get", "class"],
          "lake_spot_depth",
          ["literal", [0.35, 0]],
          "lake_elevation",
          [
            "case",
            ["has", "lake_depth"],
            ["literal", [0.35, -0.6]],
            ["literal", [0.1, -0.7]]
          ],
          ["literal", [-0.35, 0]]
        ],
        "text-justify": "center",
        "text-line-height": 0.9,
        "icon-rotate": [
          "match",
          ["get", "class"],
          [
            "sinkhole",
            "sinkhole_rock",
            "sinkhole_scree",
            "sinkhole_water",
            "sinkhole_ice"
          ],
          15,
          0
        ]
      },
      "paint": {
        "text-color": [
          "match",
          ["get", "class"],
          ["lake_spot_depth", "lake_elevation"],
          "rgb(47, 134, 188)",
          "rgba(80, 80, 80, 1)"
        ],
        "icon-opacity": [
          "step",
          ["zoom"],
          ["match", ["get", "class"], ["lake_elevation"], 0.8, 0],
          14,
          [
            "match",
            ["get", "class"],
            ["spot_elevation", "terrain_spot_elevation", "lake_elevation"],
            0.8,
            0
          ],
          15,
          [
            "match",
            ["get", "class"],
            ["spot_elevation", "terrain_spot_elevation", "lake_elevation"],
            0.8,
            [
              "sinkhole",
              "sinkhole_ice",
              "sinkhole_water",
              "sinkhole_rock",
              "sinkhole_scree"
            ],
            0.6,
            1
          ]
        ],
        "text-opacity": [
          "step",
          ["zoom"],
          ["match", ["get", "class"], "lake_elevation", 0.8, 0],
          14,
          [
            "match",
            ["get", "class"],
            ["spot_elevation", "terrain_spot_elevation"],
            1,
            ["lake_elevation"],
            0.8,
            0
          ],
          15,
          ["match", ["get", "class"], "lake_elevation", 0.8, 1]
        ],
        "text-halo-blur": 0.25,
        "text-halo-color": [
          "match",
          ["get", "class"],
          ["lake_spot_depth", "lake_elevation"],
          "rgb(199, 224, 245)",
          "rgba(242, 242, 242, 0.6)"
        ],
        "text-halo-width": 0.5
      }
    },
    {
      "id": "Gebäudeadressen",
      "type": "symbol",
      "source": "vectormap_av",
      "source-layer": "Gebaeudeadressen",
      "minzoom": 16,
      "layout": {
        "visibility": "visible",
        "symbol-placement": "point",
        "text-field": ["to-string", ["get", "Hausnummer"]],
        "text-font": ["Frutiger Neue Condensed Regular"],
        "text-size": 12,
        "text-anchor": [
          "match",
          ["get", "Loc"],
          "cc",
          "center",
          "cl",
          "left",
          "cr",
          "right",
          "lc",
          "bottom",
          "ll",
          "bottom-left",
          "lr",
          "bottom-right",
          "uc",
          "top",
          "ul",
          "top-left",
          "ur",
          "top-right",
          "center"
        ],
        "text-offset": [
          "match",
          ["get", "Loc"],
          "cc",
          ["literal", [0, 0]],
          "cl",
          ["literal", [-1, 0]],
          "cr",
          ["literal", [1, 0]],
          "uc",
          ["literal", [0, -1]],
          "lc",
          ["literal", [0, 1]],
          "ul",
          ["literal", [-1, -1]],
          "ur",
          ["literal", [1, -1]],
          "ll",
          ["literal", [-1, 1]],
          "lr",
          ["literal", [1, 1]],
          ["literal", [0, 0]]
        ],
        "text-rotation-alignment": "map",
        "text-keep-upright": true,
        "text-rotate": [
          "*",
          ["coalesce", ["to-number", ["get", "Ori"]], 0],
          -1
        ],
        "text-optional": true,
        "text-ignore-placement": false,
        "text-padding": 1
      },
      "paint": {
        "text-opacity": {"stops": [[16, 0], [17, 1]]},
        "text-halo-width": 1.2,
        "text-halo-blur": 0.4,
        "text-halo-color": "rgba(255,255,255,0.9)"
      }
    },
    {
      "id": "transportation_label",
      "type": "symbol",
      "source": "base_v1.0.0",
      "source-layer": "transportation_name",
      "minzoom": 13,
      "filter": [
        "all",
        [
          "!in",
          "class",
          "cable_car",
          "gondola",
          "chair_lift",
          "drag_lift",
          "aerialway_transportation",
          "aerialway_closed",
          "aerialway_goods",
          "goods_conveyor"
        ],
        ["==", "$type", "LineString"]
      ],
      "layout": {
        "text-font": ["Frutiger Neue Condensed Regular"],
        "text-size": [
          "interpolate",
          ["exponential", 1.5],
          ["zoom"],
          14,
          ["match", ["get", "class"], ["motorway", "trunk"], 11, 10.5],
          18,
          ["match", ["get", "class"], ["motorway", "trunk"], 18, 16]
        ],
        "text-field": "{name:latin}",
        "visibility": "visible",
        "text-anchor": "center",
        "text-offset": [0, 0],
        "text-padding": 2,
        "symbol-spacing": [
          "interpolate",
          ["linear"],
          ["zoom"],
          15,
          200,
          18,
          400
        ],
        "symbol-z-order": "auto",
        "text-max-angle": 40,
        "text-transform": "none",
        "symbol-placement": "line",
        "text-keep-upright": true,
        "symbol-avoid-edges": true,
        "text-letter-spacing": 0.1,
        "text-pitch-alignment": "map",
        "text-rotation-alignment": "map"
      },
      "paint": {
        "text-color": [
          "match",
          ["get", "class"],
          ["rail", "transit", "cable_car", "gondola", "chair_lift"],
          "rgba(255, 50, 50, 1)",
          ["ferry", "car_ferry"],
          "rgb(47, 134, 188)",
          "rgba(60, 60, 70, 1)"
        ],
        "text-halo-blur": 0.2,
        "text-halo-color": [
          "match",
          ["get", "class"],
          [
            "rail",
            "transit",
            "cable_car",
            "gondola",
            "chair_lift",
            "motorway",
            "trunk"
          ],
          "rgba(255, 255, 255, 0.6)",
          "rgba(255, 255, 255, 0.8)"
        ],
        "text-halo-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          14,
          [
            "match",
            ["get", "class"],
            ["rail", "transit", "cable_car", "gondola", "chair_lift"],
            1.5,
            1.5
          ],
          20,
          3
        ]
      }
    },
    {
      "id": "road_number",
      "type": "symbol",
      "source": "base_v1.0.0",
      "source-layer": "transportation_name",
      "minzoom": 13,
      "filter": [
        "all",
        ["in", "class", "motorway", "trunk", "primary"],
        ["has", "ref"],
        ["<=", "ref_length", 12],
        [">", "ref_length", 0],
        ["==", "$type", "LineString"]
      ],
      "layout": {
        "icon-size": 1,
        "text-font": ["Frutiger Neue Condensed Bold"],
        "text-size": 10.5,
        "icon-image": "box_white_grey_casing_{ref_length}",
        "text-field": ["get", "ref"],
        "visibility": "visible",
        "icon-offset": [0, -0.5],
        "text-anchor": "center",
        "icon-padding": 2,
        "text-justify": "center",
        "icon-optional": false,
        "icon-text-fit": "none",
        "text-optional": false,
        "symbol-spacing": ["step", ["zoom"], 300, 10, 600, 14, 800],
        "symbol-z-order": "auto",
        "symbol-placement": "line",
        "icon-keep-upright": false,
        "text-keep-upright": true,
        "icon-allow-overlap": false,
        "symbol-avoid-edges": false,
        "text-letter-spacing": 0,
        "icon-pitch-alignment": "viewport",
        "text-pitch-alignment": "viewport",
        "icon-ignore-placement": false,
        "icon-rotation-alignment": "viewport",
        "text-rotation-alignment": "viewport"
      },
      "paint": {
        "text-color": "rgba(64, 64, 64, 1)",
        "icon-opacity": 1,
        "text-opacity": 1,
        "text-halo-blur": 0,
        "text-halo-color": "rgba(0, 0, 0, 0)",
        "text-halo-width": 0
      }
    },
    {
      "id": "area_name_glacier_point_label",
      "type": "symbol",
      "source": "base_v1.0.0",
      "source-layer": "area_name",
      "minzoom": 14,
      "filter": [
        "all",
        ["==", "$type", "Point"],
        ["in", "subclass", "glacier"]
      ],
      "layout": {
        "text-font": ["Frutiger Neue Italic"],
        "text-size": ["interpolate", ["linear"], ["zoom"], 10, 11, 16, 20],
        "text-field": "{name:latin}",
        "visibility": "visible",
        "symbol-spacing": {"stops": [[12, 250], [14, 550]]},
        "symbol-z-order": "auto",
        "text-max-width": 99999,
        "symbol-placement": "point",
        "text-keep-upright": true,
        "symbol-avoid-edges": true,
        "text-allow-overlap": false,
        "text-letter-spacing": 0.15,
        "text-pitch-alignment": "map",
        "text-ignore-placement": false,
        "text-rotation-alignment": "map"
      },
      "paint": {
        "text-color": "rgb(47, 134, 188)",
        "text-halo-blur": 1,
        "text-halo-color": "rgba(242, 242, 242, 0.6)",
        "text-halo-width": 1
      }
    },
    {
      "id": "area_name_glacier_line_label",
      "type": "symbol",
      "source": "base_v1.0.0",
      "source-layer": "area_name",
      "minzoom": 12,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["in", "subclass", "glacier"]
      ],
      "layout": {
        "text-font": ["Frutiger Neue Italic"],
        "text-size": ["interpolate", ["linear"], ["zoom"], 10, 11, 16, 20],
        "text-field": "{name:latin}",
        "visibility": "visible",
        "symbol-spacing": {"stops": [[12, 250], [14, 550]]},
        "symbol-z-order": "auto",
        "text-max-width": 99999,
        "symbol-placement": "line-center",
        "text-keep-upright": true,
        "symbol-avoid-edges": true,
        "text-allow-overlap": false,
        "text-letter-spacing": {"stops": [[10, 0.15], [12, 0.3]]},
        "text-pitch-alignment": "map",
        "text-ignore-placement": false,
        "text-rotation-alignment": "map"
      },
      "paint": {
        "text-color": "rgb(47, 134, 188)",
        "text-halo-blur": 1,
        "text-halo-color": "rgba(242, 242, 242, 0.6)",
        "text-halo-width": 1
      }
    },
    {
      "id": "poi_rank2",
      "type": "symbol",
      "source": "base_v1.0.0",
      "source-layer": "poi",
      "minzoom": 14,
      "filter": [
        "any",
        [
          "match",
          ["get", "class"],
          ["place_of_worship", "monastery"],
          true,
          false
        ],
        [
          "match",
          ["get", "subclass"],
          [
            "aerialway",
            "aerialway_station",
            "allottments",
            "antenna_area",
            "attraction",
            "building",
            "bus_stop",
            "cable_car_station",
            "camp_site",
            "cave",
            "cemetery",
            "chair_lift_station",
            "church_tower",
            "communications_tower",
            "dam",
            "driving_centre",
            "elevator",
            "entrance",
            "ferry",
            "ferry_terminal",
            "fuel",
            "funicular",
            "funicular_stop",
            "garden",
            "golf",
            "golf_course",
            "gondola_station",
            "halt",
            "horse_racing",
            "incineration_plant",
            "military",
            "monastery",
            "observation_tower",
            "observatory",
            "park",
            "pitch",
            "power",
            "power_plant",
            "prison",
            "ruins",
            "shooting",
            "solar",
            "sports_centre",
            "stadium",
            "subway_entrance",
            "subway_stop",
            "survey_point",
            "swimming_pool",
            "tower",
            "tram_stop",
            "wastewater_plant",
            "waterfall",
            "weir",
            "wind_turbine",
            "zoo"
          ],
          true,
          false
        ]
      ],
      "layout": {
        "icon-size": 1,
        "text-font": ["Frutiger Neue Condensed Regular"],
        "text-size": ["interpolate", ["linear"], ["zoom"], 14, 12, 18, 18],
        "icon-image": [
          "match",
          ["get", "subclass"],
          [
            "aerialway_station",
            "bus_stop",
            "cable_car_station",
            "chair_lift_station",
            "elevator",
            "funicular_stop",
            "gondola_station",
            "halt",
            "subway_entrance",
            "subway_stop",
            "tram_stop"
          ],
          "dot_red",
          ["camp_site", "caravan_site"],
          "camping_grey",
          ["car_ferry", "ferry", "ferry_terminal"],
          "dot_blue",
          "church_tower",
          "dot_circle_dark_grey_12",
          "communications_tower",
          "communications_tower_grey",
          ["golf", "golf_course"],
          "golf_grey",
          "hospital",
          "hospital_grey",
          "observation_tower",
          "observation_tower_grey",
          ["survey_point", "surveying_pyramid"],
          "dot_dark_grey_4",
          "waterfall",
          "waterfall_blue",
          "wind_turbine",
          "windturbine_grey",
          ""
        ],
        "text-field": [
          "case",
          ["has", "name:latin"],
          ["get", "name:latin"],
          ""
        ],
        "visibility": "visible",
        "icon-rotate": ["case", ["has", "direction"], ["get", "direction"], 0],
        "text-anchor": [
          "match",
          ["get", "subclass"],
          [
            "caravan_site",
            "camp_site",
            "church_tower",
            "golf_course",
            "golf",
            "hospital",
            "communications_tower",
            "waterfall",
            "observation_tower"
          ],
          "left",
          [
            "ferry",
            "car_ferry",
            "ferry_terminal",
            "funicular_stop",
            "halt",
            "tram_stop",
            "bus_stop",
            "cable_car_station",
            "gondola_station",
            "chair_lift_station",
            "aerialway_station",
            "elevator",
            "subway_entrance",
            "subway_stop",
            "survey_point",
            "surveying_pyramid"
          ],
          "bottom-left",
          "center"
        ],
        "text-offset": [
          "match",
          ["get", "subclass"],
          [
            "ferry",
            "car_ferry",
            "ferry_terminal",
            "funicular_stop",
            "halt",
            "tram_stop",
            "bus_stop",
            "cable_car_station",
            "gondola_station",
            "chair_lift_station",
            "aerialway_station",
            "elevator",
            "subway_entrance",
            "subway_stop"
          ],
          ["literal", [0.4, 0.1]],
          "observation_tower",
          ["literal", [0.5, 0.2]],
          "waterfall",
          ["literal", [0.5, 0.1]],
          ["literal", [0.8, 0.1]]
        ],
        "text-justify": [
          "match",
          ["get", "subclass"],
          [
            "aerialway_station",
            "bus_stop",
            "cable_car_station",
            "chair_lift_station",
            "elevator",
            "funicular_stop",
            "gondola_station",
            "halt",
            "subway_entrance",
            "subway_stop",
            "tram_stop",
            "camp_site",
            "caravan_site",
            "car_ferry",
            "ferry",
            "ferry_terminal",
            "church_tower",
            "communications_tower",
            "golf",
            "golf_course",
            "hospital",
            "observation_tower",
            "survey_point",
            "surveying_pyramid",
            "waterfall",
            "wind_turbine"
          ],
          "left",
          "center"
        ],
        "icon-optional": false,
        "text-max-width": 10,
        "icon-allow-overlap": false,
        "icon-ignore-placement": false,
        "text-letter-spacing": ["match", ["get", "class"], ["park"], 0.05, 0],
        "icon-rotation-alignment": "map"
      },
      "paint": {
        "text-color": [
          "match",
          ["get", "subclass"],
          ["ferry", "car_ferry", "ferry_terminal"],
          "rgb(47, 134, 188)",
          [
            "funicular_stop",
            "halt",
            "tram_stop",
            "bus_stop",
            "cable_car_station",
            "gondola_station",
            "chair_lift_station",
            "aerialway_station",
            "elevator",
            "subway_entrance",
            "subway_stop"
          ],
          "rgba(255, 50, 50, 1)",
          ["weir", "waterfall"],
          "rgb(47, 134, 188)",
          "rgba(48, 48, 48, 1)"
        ],
        "icon-opacity": [
          "step",
          ["zoom"],
          0,
          14,
          [
            "match",
            ["get", "class"],
            ["place_of_worship"],
            1,
            [
              "match",
              ["get", "subclass"],
              [
                "wind_turbine",
                "caravan_site",
                "camp_site",
                "ferry",
                "ferry_terminal",
                "funicular_stop",
                "golf_course",
                "golf",
                "cemetery",
                "stadium",
                "park"
              ],
              1,
              0
            ]
          ],
          15,
          1
        ],
        "text-opacity": [
          "step",
          ["zoom"],
          0,
          14,
          [
            "match",
            ["get", "class"],
            ["place_of_worship"],
            1,
            [
              "match",
              ["get", "subclass"],
              [
                "wind_turbine",
                "caravan_site",
                "camp_site",
                "ferry",
                "ferry_terminal",
                "funicular_stop",
                "golf_course",
                "golf",
                "cemetery",
                "stadium",
                "park"
              ],
              1,
              0
            ]
          ],
          15,
          1
        ],
        "text-halo-blur": 1,
        "text-halo-color": "rgba(242, 242, 242, 0.6)",
        "text-halo-width": ["interpolate", ["linear"], ["zoom"], 14, 1, 17, 2]
      }
    },
    {
      "id": "peaks_rank2",
      "type": "symbol",
      "source": "base_v1.0.0",
      "source-layer": "mountain_peak",
      "minzoom": 10,
      "filter": [
        "all",
        ["has", "rank"],
        [">", "rank", 1],
        ["!in", "class", "mountain_pass"]
      ],
      "layout": {
        "icon-size": 1,
        "text-font": ["Frutiger Neue Italic"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          10,
          [
            "case",
            ["<=", 4000, ["get", "ele"]],
            14,
            ["<=", 3000, ["get", "ele"]],
            13,
            ["<=", 2000, ["get", "ele"]],
            12,
            11
          ],
          18,
          [
            "case",
            ["<=", 4000, ["get", "ele"]],
            23,
            ["<=", 3000, ["get", "ele"]],
            22,
            ["<=", 2000, ["get", "ele"]],
            21,
            20
          ]
        ],
        "icon-image": [
          "step",
          ["zoom"],
          "",
          10,
          "dot_dark_grey_4",
          14,
          "dot_dark_grey_6",
          18,
          "dot_dark_grey_8"
        ],
        "text-field": [
          "format",
          ["get", "name:latin"],
          {},
          "\n",
          {},
          ["get", "ele"],
          {"font-scale": 0.75}
        ],
        "visibility": "visible",
        "icon-anchor": "center",
        "text-anchor": "bottom",
        "icon-padding": 0,
        "text-justify": "auto",
        "text-padding": 2,
        "icon-optional": false,
        "text-optional": false,
        "symbol-z-order": ["literal", "auto"],
        "text-max-width": 8,
        "symbol-placement": "point",
        "text-line-height": 1.15,
        "icon-allow-overlap": false,
        "text-allow-overlap": false,
        "text-radial-offset": 0.3,
        "text-letter-spacing": 0.025,
        "icon-pitch-alignment": "auto",
        "icon-ignore-placement": false,
        "text-ignore-placement": false,
        "icon-rotation-alignment": "map"
      },
      "paint": {
        "icon-color": "rgba(0, 0, 0, 1)",
        "text-color": "rgba(48, 48, 48, 1)",
        "icon-opacity": [
          "step",
          ["zoom"],
          0,
          8,
          ["match", ["get", "class"], "alpine_peak", 1, 0],
          10,
          [
            "match",
            ["get", "class"],
            "alpine_peak",
            ["case", [">=", 2, ["get", "rank"]], 1, 0],
            0
          ],
          11,
          [
            "match",
            ["get", "class"],
            ["alpine_peak", "main_peak"],
            ["case", [">=", 3, ["get", "rank"]], 1, 0],
            0
          ],
          12,
          [
            "match",
            ["get", "class"],
            ["alpine_peak", "main_peak", "peak", "main_hill", "hill"],
            ["case", [">=", 4, ["get", "rank"]], 1, 0],
            0
          ],
          13,
          [
            "match",
            ["get", "class"],
            ["alpine_peak", "main_peak", "peak", "main_hill", "hill"],
            1,
            0
          ],
          15,
          1
        ],
        "text-opacity": [
          "step",
          ["zoom"],
          0,
          8,
          ["match", ["get", "class"], "alpine_peak", 1, 0],
          10,
          [
            "match",
            ["get", "class"],
            "alpine_peak",
            ["case", [">=", 2, ["get", "rank"]], 1, 0],
            0
          ],
          11,
          [
            "match",
            ["get", "class"],
            ["alpine_peak", "main_peak"],
            ["case", [">=", 3, ["get", "rank"]], 1, 0],
            0
          ],
          12,
          [
            "match",
            ["get", "class"],
            ["alpine_peak", "main_peak", "peak", "main_hill", "hill"],
            ["case", [">=", 4, ["get", "rank"]], 1, 0],
            0
          ],
          13,
          [
            "match",
            ["get", "class"],
            ["alpine_peak", "main_peak", "peak", "main_hill", "hill"],
            1,
            0
          ],
          15,
          1
        ],
        "icon-halo-blur": 0,
        "text-halo-blur": 1,
        "icon-halo-color": "rgba(255, 255, 255, 1)",
        "icon-halo-width": 0,
        "text-halo-color": "rgba(242, 242, 242, 0.6)",
        "text-halo-width": ["interpolate", ["linear"], ["zoom"], 12, 1.5, 18, 3]
      }
    },
    {
      "id": "place_other",
      "type": "symbol",
      "source": "base_v1.0.0",
      "source-layer": "place",
      "minzoom": 12,
      "filter": [
        "!in",
        "class",
        "continent",
        "country",
        "state",
        "city",
        "town",
        "village"
      ],
      "layout": {
        "icon-size": 1,
        "text-font": ["Frutiger Neue Condensed Medium"],
        "text-size": [
          "interpolate",
          ["cubic-bezier", 0.5, 0.1, 0.7, 1],
          ["zoom"],
          4,
          [
            "match",
            ["get", "class"],
            ["hamlet", "isolated_dwelling"],
            ["case", ["<=", 50, ["get", "population"]], 6, 4],
            [
              "case",
              ["<=", 5000, ["get", "population"]],
              8,
              ["<=", 2000, ["get", "population"]],
              6,
              4
            ]
          ],
          16,
          [
            "match",
            ["get", "class"],
            ["hamlet", "isolated_dwelling"],
            ["case", ["<=", 50, ["get", "population"]], 20, 18],
            [
              "case",
              ["<=", 5000, ["get", "population"]],
              22,
              ["<=", 2000, ["get", "population"]],
              20,
              18
            ]
          ]
        ],
        "icon-image": [
          "step",
          ["zoom"],
          [
            "match",
            ["get", "class"],
            ["hamlet", "isolated_dwelling"],
            "circle_dark_grey_4",
            ""
          ],
          12,
          [
            "match",
            ["get", "class"],
            ["hamlet", "isolated_dwelling"],
            "circle_dark_grey_6",
            ""
          ]
        ],
        "text-field": ["get", "name:latin"],
        "visibility": "visible",
        "text-anchor": [
          "match",
          ["get", "class"],
          ["hamlet", "isolated_dwelling"],
          "bottom-left",
          "center"
        ],
        "text-offset": [
          "match",
          ["get", "class"],
          ["hamlet", "isolated_dwelling"],
          ["literal", [0.3, 0.2]],
          ["literal", [0, 0]]
        ],
        "text-justify": "auto",
        "text-padding": [
          "interpolate",
          ["linear"],
          ["zoom"],
          10,
          2,
          13,
          2,
          14,
          0
        ],
        "icon-optional": false,
        "symbol-z-order": ["literal", "auto"],
        "text-max-width": 10,
        "text-transform": "none",
        "symbol-sort-key": ["to-number", ["get", "rank"]],
        "text-letter-spacing": 0.025,
        "icon-anchor": "center"
      },
      "paint": {
        "text-color": "rgba(64, 64, 64, 1)",
        "icon-opacity": [
          "step",
          ["zoom"],
          0,
          11,
          [
            "match",
            ["get", "class"],
            ["hamlet", "isolated_dwelling"],
            ["case", [">", 30, ["get", "rank"]], 1, 0],
            ["case", [">", 18, ["get", "rank"]], 1, 0]
          ],
          13,
          [
            "match",
            ["get", "class"],
            ["hamlet", "isolated_dwelling"],
            ["case", [">", 31, ["get", "rank"]], 1, 0],
            1
          ],
          14,
          0
        ],
        "text-opacity": [
          "step",
          ["zoom"],
          0,
          11,
          [
            "match",
            ["get", "class"],
            ["hamlet", "isolated_dwelling"],
            ["case", [">", 30, ["get", "rank"]], 1, 0],
            0
          ],
          13,
          [
            "match",
            ["get", "class"],
            ["hamlet", "isolated_dwelling"],
            ["case", [">", 31, ["get", "rank"]], 1, 0],
            0
          ],
          14,
          1
        ],
        "text-halo-blur": 1,
        "text-halo-color": "rgba(242, 242, 242, 0.6)",
        "text-halo-width": [
          "interpolate",
          ["cubic-bezier", 0, 0.75, 0.25, 1],
          ["zoom"],
          12,
          1,
          16,
          2
        ]
      }
    },
    {
      "id": "poi_rank1",
      "type": "symbol",
      "source": "base_v1.0.0",
      "source-layer": "poi",
      "minzoom": 11,
      "filter": [
        "any",
        ["in", "subclass", "castle", "railway_station"],
        ["==", "class", "hazard"]
      ],
      "layout": {
        "icon-size": 1,
        "text-font": ["Frutiger Neue Condensed Regular"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          13,
          ["match", ["get", "class"], "hazard", 15, 13],
          18,
          ["match", ["get", "class"], "hazard", 24, 20]
        ],
        "icon-image": [
          "match",
          ["get", "subclass"],
          "railway_station",
          "square_red",
          "castle",
          "castle_grey",
          ""
        ],
        "text-field": [
          "case",
          ["has", "name:latin"],
          ["get", "name:latin"],
          ""
        ],
        "visibility": "visible",
        "text-anchor": [
          "match",
          ["get", "subclass"],
          ["castle"],
          "left",
          "railway_station",
          "bottom-left",
          "center"
        ],
        "text-offset": [
          "match",
          ["get", "subclass"],
          "railway_station",
          ["literal", [0.5, 0.15]],
          ["literal", [0.8, 0.15]]
        ],
        "text-justify": "left",
        "text-padding": 10,
        "text-optional": false,
        "text-max-width": 10,
        "symbol-avoid-edges": true,
        "icon-rotation-alignment": "map"
      },
      "paint": {
        "text-color": [
          "match",
          ["get", "subclass"],
          "railway_station",
          "rgba(255, 50, 50, 1)",
          [
            "match",
            ["get", "class"],
            "hazard",
            "rgb(139, 96, 37)",
            "rgba(48, 48, 48, 1)"
          ]
        ],
        "text-opacity": [
          "step",
          ["zoom"],
          ["match", ["get", "class"], "hazard", 1, 0],
          14,
          1
        ],
        "text-halo-blur": 1,
        "text-halo-color": "rgba(242, 242, 242, 0.6)",
        "text-halo-width": ["interpolate", ["linear"], ["zoom"], 14, 1, 17, 2]
      }
    },
    {
      "id": "aerodrome_label",
      "type": "symbol",
      "source": "base_v1.0.0",
      "source-layer": "aerodrome_label",
      "minzoom": 11,
      "filter": ["all", ["!=", "class", "helipad"]],
      "layout": {
        "icon-size": ["interpolate", ["linear"], ["zoom"], 11, 0.7, 14, 1],
        "text-font": ["Frutiger Neue Condensed Regular"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          11,
          ["match", ["get", "class"], "international", 16, "regional", 16, 12],
          14,
          ["match", ["get", "class"], "international", 20, "regional", 18, 16]
        ],
        "icon-image": [
          "match",
          ["get", "class"],
          "international",
          "airplane_large_grey",
          "regional",
          "airplane_medium_grey",
          "other",
          "airplane_small_grey",
          "helipad",
          "helicopter_grey",
          ""
        ],
        "text-field": ["get", "name:latin"],
        "visibility": "visible",
        "icon-anchor": "center",
        "text-anchor": "left",
        "text-offset": [
          "match",
          ["get", "class"],
          "helipad",
          ["literal", [0.9, 0.2]],
          ["literal", [0.9, 0]]
        ],
        "text-justify": "center",
        "text-padding": 2,
        "text-transform": "none"
      },
      "paint": {
        "text-color": "rgba(64, 64, 64, 1)",
        "icon-opacity": [
          "step",
          ["zoom"],
          0,
          11,
          ["match", ["get", "class"], ["international", "regional"], 1, 0],
          12,
          1
        ],
        "text-opacity": [
          "step",
          ["zoom"],
          0,
          11,
          ["match", ["get", "class"], ["international", "regional"], 1, 0],
          12,
          1
        ],
        "text-halo-blur": 1,
        "text-halo-color": "rgba(242, 242, 242, 0.8)",
        "text-halo-width": ["interpolate", ["linear"], ["zoom"], 14, 1, 17, 2]
      }
    },
    {
      "id": "place_town_village",
      "type": "symbol",
      "source": "base_v1.0.0",
      "source-layer": "place",
      "minzoom": 6,
      "maxzoom": 16,
      "filter": ["in", "class", "town", "village"],
      "layout": {
        "icon-size": 1,
        "text-font": [
          "match",
          ["get", "class"],
          "town",
          ["literal", ["Frutiger Neue Condensed Bold"]],
          ["literal", ["Frutiger Neue Condensed Medium"]]
        ],
        "text-size": [
          "interpolate",
          ["cubic-bezier", 0.5, 0.1, 0.7, 1],
          ["zoom"],
          4,
          11,
          10,
          [
            "match",
            ["get", "class"],
            "town",
            ["case", ["<=", 30000, ["get", "population"]], 20, 18],
            ["case", ["<=", 3000, ["get", "population"]], 16, 14]
          ],
          16,
          [
            "match",
            ["get", "class"],
            "town",
            ["case", ["<=", 30000, ["get", "population"]], 32, 28],
            ["case", ["<=", 3000, ["get", "population"]], 28, 24]
          ]
        ],
        "icon-image": [
          "step",
          ["zoom"],
          "circle_dark_grey_4",
          6,
          [
            "match",
            ["get", "class"],
            "town",
            "circle_dark_grey_6",
            "circle_dark_grey_4"
          ],
          8,
          [
            "match",
            ["get", "class"],
            "town",
            "circle_dark_grey_8",
            "circle_dark_grey_6"
          ],
          10,
          [
            "match",
            ["get", "class"],
            "town",
            "circle_dark_grey_10",
            "circle_dark_grey_8"
          ],
          12,
          [
            "match",
            ["get", "class"],
            "town",
            "circle_dark_grey_12",
            "circle_dark_grey_10"
          ]
        ],
        "text-field": ["get", "name:latin"],
        "visibility": "visible",
        "text-anchor": ["literal", "bottom-left"],
        "text-radial-offset": 0.3,
        "text-justify": "auto",
        "text-padding": 2,
        "icon-optional": false,
        "symbol-z-order": ["literal", "auto"],
        "text-max-width": 10,
        "text-transform": [
          "match",
          ["get", "class"],
          "town",
          "uppercase",
          "none"
        ],
        "symbol-sort-key": ["to-number", ["get", "rank"]],
        "symbol-placement": "point",
        "text-variable-anchor": [
          "literal",
          [
            "bottom-left",
            "top-left",
            "bottom-right",
            "top-right",
            "left",
            "right"
          ]
        ],
        "text-letter-spacing": 0.025
      },
      "paint": {
        "text-color": "rgba(64, 64, 64, 1)",
        "icon-opacity": [
          "step",
          ["zoom"],
          0,
          6,
          [
            "match",
            ["get", "class"],
            "town",
            [
              "case",
              [">", 9, ["get", "rank"]],
              1,
              ["match", ["get", "capital"], [2, 4], 1, 0]
            ],
            0
          ],
          7,
          [
            "match",
            ["get", "class"],
            "town",
            [
              "case",
              [">", 9, ["get", "rank"]],
              1,
              ["match", ["get", "capital"], [2, 4], 1, 0]
            ],
            ["match", ["get", "capital"], [2, 4], 1, 0]
          ],
          8,
          [
            "match",
            ["get", "class"],
            "town",
            1,
            ["case", [">", 14, ["get", "rank"]], 1, 0]
          ],
          9,
          [
            "match",
            ["get", "class"],
            "town",
            1,
            ["case", [">", 15, ["get", "rank"]], 1, 0]
          ],
          10,
          [
            "match",
            ["get", "class"],
            "town",
            1,
            ["case", [">", 18, ["get", "rank"]], 1, 0]
          ],
          11,
          [
            "match",
            ["get", "class"],
            "town",
            1,
            ["case", [">", 28, ["get", "rank"]], 1, 0]
          ],
          12,
          ["match", ["get", "class"], "town", 0, 1],
          13,
          0
        ],
        "text-opacity": [
          "step",
          ["zoom"],
          0,
          6,
          [
            "match",
            ["get", "class"],
            "town",
            [
              "case",
              [">", 9, ["get", "rank"]],
              1,
              ["match", ["get", "capital"], [2, 4], 1, 0]
            ],
            0
          ],
          7,
          [
            "match",
            ["get", "class"],
            "town",
            [
              "case",
              [">", 9, ["get", "rank"]],
              1,
              ["match", ["get", "capital"], [2, 4], 1, 0]
            ],
            ["match", ["get", "capital"], [2, 4], 1, 0]
          ],
          8,
          [
            "match",
            ["get", "class"],
            "town",
            1,
            ["case", [">", 14, ["get", "rank"]], 1, 0]
          ],
          9,
          [
            "match",
            ["get", "class"],
            "town",
            1,
            ["case", [">", 15, ["get", "rank"]], 1, 0]
          ],
          10,
          [
            "match",
            ["get", "class"],
            "town",
            1,
            ["case", [">", 18, ["get", "rank"]], 1, 0]
          ],
          11,
          [
            "match",
            ["get", "class"],
            "town",
            1,
            ["case", [">", 28, ["get", "rank"]], 1, 0]
          ],
          12,
          1
        ],
        "text-halo-blur": 1,
        "text-halo-color": "rgba(242, 242, 242, 0.6)",
        "text-halo-width": [
          "interpolate",
          ["cubic-bezier", 0, 0.75, 0.25, 1],
          ["zoom"],
          12,
          1,
          16,
          ["match", ["get", "class"], "town", 3, 2]
        ]
      }
    },
    {
      "id": "peaks_rank1",
      "type": "symbol",
      "source": "base_v1.0.0",
      "source-layer": "mountain_peak",
      "minzoom": 9,
      "filter": [
        "all",
        ["has", "rank"],
        ["==", "rank", 1],
        ["!in", "class", "rocky_knoll", "saddle", "mountain_pass"]
      ],
      "layout": {
        "icon-size": 1,
        "text-font": ["Frutiger Neue Italic"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          10,
          [
            "case",
            ["<=", 4000, ["get", "ele"]],
            14,
            ["<=", 3000, ["get", "ele"]],
            13,
            ["<=", 2000, ["get", "ele"]],
            12,
            11
          ],
          18,
          [
            "case",
            ["<=", 4000, ["get", "ele"]],
            23,
            ["<=", 3000, ["get", "ele"]],
            22,
            ["<=", 2000, ["get", "ele"]],
            21,
            20
          ]
        ],
        "icon-image": [
          "step",
          ["zoom"],
          "dot_dark_grey_4",
          14,
          "dot_dark_grey_6",
          18,
          "dot_dark_grey_8"
        ],
        "text-field": [
          "format",
          ["get", "name:latin"],
          {},
          "\n",
          {},
          ["get", "ele"],
          {"font-scale": 0.75}
        ],
        "visibility": "visible",
        "icon-anchor": "center",
        "icon-offset": [0, 0],
        "text-anchor": "bottom",
        "icon-padding": 2,
        "text-justify": "auto",
        "text-padding": 10,
        "icon-optional": false,
        "text-optional": false,
        "symbol-z-order": ["literal", "auto"],
        "text-max-width": 8,
        "symbol-placement": "point",
        "text-line-height": 1.15,
        "icon-allow-overlap": false,
        "text-allow-overlap": false,
        "text-radial-offset": 0.3,
        "text-letter-spacing": 0.025,
        "icon-pitch-alignment": "auto",
        "icon-ignore-placement": false,
        "text-ignore-placement": false,
        "icon-rotation-alignment": "map"
      },
      "paint": {
        "icon-color": "rgba(0, 0, 0, 1)",
        "text-color": "rgba(48, 48, 48, 1)",
        "icon-opacity": [
          "step",
          ["zoom"],
          0,
          9,
          ["case", ["<=", 3200, ["get", "ele"]], 1, 0],
          10,
          1
        ],
        "text-opacity": [
          "step",
          ["zoom"],
          0,
          9,
          ["case", ["<=", 3200, ["get", "ele"]], 1, 0],
          10,
          1
        ],
        "icon-halo-blur": 0,
        "text-halo-blur": 1,
        "icon-halo-color": "rgba(255, 255, 255, 1)",
        "icon-halo-width": 0,
        "text-halo-color": "rgba(242, 242, 242, 0.6)",
        "text-halo-width": ["interpolate", ["linear"], ["zoom"], 10, 1.5, 18, 3]
      }
    },
    {
      "id": "waterway_line_label",
      "type": "symbol",
      "source": "base_v1.0.0",
      "source-layer": "waterway",
      "minzoom": 9,
      "filter": [
        "all",
        ["has", "name:latin"],
        [
          "case",
          ["has", "intermittent"],
          ["!=", ["get", "intermittent"], 1],
          true
        ],
        ["==", ["geometry-type"], "LineString"]
      ],
      "layout": {
        "text-font": ["Frutiger Neue Italic"],
        "text-size": [
          "interpolate",
          ["exponential", 1.5],
          ["zoom"],
          10,
          10.5,
          16,
          [
            "match",
            ["to-string", ["get", "width"]],
            ["9", "10"],
            18,
            ["7", "8"],
            17,
            ["5", "6"],
            16,
            "4",
            15,
            "3",
            14,
            "2",
            13,
            "1",
            12,
            ["match", ["get", "class"], ["river", "canal"], 18, 14]
          ]
        ],
        "text-field": ["get", "name:latin"],
        "visibility": "visible",
        "text-padding": 0,
        "symbol-spacing": 650,
        "symbol-z-order": "auto",
        "text-max-width": 9999,
        "symbol-placement": "line",
        "text-keep-upright": true,
        "text-allow-overlap": false,
        "text-letter-spacing": [
          "interpolate",
          ["linear"],
          ["zoom"],
          8,
          0.1,
          12,
          ["match", ["get", "class"], ["river"], 0.4, 0.2]
        ],
        "text-pitch-alignment": "map",
        "text-ignore-placement": false,
        "text-rotation-alignment": "map"
      },
      "paint": {
        "text-color": "rgb(47, 134, 188)",
        "text-halo-blur": 1,
        "text-halo-color": "rgba(242, 242, 242, 0.6)",
        "text-halo-width": 2
      }
    },
    {
      "id": "water_name_point_label",
      "type": "symbol",
      "source": "base_v1.0.0",
      "source-layer": "water_name",
      "minzoom": 7,
      "filter": ["all", ["==", "$type", "Point"], ["==", "class", "lake"]],
      "layout": {
        "text-font": ["Frutiger Neue Italic"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          8,
          ["match", ["get", "size"], [10, 9], 12, [8, 7], 10, 10],
          10,
          [
            "match",
            ["get", "size"],
            [10, 9],
            22,
            [8, 7, 6],
            18,
            [5, 4],
            16,
            [3],
            14,
            [2],
            12,
            [1],
            10,
            10
          ],
          12,
          [
            "match",
            ["get", "size"],
            [10, 9],
            24,
            [8, 7],
            22,
            [6, 5, 4, 3],
            20,
            [2],
            16,
            [1],
            12,
            12
          ],
          14,
          [
            "match",
            ["get", "size"],
            [10, 9],
            28,
            [8, 7],
            26,
            [6, 5, 4, 3],
            24,
            [2],
            22,
            [1],
            14,
            12
          ],
          15,
          [
            "match",
            ["get", "size"],
            [10, 9],
            30,
            [8, 7],
            28,
            [6, 5, 4, 3],
            26,
            [2],
            24,
            [1],
            18,
            18
          ]
        ],
        "text-field": "{name:latin}",
        "visibility": "visible",
        "text-rotate": ["get", "direction"],
        "text-padding": 2,
        "symbol-spacing": 250,
        "symbol-z-order": "auto",
        "text-max-width": 20,
        "symbol-placement": "point",
        "text-keep-upright": true,
        "text-allow-overlap": false,
        "text-letter-spacing": [
          "interpolate",
          ["linear"],
          ["zoom"],
          7,
          [
            "match",
            ["get", "size"],
            [10, 9, 8],
            0.1,
            [7, 6],
            0.04,
            [5, 4, 3],
            0.02,
            [2],
            0.01,
            0.05
          ],
          16,
          [
            "match",
            ["get", "size"],
            [10, 9, 8],
            0.7,
            [7, 6],
            0.5,
            [5, 4, 3],
            0.3,
            [2],
            0.2,
            0.1
          ]
        ],
        "text-pitch-alignment": "map",
        "text-ignore-placement": false,
        "text-rotation-alignment": "viewport"
      },
      "paint": {
        "text-color": "rgb(47, 134, 188)",
        "text-opacity": [
          "step",
          ["zoom"],
          0,
          7,
          ["match", ["get", "size"], [10, 9, 8], 1, 0],
          8,
          ["match", ["get", "size"], [10, 9, 8, 7, 6], 1, 0],
          9,
          ["match", ["get", "size"], [10, 9, 8, 7, 6, 4, 3], 1, 0],
          10,
          ["match", ["get", "size"], [10, 9, 8, 7, 6, 5, 4, 3, 2], 1, 0],
          12,
          ["match", ["get", "size"], [10, 9, 8, 7, 6, 5, 4, 3, 2, 1], 1, 1]
        ],
        "text-halo-blur": 0.25,
        "text-halo-color": "rgba(242, 242, 242, 0.6)",
        "text-halo-width": 1
      }
    },
    {
      "id": "park_label",
      "type": "symbol",
      "source": "base_v1.0.0",
      "source-layer": "park",
      "minzoom": 8,
      "filter": [
        "all",
        ["in", "class", "national_park"],
        ["==", "$type", "Point"]
      ],
      "layout": {
        "text-font": ["Frutiger Neue Regular"],
        "text-size": [
          "interpolate",
          ["cubic-bezier", 0.5, 0.1, 0.7, 1],
          ["zoom"],
          8,
          14,
          16,
          28
        ],
        "text-field": "{name:latin}",
        "visibility": "visible",
        "text-padding": ["interpolate", ["linear"], ["zoom"], 10, 2, 14, 10],
        "symbol-z-order": ["literal", "auto"]
      },
      "paint": {
        "text-color": "rgba(70, 130, 25, 0.9)",
        "text-halo-blur": 1,
        "text-halo-color": "rgba(255, 255, 255, 0.8)",
        "text-halo-width": 1
      }
    },
    {
      "id": "area_name_massif_label",
      "type": "symbol",
      "source": "base_v1.0.0",
      "source-layer": "area_name",
      "minzoom": 11,
      "filter": ["all", ["==", "$type", "Point"], ["in", "subclass", "massif"]],
      "layout": {
        "text-font": ["Frutiger Neue Regular"],
        "text-size": ["interpolate", ["linear"], ["zoom"], 10, 14, 16, 23],
        "text-field": "{name:latin}",
        "visibility": "visible",
        "symbol-spacing": {"stops": [[12, 250], [14, 550]]},
        "symbol-z-order": "auto",
        "text-max-width": 99999,
        "symbol-placement": "point",
        "text-keep-upright": true,
        "symbol-avoid-edges": true,
        "text-allow-overlap": false,
        "text-letter-spacing": 0.07,
        "text-pitch-alignment": "viewport",
        "text-ignore-placement": false,
        "text-rotation-alignment": "viewport"
      },
      "paint": {
        "text-color": "rgba(48, 48, 48, 1)",
        "text-halo-blur": 1,
        "text-halo-color": "rgba(242, 242, 242, 0.6)",
        "text-halo-width": 1
      }
    },
    {
      "id": "place_city",
      "type": "symbol",
      "source": "base_v1.0.0",
      "source-layer": "place",
      "minzoom": 2,
      "maxzoom": 14,
      "filter": ["all", ["==", "class", "city"]],
      "layout": {
        "icon-size": 1,
        "text-font": ["Frutiger Neue Condensed Bold"],
        "text-size": [
          "interpolate",
          ["cubic-bezier", 0.5, 0.1, 0.7, 1],
          ["zoom"],
          1,
          11,
          4,
          12,
          16,
          48
        ],
        "icon-image": [
          "step",
          ["zoom"],
          "dot_circle_dark_grey_6",
          6,
          "dot_circle_dark_grey_8",
          8,
          "circle_circle_dark_grey_10",
          10,
          "circle_circle_dark_grey_12",
          12,
          "circle_circle_dark_grey_12"
        ],
        "text-field": ["get", "name:latin"],
        "visibility": "visible",
        "text-anchor": "bottom-left",
        "text-offset": ["literal", [0.35, 0.1]],
        "text-justify": "auto",
        "text-padding": 10,
        "icon-optional": false,
        "symbol-z-order": ["literal", "auto"],
        "text-max-width": 10,
        "text-transform": "uppercase",
        "symbol-sort-key": ["to-number", ["get", "rank"]],
        "text-letter-spacing": 0.025
      },
      "paint": {
        "text-color": "rgba(64, 64, 64, 1)",
        "icon-opacity": ["step", ["zoom"], 1, 11, 0],
        "text-opacity": 1,
        "text-halo-blur": 1,
        "text-halo-color": "rgba(242, 242, 242, 0.6)",
        "text-halo-width": [
          "interpolate",
          ["cubic-bezier", 0, 0.75, 0.25, 1],
          ["zoom"],
          12,
          1,
          16,
          3
        ]
      }
    },
    {
      "id": "place_country",
      "type": "symbol",
      "source": "base_v1.0.0",
      "source-layer": "place",
      "minzoom": 0,
      "maxzoom": 14,
      "filter": ["==", "class", "country"],
      "layout": {
        "text-font": ["Frutiger Neue Condensed Regular"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          1,
          12,
          7,
          14,
          11,
          16,
          18,
          24
        ],
        "text-field": "{name:latin}",
        "visibility": "visible",
        "text-max-width": 10,
        "text-transform": "uppercase",
        "text-letter-spacing": 0.12
      },
      "paint": {
        "text-color": "rgba(145, 70, 145, 0.9)",
        "text-halo-blur": 1,
        "text-halo-color": "rgba(255, 255, 255, 0.8)",
        "text-halo-width": 1
      }
    }
  ],
  "id": "0197406a-5d2f-7168-bee5-f191641499b7"
}