{
  "version": 8,
  "name": "OS Open Zoomstack - Fellside",
  "metadata": {
    "description": "Outdoor style on warm paper, with OS map symbols, muted roads, a faint National Grid, and an elevation tint and hillshading from OS Terrain 50."
  },
  "sources": {
    "composite": {
      "type": "vector",
      "url": "pmtiles://https://britishpathfinder.com/zoomstack/OS_Open_Zoomstack.pmtiles",
      "attribution": "Contains OS data &copy; Crown copyright and database right"
    },
    "terrain": {
      "type": "raster-dem",
      "url": "pmtiles://https://britishpathfinder.com/zoomstack/OS_Terrain_50.pmtiles",
      "encoding": "terrarium",
      "tileSize": 512,
      "attribution": "Contains OS data &copy; Crown copyright and database right"
    },
    "terrain-3d": {
      "type": "raster-dem",
      "url": "pmtiles://https://britishpathfinder.com/zoomstack/OS_Terrain_50.pmtiles",
      "encoding": "terrarium",
      "tileSize": 512,
      "attribution": "Contains OS data &copy; Crown copyright and database right"
    },
    "national-grid": {
      "type": "vector",
      "url": "pmtiles://https://britishpathfinder.com/zoomstack/National_Grid.pmtiles"
    },
    "area-symbols": {
      "type": "vector",
      "url": "pmtiles://https://britishpathfinder.com/zoomstack/Area_Symbols.pmtiles"
    },
    "outside": {
      "type": "geojson",
      "data": {
        "type": "Polygon",
        "coordinates": [
          [
            [
              -180,
              -85
            ],
            [
              180,
              -85
            ],
            [
              180,
              85
            ],
            [
              -180,
              85
            ],
            [
              -180,
              -85
            ]
          ],
          [
            [
              -11.87,
              49.37
            ],
            [
              -11.87,
              61.56
            ],
            [
              3.64,
              61.56
            ],
            [
              3.64,
              49.37
            ],
            [
              -11.87,
              49.37
            ]
          ]
        ]
      }
    }
  },
  "sprite": [
    {
      "id": "fellside",
      "url": "https://britishpathfinder.com/zoomstack/sprites/fellside"
    }
  ],
  "font-faces": {
    "Source Sans 3 Regular": [
      {
        "url": "https://britishpathfinder.com/zoomstack/fonts/source-sans-3/latin-400-normal.woff2",
        "unicode-range": [
          "U+0000-00FF",
          "U+0131",
          "U+0152-0153",
          "U+02BB-02BC",
          "U+02C6",
          "U+02DA",
          "U+02DC",
          "U+0304",
          "U+0308",
          "U+0329",
          "U+2000-206F",
          "U+20AC",
          "U+2122",
          "U+2191",
          "U+2193",
          "U+2212",
          "U+2215",
          "U+FEFF",
          "U+FFFD"
        ]
      },
      {
        "url": "https://britishpathfinder.com/zoomstack/fonts/source-sans-3/latin-ext-400-normal.woff2",
        "unicode-range": [
          "U+0100-02BA",
          "U+02BD-02C5",
          "U+02C7-02CC",
          "U+02CE-02D7",
          "U+02DD-02FF",
          "U+0304",
          "U+0308",
          "U+0329",
          "U+1D00-1DBF",
          "U+1E00-1E9F",
          "U+1EF2-1EFF",
          "U+2020",
          "U+20A0-20AB",
          "U+20AD-20C4",
          "U+2113",
          "U+2C60-2C7F",
          "U+A720-A7FF"
        ]
      }
    ],
    "Source Sans 3 SemiBold": [
      {
        "url": "https://britishpathfinder.com/zoomstack/fonts/source-sans-3/latin-600-normal.woff2",
        "unicode-range": [
          "U+0000-00FF",
          "U+0131",
          "U+0152-0153",
          "U+02BB-02BC",
          "U+02C6",
          "U+02DA",
          "U+02DC",
          "U+0304",
          "U+0308",
          "U+0329",
          "U+2000-206F",
          "U+20AC",
          "U+2122",
          "U+2191",
          "U+2193",
          "U+2212",
          "U+2215",
          "U+FEFF",
          "U+FFFD"
        ]
      },
      {
        "url": "https://britishpathfinder.com/zoomstack/fonts/source-sans-3/latin-ext-600-normal.woff2",
        "unicode-range": [
          "U+0100-02BA",
          "U+02BD-02C5",
          "U+02C7-02CC",
          "U+02CE-02D7",
          "U+02DD-02FF",
          "U+0304",
          "U+0308",
          "U+0329",
          "U+1D00-1DBF",
          "U+1E00-1E9F",
          "U+1EF2-1EFF",
          "U+2020",
          "U+20A0-20AB",
          "U+20AD-20C4",
          "U+2113",
          "U+2C60-2C7F",
          "U+A720-A7FF"
        ]
      }
    ],
    "Source Sans 3 Bold": [
      {
        "url": "https://britishpathfinder.com/zoomstack/fonts/source-sans-3/latin-700-normal.woff2",
        "unicode-range": [
          "U+0000-00FF",
          "U+0131",
          "U+0152-0153",
          "U+02BB-02BC",
          "U+02C6",
          "U+02DA",
          "U+02DC",
          "U+0304",
          "U+0308",
          "U+0329",
          "U+2000-206F",
          "U+20AC",
          "U+2122",
          "U+2191",
          "U+2193",
          "U+2212",
          "U+2215",
          "U+FEFF",
          "U+FFFD"
        ]
      },
      {
        "url": "https://britishpathfinder.com/zoomstack/fonts/source-sans-3/latin-ext-700-normal.woff2",
        "unicode-range": [
          "U+0100-02BA",
          "U+02BD-02C5",
          "U+02C7-02CC",
          "U+02CE-02D7",
          "U+02DD-02FF",
          "U+0304",
          "U+0308",
          "U+0329",
          "U+1D00-1DBF",
          "U+1E00-1E9F",
          "U+1EF2-1EFF",
          "U+2020",
          "U+20A0-20AB",
          "U+20AD-20C4",
          "U+2113",
          "U+2C60-2C7F",
          "U+A720-A7FF"
        ]
      }
    ],
    "Source Sans 3 Italic": [
      {
        "url": "https://britishpathfinder.com/zoomstack/fonts/source-sans-3/latin-400-italic.woff2",
        "unicode-range": [
          "U+0000-00FF",
          "U+0131",
          "U+0152-0153",
          "U+02BB-02BC",
          "U+02C6",
          "U+02DA",
          "U+02DC",
          "U+0304",
          "U+0308",
          "U+0329",
          "U+2000-206F",
          "U+20AC",
          "U+2122",
          "U+2191",
          "U+2193",
          "U+2212",
          "U+2215",
          "U+FEFF",
          "U+FFFD"
        ]
      },
      {
        "url": "https://britishpathfinder.com/zoomstack/fonts/source-sans-3/latin-ext-400-italic.woff2",
        "unicode-range": [
          "U+0100-02BA",
          "U+02BD-02C5",
          "U+02C7-02CC",
          "U+02CE-02D7",
          "U+02DD-02FF",
          "U+0304",
          "U+0308",
          "U+0329",
          "U+1D00-1DBF",
          "U+1E00-1E9F",
          "U+1EF2-1EFF",
          "U+2020",
          "U+20A0-20AB",
          "U+20AD-20C4",
          "U+2113",
          "U+2C60-2C7F",
          "U+A720-A7FF"
        ]
      }
    ]
  },
  "sky": {
    "sky-color": "#9fc3e4",
    "horizon-color": "#eef0ec",
    "fog-color": "#eef0ec",
    "sky-horizon-blend": 0.6,
    "horizon-fog-blend": 0.7,
    "fog-ground-blend": 0.75
  },
  "layers": [
    {
      "id": "background",
      "type": "background",
      "paint": {
        "background-color": "#f7f5ef"
      }
    },
    {
      "id": "elevation tint",
      "type": "color-relief",
      "source": "terrain",
      "paint": {
        "color-relief-color": [
          "interpolate",
          [
            "linear"
          ],
          [
            "elevation"
          ],
          0,
          "#eef0e2",
          100,
          "#f1f1e2",
          250,
          "#f2eddb",
          450,
          "#ebe2cb",
          700,
          "#e3d6bd",
          1000,
          "#dcd1c4",
          1300,
          "#ebe7e1"
        ],
        "color-relief-opacity": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          5,
          1,
          10,
          0.8,
          14,
          0.45
        ]
      }
    },
    {
      "id": "national parks",
      "type": "fill",
      "source": "composite",
      "source-layer": "national_parks",
      "maxzoom": 12,
      "paint": {
        "fill-color": "#a8c98c",
        "fill-opacity": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          5,
          0.3,
          9,
          0.12,
          12,
          0
        ]
      }
    },
    {
      "id": "urban areas",
      "type": "fill",
      "source": "composite",
      "source-layer": "urban_areas",
      "maxzoom": 11,
      "paint": {
        "fill-color": "#d9d6d1",
        "fill-opacity": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          5,
          0.8,
          10,
          0.7
        ]
      }
    },
    {
      "id": "greenspace",
      "type": "fill",
      "source": "composite",
      "source-layer": "greenspaces",
      "minzoom": 10,
      "paint": {
        "fill-color": [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Public Park Or Garden"
          ],
          "#d6edc4",
          [
            "Golf Course"
          ],
          "#d2ebba",
          [
            "Playing Field",
            "Other Sports Facility",
            "Tennis Court",
            "Bowling Green",
            "Play Space"
          ],
          "#e0f0cc",
          [
            "Allotments Or Community Growing Spaces"
          ],
          "#e4eac4",
          [
            "Religious Grounds",
            "Cemetery"
          ],
          "#dde6d2",
          "#dbedc8"
        ],
        "fill-opacity": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          10,
          0,
          11,
          1
        ]
      }
    },
    {
      "id": "sites",
      "type": "fill",
      "source": "composite",
      "source-layer": "sites",
      "minzoom": 12,
      "paint": {
        "fill-color": [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Education"
          ],
          "#f6efdc",
          [
            "Medical Care"
          ],
          "#f6e8ea",
          [
            "Air Transport",
            "Road Transport",
            "Water Transport"
          ],
          "#efeeeb",
          "#f2f0ec"
        ],
        "fill-opacity": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          0,
          13,
          0.9
        ]
      }
    },
    {
      "id": "woodland",
      "type": "fill",
      "source": "composite",
      "source-layer": "woodland",
      "paint": {
        "fill-color": "#c4e4a2",
        "fill-opacity": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          5,
          0.7,
          10,
          0.95,
          14,
          1
        ]
      }
    },
    {
      "id": "hillshade",
      "type": "hillshade",
      "source": "terrain",
      "maxzoom": 17,
      "paint": {
        "hillshade-method": "igor",
        "hillshade-illumination-anchor": "map",
        "hillshade-illumination-direction": 315,
        "hillshade-exaggeration": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          5,
          0.4,
          10,
          0.5,
          15,
          0.35,
          17,
          0
        ],
        "hillshade-shadow-color": "#4a4136",
        "hillshade-highlight-color": "rgba(255, 252, 242, 0.75)"
      }
    },
    {
      "id": "outside zoomstack",
      "type": "fill",
      "source": "outside",
      "paint": {
        "fill-color": "#f7f5ef"
      }
    },
    {
      "id": "woodland trees",
      "type": "fill",
      "source": "composite",
      "source-layer": "woodland",
      "minzoom": 12.5,
      "paint": {
        "fill-pattern": "fellside:woodland",
        "fill-opacity": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12.5,
          0,
          13,
          0.55,
          16,
          0.85
        ]
      }
    },
    {
      "id": "cemetery crosses",
      "type": "fill",
      "source": "composite",
      "source-layer": "greenspaces",
      "minzoom": 14,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "Cemetery"
        ],
        true,
        false
      ],
      "paint": {
        "fill-pattern": "fellside:cemetery",
        "fill-opacity": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          14,
          0,
          14.5,
          1
        ]
      }
    },
    {
      "id": "contours",
      "type": "line",
      "source": "composite",
      "source-layer": "contours",
      "minzoom": 12,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "Normal"
        ],
        true,
        false
      ],
      "layout": {
        "line-join": "round"
      },
      "paint": {
        "line-color": "#ee9a4d",
        "line-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          0.45,
          16,
          0.9
        ],
        "line-opacity": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          0.75,
          15,
          0.9
        ]
      }
    },
    {
      "id": "contours index",
      "type": "line",
      "source": "composite",
      "source-layer": "contours",
      "minzoom": 10,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "Index"
        ],
        true,
        false
      ],
      "layout": {
        "line-join": "round"
      },
      "paint": {
        "line-color": "#e5863a",
        "line-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          10,
          0.5,
          13,
          1,
          16,
          1.6
        ],
        "line-opacity": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          10,
          0.5,
          12,
          0.85,
          15,
          1
        ]
      }
    },
    {
      "id": "sea",
      "type": "fill",
      "source": "composite",
      "source-layer": "sea",
      "paint": {
        "fill-color": "#b2def5"
      }
    },
    {
      "id": "surfacewater",
      "type": "fill",
      "source": "composite",
      "source-layer": "surfacewater",
      "paint": {
        "fill-color": "#b2def5",
        "fill-outline-color": "#3ea3dd"
      }
    },
    {
      "id": "foreshore",
      "type": "fill",
      "source": "composite",
      "source-layer": "foreshore",
      "paint": {
        "fill-color": "#e9e5d8"
      }
    },
    {
      "id": "foreshore dots",
      "type": "fill",
      "source": "composite",
      "source-layer": "foreshore",
      "minzoom": 11,
      "paint": {
        "fill-pattern": "fellside:foreshore",
        "fill-opacity": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          11,
          0,
          12,
          1
        ]
      }
    },
    {
      "id": "waterlines",
      "type": "line",
      "source": "composite",
      "source-layer": "waterlines",
      "filter": [
        "!",
        [
          "match",
          [
            "get",
            "type"
          ],
          [
            "MHW",
            "MLW"
          ],
          true,
          false
        ]
      ],
      "layout": {
        "line-join": "round",
        "line-cap": "round"
      },
      "paint": {
        "line-color": "#2c9edb",
        "line-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          8,
          0.55,
          10,
          0.7,
          13,
          1.1,
          16,
          2.4,
          18,
          4
        ]
      }
    },
    {
      "id": "coastline low water",
      "type": "line",
      "source": "composite",
      "source-layer": "waterlines",
      "minzoom": 11,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "MLW"
        ],
        true,
        false
      ],
      "paint": {
        "line-color": "#6fbbe6",
        "line-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          11,
          0.4,
          16,
          1
        ]
      }
    },
    {
      "id": "coastline",
      "type": "line",
      "source": "composite",
      "source-layer": "waterlines",
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "MHW"
        ],
        true,
        false
      ],
      "layout": {
        "line-join": "round"
      },
      "paint": {
        "line-color": "#2c9edb",
        "line-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          9,
          0.7,
          10,
          0.8,
          16,
          1.6
        ]
      }
    },
    {
      "id": "national park boundary band",
      "type": "line",
      "source": "composite",
      "source-layer": "national_parks",
      "minzoom": 7,
      "paint": {
        "line-color": "#86b062",
        "line-opacity": 0.35,
        "line-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          7,
          2,
          11,
          5,
          15,
          9
        ],
        "line-offset": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          7,
          1,
          11,
          2.5,
          15,
          4.5
        ]
      }
    },
    {
      "id": "national park boundary",
      "type": "line",
      "source": "composite",
      "source-layer": "national_parks",
      "minzoom": 7,
      "paint": {
        "line-color": "#6d9a4a",
        "line-opacity": 0.6,
        "line-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          7,
          0.5,
          15,
          1
        ]
      }
    },
    {
      "id": "boundaries",
      "type": "line",
      "source": "composite",
      "source-layer": "boundaries",
      "layout": {
        "line-join": "round"
      },
      "paint": {
        "line-color": "#4d4d4d",
        "line-opacity": 0.7,
        "line-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          5,
          0.8,
          10,
          1.4,
          14,
          2.2
        ],
        "line-dasharray": [
          4,
          1.5,
          1,
          1.5
        ]
      }
    },
    {
      "id": "buildings",
      "type": "fill",
      "source": "composite",
      "source-layer": "buildings",
      "paint": {
        "fill-color": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          11,
          "#d2cdc6",
          12,
          "#c8c3bb",
          13,
          "#bab4ab",
          14,
          "#aaa59d"
        ],
        "fill-outline-color": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          11,
          "#d2cdc6",
          12,
          "#c8c3bb",
          13,
          "#aca69e",
          14,
          "#6e6a64"
        ],
        "fill-opacity": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          11,
          0.6,
          12,
          0.75,
          13,
          0.9,
          14,
          1
        ]
      }
    },
    {
      "id": "national grid",
      "type": "line",
      "source": "national-grid",
      "source-layer": "lines",
      "paint": {
        "line-color": "#2f8fd0",
        "line-opacity": [
          "case",
          [
            "get",
            "major"
          ],
          0.32,
          0.22
        ],
        "line-width": [
          "case",
          [
            "get",
            "major"
          ],
          1.3,
          0.8
        ]
      }
    },
    {
      "id": "road tunnels",
      "type": "line",
      "source": "composite",
      "source-layer": "roads",
      "minzoom": 11,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "Tunnels"
        ],
        true,
        false
      ],
      "paint": {
        "line-color": "#1e1e1e",
        "line-opacity": 0.6,
        "line-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          11,
          0.6,
          16,
          1.6
        ],
        "line-dasharray": [
          3,
          2
        ]
      }
    },
    {
      "id": "rail tunnels",
      "type": "line",
      "source": "composite",
      "source-layer": "rail",
      "minzoom": 11,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "Tunnel"
        ],
        true,
        false
      ],
      "paint": {
        "line-color": "#1e1e1e",
        "line-opacity": 0.5,
        "line-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          11,
          0.6,
          16,
          1.5
        ],
        "line-dasharray": [
          4,
          3
        ]
      }
    },
    {
      "id": "restricted roads",
      "type": "line",
      "source": "composite",
      "source-layer": "roads",
      "minzoom": 12,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "Restricted"
        ],
        true,
        false
      ],
      "layout": {
        "line-join": "round"
      },
      "paint": {
        "line-color": "#6b6359",
        "line-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          0.6,
          14,
          1,
          16,
          2,
          18,
          4
        ],
        "line-dasharray": [
          3,
          1.5
        ]
      }
    },
    {
      "id": "roads 0 casing",
      "type": "line",
      "source": "composite",
      "source-layer": "roads",
      "minzoom": 9,
      "filter": [
        "all",
        [
          "==",
          [
            "get",
            "level"
          ],
          0
        ],
        [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Motorway",
            "Primary",
            "A Road",
            "B Road",
            "Minor",
            "Local",
            "Guided Busway"
          ],
          true,
          false
        ]
      ],
      "layout": {
        "line-join": "round",
        "line-cap": "round",
        "line-sort-key": [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Motorway"
          ],
          7,
          [
            "Primary"
          ],
          6,
          [
            "A Road"
          ],
          5,
          [
            "B Road"
          ],
          4,
          [
            "Minor"
          ],
          3,
          [
            "Local"
          ],
          2,
          [
            "Guided Busway"
          ],
          1,
          0
        ]
      },
      "paint": {
        "line-color": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          11,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            "#455974",
            [
              "Primary"
            ],
            "#47664b",
            [
              "A Road"
            ],
            "#8e544b",
            [
              "B Road"
            ],
            "#977442",
            [
              "Minor"
            ],
            "#bdb499",
            [
              "Local"
            ],
            "#bebcb8",
            [
              "Guided Busway"
            ],
            "#908c85",
            "#9f9d9b"
          ],
          13,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            "#455974",
            [
              "Primary"
            ],
            "#47664b",
            [
              "A Road"
            ],
            "#8e544b",
            [
              "B Road"
            ],
            "#977442",
            [
              "Minor"
            ],
            "#9d916b",
            [
              "Local"
            ],
            "#9f9d9b",
            [
              "Guided Busway"
            ],
            "#908c85",
            "#9f9d9b"
          ]
        ],
        "line-width": [
          "interpolate",
          [
            "exponential",
            1.5
          ],
          [
            "zoom"
          ],
          5,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            0.7,
            [
              "Primary"
            ],
            0.5,
            0
          ],
          8,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            1.2,
            [
              "Primary"
            ],
            1,
            [
              "A Road"
            ],
            0.6,
            0
          ],
          10,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            2.8,
            [
              "Primary"
            ],
            2.6,
            [
              "A Road"
            ],
            2.1,
            [
              "B Road"
            ],
            1.8,
            [
              "Minor"
            ],
            1.4,
            [
              "Guided Busway"
            ],
            1.1,
            0
          ],
          12,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            4.2,
            [
              "Primary"
            ],
            3.8,
            [
              "A Road"
            ],
            3.4000000000000004,
            [
              "B Road"
            ],
            3,
            [
              "Minor"
            ],
            2.5,
            [
              "Local"
            ],
            2,
            [
              "Guided Busway"
            ],
            2,
            0
          ],
          14,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            7.3,
            [
              "Primary"
            ],
            6.8,
            [
              "A Road"
            ],
            6.3,
            [
              "B Road"
            ],
            5.6,
            [
              "Minor"
            ],
            4.8,
            [
              "Local"
            ],
            4,
            [
              "Guided Busway"
            ],
            3.8,
            0
          ],
          16,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            14.6,
            [
              "Primary"
            ],
            13.6,
            [
              "A Road"
            ],
            12.6,
            [
              "B Road"
            ],
            11.1,
            [
              "Minor"
            ],
            9.6,
            [
              "Local"
            ],
            8.1,
            [
              "Guided Busway"
            ],
            6.6,
            0
          ],
          18,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            33.4,
            [
              "Primary"
            ],
            31.4,
            [
              "A Road"
            ],
            29.4,
            [
              "B Road"
            ],
            25.4,
            [
              "Minor"
            ],
            21.4,
            [
              "Local"
            ],
            17.4,
            [
              "Guided Busway"
            ],
            13.4,
            0
          ]
        ],
        "line-opacity": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          9,
          0,
          10.5,
          1
        ]
      }
    },
    {
      "id": "roads 0",
      "type": "line",
      "source": "composite",
      "source-layer": "roads",
      "filter": [
        "all",
        [
          "==",
          [
            "get",
            "level"
          ],
          0
        ],
        [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Motorway",
            "Primary",
            "A Road",
            "B Road",
            "Minor",
            "Local",
            "Guided Busway"
          ],
          true,
          false
        ]
      ],
      "layout": {
        "line-join": "round",
        "line-cap": "round",
        "line-sort-key": [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Motorway"
          ],
          7,
          [
            "Primary"
          ],
          6,
          [
            "A Road"
          ],
          5,
          [
            "B Road"
          ],
          4,
          [
            "Minor"
          ],
          3,
          [
            "Local"
          ],
          2,
          [
            "Guided Busway"
          ],
          1,
          0
        ]
      },
      "paint": {
        "line-color": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          7,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            "#a1b7d1",
            [
              "Primary"
            ],
            "#a3c4a8",
            [
              "A Road"
            ],
            "#eab1a9",
            [
              "B Road"
            ],
            "#f3d19f",
            [
              "Minor"
            ],
            "#f9efc8",
            [
              "Local"
            ],
            "#fbfbf8",
            [
              "Guided Busway"
            ],
            "#ede9e2",
            "#ffffff"
          ],
          10,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            "#5b84b8",
            [
              "Primary"
            ],
            "#5e9c6e",
            [
              "A Road"
            ],
            "#e07a6f",
            [
              "B Road"
            ],
            "#f0b45e",
            [
              "Minor"
            ],
            "#fbeaa8",
            [
              "Local"
            ],
            "#ffffff",
            [
              "Guided Busway"
            ],
            "#e4e0d8",
            "#ffffff"
          ]
        ],
        "line-width": [
          "interpolate",
          [
            "exponential",
            1.5
          ],
          [
            "zoom"
          ],
          5,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            0.7,
            [
              "Primary"
            ],
            0.5,
            0
          ],
          8,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            1.2,
            [
              "Primary"
            ],
            1,
            [
              "A Road"
            ],
            0.6,
            0
          ],
          10,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            2,
            [
              "Primary"
            ],
            1.8,
            [
              "A Road"
            ],
            1.3,
            [
              "B Road"
            ],
            1,
            [
              "Minor"
            ],
            0.6,
            [
              "Guided Busway"
            ],
            0.3,
            0
          ],
          12,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            3,
            [
              "Primary"
            ],
            2.6,
            [
              "A Road"
            ],
            2.2,
            [
              "B Road"
            ],
            1.8,
            [
              "Minor"
            ],
            1.3,
            [
              "Local"
            ],
            0.8,
            [
              "Guided Busway"
            ],
            0.8,
            0
          ],
          14,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            5.5,
            [
              "Primary"
            ],
            5,
            [
              "A Road"
            ],
            4.5,
            [
              "B Road"
            ],
            3.8,
            [
              "Minor"
            ],
            3,
            [
              "Local"
            ],
            2.2,
            [
              "Guided Busway"
            ],
            2,
            0
          ],
          16,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            12,
            [
              "Primary"
            ],
            11,
            [
              "A Road"
            ],
            10,
            [
              "B Road"
            ],
            8.5,
            [
              "Minor"
            ],
            7,
            [
              "Local"
            ],
            5.5,
            [
              "Guided Busway"
            ],
            4,
            0
          ],
          18,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            30,
            [
              "Primary"
            ],
            28,
            [
              "A Road"
            ],
            26,
            [
              "B Road"
            ],
            22,
            [
              "Minor"
            ],
            18,
            [
              "Local"
            ],
            14,
            [
              "Guided Busway"
            ],
            10,
            0
          ]
        ]
      }
    },
    {
      "id": "rail",
      "type": "line",
      "source": "composite",
      "source-layer": "rail",
      "filter": [
        "!",
        [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Tunnel"
          ],
          true,
          false
        ]
      ],
      "layout": {
        "line-join": "round"
      },
      "paint": {
        "line-color": "#1e1e1e",
        "line-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          10,
          0.8,
          12,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Multi Track"
            ],
            1.5,
            [
              "Single Track"
            ],
            1.2,
            1
          ],
          14,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Multi Track"
            ],
            1.9,
            [
              "Single Track"
            ],
            1.4,
            [
              "Narrow Gauge"
            ],
            1,
            1.1
          ],
          17,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Multi Track"
            ],
            3,
            [
              "Single Track"
            ],
            2.2,
            [
              "Narrow Gauge"
            ],
            1.4,
            1.6
          ]
        ]
      }
    },
    {
      "id": "rail ticks",
      "type": "line",
      "source": "composite",
      "source-layer": "rail",
      "minzoom": 13,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "Multi Track",
          "Single Track"
        ],
        true,
        false
      ],
      "paint": {
        "line-color": "#1e1e1e",
        "line-opacity": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          13,
          0,
          14,
          0.9
        ],
        "line-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          13,
          5,
          17,
          10
        ],
        "line-dasharray": [
          0.15,
          2
        ]
      }
    },
    {
      "id": "narrow gauge ticks",
      "type": "line",
      "source": "composite",
      "source-layer": "rail",
      "minzoom": 14,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "Narrow Gauge"
        ],
        true,
        false
      ],
      "paint": {
        "line-color": "#1e1e1e",
        "line-opacity": 0.9,
        "line-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          14,
          3.75,
          17,
          6
        ],
        "line-dasharray": [
          0.25,
          2
        ]
      }
    },
    {
      "id": "roads 1 casing",
      "type": "line",
      "source": "composite",
      "source-layer": "roads",
      "minzoom": 9,
      "filter": [
        "all",
        [
          "==",
          [
            "get",
            "level"
          ],
          1
        ],
        [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Motorway",
            "Primary",
            "A Road",
            "B Road",
            "Minor",
            "Local",
            "Guided Busway"
          ],
          true,
          false
        ]
      ],
      "layout": {
        "line-join": "round",
        "line-cap": "butt",
        "line-sort-key": [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Motorway"
          ],
          7,
          [
            "Primary"
          ],
          6,
          [
            "A Road"
          ],
          5,
          [
            "B Road"
          ],
          4,
          [
            "Minor"
          ],
          3,
          [
            "Local"
          ],
          2,
          [
            "Guided Busway"
          ],
          1,
          0
        ]
      },
      "paint": {
        "line-color": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          11,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            "#455974",
            [
              "Primary"
            ],
            "#47664b",
            [
              "A Road"
            ],
            "#8e544b",
            [
              "B Road"
            ],
            "#977442",
            [
              "Minor"
            ],
            "#bdb499",
            [
              "Local"
            ],
            "#bebcb8",
            [
              "Guided Busway"
            ],
            "#908c85",
            "#9f9d9b"
          ],
          13,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            "#455974",
            [
              "Primary"
            ],
            "#47664b",
            [
              "A Road"
            ],
            "#8e544b",
            [
              "B Road"
            ],
            "#977442",
            [
              "Minor"
            ],
            "#9d916b",
            [
              "Local"
            ],
            "#9f9d9b",
            [
              "Guided Busway"
            ],
            "#908c85",
            "#9f9d9b"
          ]
        ],
        "line-width": [
          "interpolate",
          [
            "exponential",
            1.5
          ],
          [
            "zoom"
          ],
          5,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            0.7,
            [
              "Primary"
            ],
            0.5,
            0
          ],
          8,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            1.2,
            [
              "Primary"
            ],
            1,
            [
              "A Road"
            ],
            0.6,
            0
          ],
          10,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            3.2800000000000002,
            [
              "Primary"
            ],
            3.08,
            [
              "A Road"
            ],
            2.58,
            [
              "B Road"
            ],
            2.2800000000000002,
            [
              "Minor"
            ],
            1.8800000000000003,
            [
              "Guided Busway"
            ],
            1.5800000000000003,
            0
          ],
          12,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            4.92,
            [
              "Primary"
            ],
            4.52,
            [
              "A Road"
            ],
            4.12,
            [
              "B Road"
            ],
            3.7199999999999998,
            [
              "Minor"
            ],
            3.2199999999999998,
            [
              "Local"
            ],
            2.7199999999999998,
            [
              "Guided Busway"
            ],
            2.7199999999999998,
            0
          ],
          14,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            8.38,
            [
              "Primary"
            ],
            7.880000000000001,
            [
              "A Road"
            ],
            7.380000000000001,
            [
              "B Road"
            ],
            6.68,
            [
              "Minor"
            ],
            5.880000000000001,
            [
              "Local"
            ],
            5.08,
            [
              "Guided Busway"
            ],
            4.880000000000001,
            0
          ],
          16,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            16.16,
            [
              "Primary"
            ],
            15.16,
            [
              "A Road"
            ],
            14.16,
            [
              "B Road"
            ],
            12.66,
            [
              "Minor"
            ],
            11.16,
            [
              "Local"
            ],
            9.66,
            [
              "Guided Busway"
            ],
            8.16,
            0
          ],
          18,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            35.44,
            [
              "Primary"
            ],
            33.44,
            [
              "A Road"
            ],
            31.44,
            [
              "B Road"
            ],
            27.44,
            [
              "Minor"
            ],
            23.44,
            [
              "Local"
            ],
            19.44,
            [
              "Guided Busway"
            ],
            15.440000000000001,
            0
          ]
        ],
        "line-opacity": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          9,
          0,
          10.5,
          1
        ]
      }
    },
    {
      "id": "roads 1",
      "type": "line",
      "source": "composite",
      "source-layer": "roads",
      "filter": [
        "all",
        [
          "==",
          [
            "get",
            "level"
          ],
          1
        ],
        [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Motorway",
            "Primary",
            "A Road",
            "B Road",
            "Minor",
            "Local",
            "Guided Busway"
          ],
          true,
          false
        ]
      ],
      "layout": {
        "line-join": "round",
        "line-cap": "round",
        "line-sort-key": [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Motorway"
          ],
          7,
          [
            "Primary"
          ],
          6,
          [
            "A Road"
          ],
          5,
          [
            "B Road"
          ],
          4,
          [
            "Minor"
          ],
          3,
          [
            "Local"
          ],
          2,
          [
            "Guided Busway"
          ],
          1,
          0
        ]
      },
      "paint": {
        "line-color": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          7,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            "#a1b7d1",
            [
              "Primary"
            ],
            "#a3c4a8",
            [
              "A Road"
            ],
            "#eab1a9",
            [
              "B Road"
            ],
            "#f3d19f",
            [
              "Minor"
            ],
            "#f9efc8",
            [
              "Local"
            ],
            "#fbfbf8",
            [
              "Guided Busway"
            ],
            "#ede9e2",
            "#ffffff"
          ],
          10,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            "#5b84b8",
            [
              "Primary"
            ],
            "#5e9c6e",
            [
              "A Road"
            ],
            "#e07a6f",
            [
              "B Road"
            ],
            "#f0b45e",
            [
              "Minor"
            ],
            "#fbeaa8",
            [
              "Local"
            ],
            "#ffffff",
            [
              "Guided Busway"
            ],
            "#e4e0d8",
            "#ffffff"
          ]
        ],
        "line-width": [
          "interpolate",
          [
            "exponential",
            1.5
          ],
          [
            "zoom"
          ],
          5,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            0.7,
            [
              "Primary"
            ],
            0.5,
            0
          ],
          8,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            1.2,
            [
              "Primary"
            ],
            1,
            [
              "A Road"
            ],
            0.6,
            0
          ],
          10,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            2,
            [
              "Primary"
            ],
            1.8,
            [
              "A Road"
            ],
            1.3,
            [
              "B Road"
            ],
            1,
            [
              "Minor"
            ],
            0.6,
            [
              "Guided Busway"
            ],
            0.3,
            0
          ],
          12,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            3,
            [
              "Primary"
            ],
            2.6,
            [
              "A Road"
            ],
            2.2,
            [
              "B Road"
            ],
            1.8,
            [
              "Minor"
            ],
            1.3,
            [
              "Local"
            ],
            0.8,
            [
              "Guided Busway"
            ],
            0.8,
            0
          ],
          14,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            5.5,
            [
              "Primary"
            ],
            5,
            [
              "A Road"
            ],
            4.5,
            [
              "B Road"
            ],
            3.8,
            [
              "Minor"
            ],
            3,
            [
              "Local"
            ],
            2.2,
            [
              "Guided Busway"
            ],
            2,
            0
          ],
          16,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            12,
            [
              "Primary"
            ],
            11,
            [
              "A Road"
            ],
            10,
            [
              "B Road"
            ],
            8.5,
            [
              "Minor"
            ],
            7,
            [
              "Local"
            ],
            5.5,
            [
              "Guided Busway"
            ],
            4,
            0
          ],
          18,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            30,
            [
              "Primary"
            ],
            28,
            [
              "A Road"
            ],
            26,
            [
              "B Road"
            ],
            22,
            [
              "Minor"
            ],
            18,
            [
              "Local"
            ],
            14,
            [
              "Guided Busway"
            ],
            10,
            0
          ]
        ]
      }
    },
    {
      "id": "roads 2 casing",
      "type": "line",
      "source": "composite",
      "source-layer": "roads",
      "minzoom": 9,
      "filter": [
        "all",
        [
          "==",
          [
            "get",
            "level"
          ],
          2
        ],
        [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Motorway",
            "Primary",
            "A Road",
            "B Road",
            "Minor",
            "Local",
            "Guided Busway"
          ],
          true,
          false
        ]
      ],
      "layout": {
        "line-join": "round",
        "line-cap": "butt",
        "line-sort-key": [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Motorway"
          ],
          7,
          [
            "Primary"
          ],
          6,
          [
            "A Road"
          ],
          5,
          [
            "B Road"
          ],
          4,
          [
            "Minor"
          ],
          3,
          [
            "Local"
          ],
          2,
          [
            "Guided Busway"
          ],
          1,
          0
        ]
      },
      "paint": {
        "line-color": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          11,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            "#455974",
            [
              "Primary"
            ],
            "#47664b",
            [
              "A Road"
            ],
            "#8e544b",
            [
              "B Road"
            ],
            "#977442",
            [
              "Minor"
            ],
            "#bdb499",
            [
              "Local"
            ],
            "#bebcb8",
            [
              "Guided Busway"
            ],
            "#908c85",
            "#9f9d9b"
          ],
          13,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            "#455974",
            [
              "Primary"
            ],
            "#47664b",
            [
              "A Road"
            ],
            "#8e544b",
            [
              "B Road"
            ],
            "#977442",
            [
              "Minor"
            ],
            "#9d916b",
            [
              "Local"
            ],
            "#9f9d9b",
            [
              "Guided Busway"
            ],
            "#908c85",
            "#9f9d9b"
          ]
        ],
        "line-width": [
          "interpolate",
          [
            "exponential",
            1.5
          ],
          [
            "zoom"
          ],
          5,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            0.7,
            [
              "Primary"
            ],
            0.5,
            0
          ],
          8,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            1.2,
            [
              "Primary"
            ],
            1,
            [
              "A Road"
            ],
            0.6,
            0
          ],
          10,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            3.2800000000000002,
            [
              "Primary"
            ],
            3.08,
            [
              "A Road"
            ],
            2.58,
            [
              "B Road"
            ],
            2.2800000000000002,
            [
              "Minor"
            ],
            1.8800000000000003,
            [
              "Guided Busway"
            ],
            1.5800000000000003,
            0
          ],
          12,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            4.92,
            [
              "Primary"
            ],
            4.52,
            [
              "A Road"
            ],
            4.12,
            [
              "B Road"
            ],
            3.7199999999999998,
            [
              "Minor"
            ],
            3.2199999999999998,
            [
              "Local"
            ],
            2.7199999999999998,
            [
              "Guided Busway"
            ],
            2.7199999999999998,
            0
          ],
          14,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            8.38,
            [
              "Primary"
            ],
            7.880000000000001,
            [
              "A Road"
            ],
            7.380000000000001,
            [
              "B Road"
            ],
            6.68,
            [
              "Minor"
            ],
            5.880000000000001,
            [
              "Local"
            ],
            5.08,
            [
              "Guided Busway"
            ],
            4.880000000000001,
            0
          ],
          16,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            16.16,
            [
              "Primary"
            ],
            15.16,
            [
              "A Road"
            ],
            14.16,
            [
              "B Road"
            ],
            12.66,
            [
              "Minor"
            ],
            11.16,
            [
              "Local"
            ],
            9.66,
            [
              "Guided Busway"
            ],
            8.16,
            0
          ],
          18,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            35.44,
            [
              "Primary"
            ],
            33.44,
            [
              "A Road"
            ],
            31.44,
            [
              "B Road"
            ],
            27.44,
            [
              "Minor"
            ],
            23.44,
            [
              "Local"
            ],
            19.44,
            [
              "Guided Busway"
            ],
            15.440000000000001,
            0
          ]
        ],
        "line-opacity": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          9,
          0,
          10.5,
          1
        ]
      }
    },
    {
      "id": "roads 2",
      "type": "line",
      "source": "composite",
      "source-layer": "roads",
      "filter": [
        "all",
        [
          "==",
          [
            "get",
            "level"
          ],
          2
        ],
        [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Motorway",
            "Primary",
            "A Road",
            "B Road",
            "Minor",
            "Local",
            "Guided Busway"
          ],
          true,
          false
        ]
      ],
      "layout": {
        "line-join": "round",
        "line-cap": "round",
        "line-sort-key": [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Motorway"
          ],
          7,
          [
            "Primary"
          ],
          6,
          [
            "A Road"
          ],
          5,
          [
            "B Road"
          ],
          4,
          [
            "Minor"
          ],
          3,
          [
            "Local"
          ],
          2,
          [
            "Guided Busway"
          ],
          1,
          0
        ]
      },
      "paint": {
        "line-color": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          7,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            "#a1b7d1",
            [
              "Primary"
            ],
            "#a3c4a8",
            [
              "A Road"
            ],
            "#eab1a9",
            [
              "B Road"
            ],
            "#f3d19f",
            [
              "Minor"
            ],
            "#f9efc8",
            [
              "Local"
            ],
            "#fbfbf8",
            [
              "Guided Busway"
            ],
            "#ede9e2",
            "#ffffff"
          ],
          10,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            "#5b84b8",
            [
              "Primary"
            ],
            "#5e9c6e",
            [
              "A Road"
            ],
            "#e07a6f",
            [
              "B Road"
            ],
            "#f0b45e",
            [
              "Minor"
            ],
            "#fbeaa8",
            [
              "Local"
            ],
            "#ffffff",
            [
              "Guided Busway"
            ],
            "#e4e0d8",
            "#ffffff"
          ]
        ],
        "line-width": [
          "interpolate",
          [
            "exponential",
            1.5
          ],
          [
            "zoom"
          ],
          5,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            0.7,
            [
              "Primary"
            ],
            0.5,
            0
          ],
          8,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            1.2,
            [
              "Primary"
            ],
            1,
            [
              "A Road"
            ],
            0.6,
            0
          ],
          10,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            2,
            [
              "Primary"
            ],
            1.8,
            [
              "A Road"
            ],
            1.3,
            [
              "B Road"
            ],
            1,
            [
              "Minor"
            ],
            0.6,
            [
              "Guided Busway"
            ],
            0.3,
            0
          ],
          12,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            3,
            [
              "Primary"
            ],
            2.6,
            [
              "A Road"
            ],
            2.2,
            [
              "B Road"
            ],
            1.8,
            [
              "Minor"
            ],
            1.3,
            [
              "Local"
            ],
            0.8,
            [
              "Guided Busway"
            ],
            0.8,
            0
          ],
          14,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            5.5,
            [
              "Primary"
            ],
            5,
            [
              "A Road"
            ],
            4.5,
            [
              "B Road"
            ],
            3.8,
            [
              "Minor"
            ],
            3,
            [
              "Local"
            ],
            2.2,
            [
              "Guided Busway"
            ],
            2,
            0
          ],
          16,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            12,
            [
              "Primary"
            ],
            11,
            [
              "A Road"
            ],
            10,
            [
              "B Road"
            ],
            8.5,
            [
              "Minor"
            ],
            7,
            [
              "Local"
            ],
            5.5,
            [
              "Guided Busway"
            ],
            4,
            0
          ],
          18,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Motorway"
            ],
            30,
            [
              "Primary"
            ],
            28,
            [
              "A Road"
            ],
            26,
            [
              "B Road"
            ],
            22,
            [
              "Minor"
            ],
            18,
            [
              "Local"
            ],
            14,
            [
              "Guided Busway"
            ],
            10,
            0
          ]
        ]
      }
    },
    {
      "id": "etl",
      "type": "line",
      "source": "composite",
      "source-layer": "etl",
      "minzoom": 12,
      "paint": {
        "line-color": "#77726c",
        "line-opacity": 0.6,
        "line-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          0.5,
          16,
          1
        ]
      }
    },
    {
      "id": "national grid squares",
      "type": "symbol",
      "source": "national-grid",
      "source-layer": "squares",
      "minzoom": 9,
      "maxzoom": 12,
      "layout": {
        "text-field": [
          "get",
          "square"
        ],
        "text-font": [
          "Source Sans 3 Regular"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          9,
          32,
          11,
          40
        ],
        "text-allow-overlap": true,
        "text-ignore-placement": true
      },
      "paint": {
        "text-color": "#2f8fd0",
        "text-opacity": 0.25
      }
    },
    {
      "id": "national grid numbers",
      "type": "symbol",
      "source": "national-grid",
      "source-layer": "labels",
      "minzoom": 8,
      "filter": [
        ">=",
        [
          "get",
          "every"
        ],
        [
          "step",
          [
            "zoom"
          ],
          48000,
          9,
          24000,
          10,
          12000,
          11,
          6000,
          12,
          3000,
          13,
          1500,
          14,
          750,
          15,
          375
        ]
      ],
      "layout": {
        "text-field": [
          "get",
          "label"
        ],
        "text-font": [
          "Source Sans 3 SemiBold"
        ],
        "text-size": 12,
        "text-padding": 2
      },
      "paint": {
        "text-color": "#2f8fd0",
        "text-halo-color": "rgba(247, 245, 239, 0.95)",
        "text-halo-width": 2
      }
    },
    {
      "id": "contour labels",
      "type": "symbol",
      "source": "composite",
      "source-layer": "contours",
      "minzoom": 13,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "Index"
        ],
        true,
        false
      ],
      "layout": {
        "symbol-placement": "line",
        "text-field": [
          "to-string",
          [
            "get",
            "height"
          ]
        ],
        "text-font": [
          "Source Sans 3 Regular"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          13,
          10,
          16,
          12
        ],
        "text-max-angle": 25,
        "symbol-spacing": 400,
        "text-padding": 4
      },
      "paint": {
        "text-color": "#c4692a",
        "text-halo-color": "rgba(247, 245, 239, 0.95)",
        "text-halo-width": 1.75
      }
    },
    {
      "id": "road names",
      "type": "symbol",
      "source": "composite",
      "source-layer": "roads",
      "minzoom": 14,
      "filter": [
        "has",
        "name"
      ],
      "layout": {
        "symbol-placement": "line",
        "symbol-sort-key": [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Restricted"
          ],
          1,
          0
        ],
        "text-field": [
          "get",
          "name"
        ],
        "text-font": [
          "Source Sans 3 Regular"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          14,
          10,
          17,
          13,
          18,
          16
        ],
        "text-max-angle": 30,
        "symbol-spacing": 300
      },
      "paint": {
        "text-color": [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Restricted"
          ],
          "#6b6359",
          "#38332d"
        ],
        "text-halo-color": "rgba(247, 245, 239, 0.95)",
        "text-halo-width": 1.75
      }
    },
    {
      "id": "road numbers",
      "type": "symbol",
      "source": "composite",
      "source-layer": "roads",
      "minzoom": 11,
      "filter": [
        "all",
        [
          "has",
          "number"
        ],
        [
          "match",
          [
            "get",
            "type"
          ],
          [
            "A Road",
            "B Road"
          ],
          true,
          false
        ]
      ],
      "layout": {
        "symbol-placement": "line",
        "text-rotation-alignment": "viewport",
        "text-field": [
          "get",
          "number"
        ],
        "text-font": [
          "Source Sans 3 Bold"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          11,
          9,
          16,
          12,
          18,
          15
        ],
        "text-letter-spacing": 0.05,
        "symbol-spacing": 350,
        "text-padding": 8
      },
      "paint": {
        "text-color": [
          "match",
          [
            "get",
            "type"
          ],
          [
            "B Road"
          ],
          "#5a3e14",
          "#ffffff"
        ],
        "text-halo-color": [
          "match",
          [
            "get",
            "type"
          ],
          [
            "B Road"
          ],
          "#f0b45e",
          "#a3443c"
        ],
        "text-halo-width": 2.5
      }
    },
    {
      "id": "major road numbers",
      "type": "symbol",
      "source": "composite",
      "source-layer": "roads",
      "minzoom": 9,
      "filter": [
        "all",
        [
          "has",
          "number"
        ],
        [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Motorway",
            "Primary"
          ],
          true,
          false
        ]
      ],
      "layout": {
        "symbol-placement": "line",
        "text-rotation-alignment": "viewport",
        "text-field": [
          "get",
          "number"
        ],
        "text-font": [
          "Source Sans 3 Bold"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          9,
          9,
          16,
          13,
          18,
          16
        ],
        "text-letter-spacing": 0.05,
        "symbol-spacing": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          9,
          250,
          14,
          400
        ],
        "text-padding": 10
      },
      "paint": {
        "text-color": "#ffffff",
        "text-halo-color": [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Motorway"
          ],
          "#36577f",
          "#356b45"
        ],
        "text-halo-width": 2.5
      }
    },
    {
      "id": "motorway junctions",
      "type": "symbol",
      "source": "composite",
      "source-layer": "names",
      "minzoom": 12,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "Motorway Junctions"
        ],
        true,
        false
      ],
      "layout": {
        "text-field": [
          "get",
          "name1"
        ],
        "text-font": [
          "Source Sans 3 Bold"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          9,
          16,
          12
        ]
      },
      "paint": {
        "text-color": "#ffffff",
        "text-halo-color": "#36577f",
        "text-halo-width": 3
      }
    },
    {
      "id": "area names",
      "type": "symbol",
      "source": "area-symbols",
      "source-layer": "points",
      "minzoom": 14,
      "filter": [
        "step",
        [
          "zoom"
        ],
        [
          "all",
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Cemetery",
              "Air Transport"
            ],
            true,
            false
          ],
          [
            ">=",
            [
              "get",
              "area"
            ],
            2019
          ]
        ],
        15,
        [
          "all",
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Cemetery",
              "Air Transport"
            ],
            true,
            false
          ],
          [
            ">=",
            [
              "get",
              "area"
            ],
            505
          ]
        ],
        16,
        [
          "all",
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Cemetery",
              "Air Transport"
            ],
            true,
            false
          ],
          [
            ">=",
            [
              "get",
              "area"
            ],
            126
          ]
        ],
        17,
        [
          "all",
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Cemetery",
              "Air Transport"
            ],
            true,
            false
          ],
          [
            ">=",
            [
              "get",
              "area"
            ],
            32
          ]
        ],
        18,
        [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Cemetery",
            "Air Transport"
          ],
          true,
          false
        ]
      ],
      "layout": {
        "text-field": [
          "let",
          "n",
          [
            "get",
            "name"
          ],
          "spaced",
          [
            "index-of",
            " / ",
            [
              "get",
              "name"
            ]
          ],
          "bare",
          [
            "index-of",
            "/",
            [
              "get",
              "name"
            ]
          ],
          [
            "case",
            [
              ">",
              [
                "var",
                "spaced"
              ],
              0
            ],
            [
              "format",
              [
                "slice",
                [
                  "var",
                  "n"
                ],
                [
                  "+",
                  [
                    "var",
                    "spaced"
                  ],
                  3
                ]
              ],
              {},
              "\n",
              {},
              [
                "slice",
                [
                  "var",
                  "n"
                ],
                0,
                [
                  "var",
                  "spaced"
                ]
              ],
              {
                "font-scale": 0.8
              }
            ],
            [
              ">",
              [
                "var",
                "bare"
              ],
              0
            ],
            [
              "format",
              [
                "slice",
                [
                  "var",
                  "n"
                ],
                [
                  "+",
                  [
                    "var",
                    "bare"
                  ],
                  1
                ]
              ],
              {},
              "\n",
              {},
              [
                "slice",
                [
                  "var",
                  "n"
                ],
                0,
                [
                  "var",
                  "bare"
                ]
              ],
              {
                "font-scale": 0.8
              }
            ],
            [
              "var",
              "n"
            ]
          ]
        ],
        "text-font": [
          "Source Sans 3 Regular"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          14,
          11,
          18,
          13
        ],
        "text-line-height": 1.1,
        "text-max-width": 8,
        "text-padding": 3
      },
      "paint": {
        "text-color": [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Cemetery"
          ],
          "#2e5c1f",
          "#5c5246"
        ],
        "text-halo-color": "rgba(247, 245, 239, 0.95)",
        "text-halo-width": 2,
        "text-halo-blur": 0.25
      }
    },
    {
      "id": "greenspace symbols minor",
      "type": "symbol",
      "source": "area-symbols",
      "source-layer": "points",
      "minzoom": 14,
      "filter": [
        "step",
        [
          "zoom"
        ],
        [
          "all",
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Play Space",
              "Playing Field",
              "Other Sports Facility",
              "Bowling Green",
              "Tennis Court",
              "Allotments Or Community Growing Spaces"
            ],
            true,
            false
          ],
          [
            ">=",
            [
              "get",
              "area"
            ],
            2019
          ]
        ],
        15,
        [
          "all",
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Play Space",
              "Playing Field",
              "Other Sports Facility",
              "Bowling Green",
              "Tennis Court",
              "Allotments Or Community Growing Spaces"
            ],
            true,
            false
          ],
          [
            ">=",
            [
              "get",
              "area"
            ],
            505
          ]
        ],
        16,
        [
          "all",
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Play Space",
              "Playing Field",
              "Other Sports Facility",
              "Bowling Green",
              "Tennis Court",
              "Allotments Or Community Growing Spaces"
            ],
            true,
            false
          ],
          [
            ">=",
            [
              "get",
              "area"
            ],
            126
          ]
        ],
        17,
        [
          "all",
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Play Space",
              "Playing Field",
              "Other Sports Facility",
              "Bowling Green",
              "Tennis Court",
              "Allotments Or Community Growing Spaces"
            ],
            true,
            false
          ],
          [
            ">=",
            [
              "get",
              "area"
            ],
            32
          ]
        ],
        18,
        [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Play Space",
            "Playing Field",
            "Other Sports Facility",
            "Bowling Green",
            "Tennis Court",
            "Allotments Or Community Growing Spaces"
          ],
          true,
          false
        ]
      ],
      "layout": {
        "icon-image": [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Play Space"
          ],
          "fellside:playground",
          [
            "Playing Field",
            "Other Sports Facility",
            "Bowling Green"
          ],
          "fellside:pitch",
          [
            "Tennis Court"
          ],
          "fellside:tennis",
          [
            "Allotments Or Community Growing Spaces"
          ],
          "fellside:garden",
          ""
        ],
        "icon-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          14,
          0.8,
          17,
          1
        ],
        "icon-padding": 12,
        "symbol-sort-key": [
          "-",
          [
            "get",
            "area"
          ]
        ],
        "text-field": [
          "step",
          [
            "zoom"
          ],
          "",
          14,
          [
            "let",
            "n",
            [
              "get",
              "name"
            ],
            "spaced",
            [
              "index-of",
              " / ",
              [
                "get",
                "name"
              ]
            ],
            "bare",
            [
              "index-of",
              "/",
              [
                "get",
                "name"
              ]
            ],
            [
              "case",
              [
                ">",
                [
                  "var",
                  "spaced"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "spaced"
                    ],
                    3
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "spaced"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                ">",
                [
                  "var",
                  "bare"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "bare"
                    ],
                    1
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "bare"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                "var",
                "n"
              ]
            ]
          ]
        ],
        "text-font": [
          "Source Sans 3 Regular"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          14,
          11,
          18,
          13
        ],
        "text-line-height": 1.1,
        "text-max-width": 8,
        "text-padding": 3,
        "text-variable-anchor": [
          "top",
          "bottom",
          "left",
          "right"
        ],
        "text-radial-offset": 1.2,
        "text-optional": true
      },
      "paint": {
        "text-color": "#2e5c1f",
        "text-halo-color": "rgba(247, 245, 239, 0.95)",
        "text-halo-width": 2,
        "text-halo-blur": 0.25
      }
    },
    {
      "id": "greenspace symbols",
      "type": "symbol",
      "source": "area-symbols",
      "source-layer": "points",
      "minzoom": 12,
      "filter": [
        "step",
        [
          "zoom"
        ],
        [
          "all",
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Public Park Or Garden",
              "Golf Course",
              "Religious Grounds"
            ],
            true,
            false
          ],
          [
            ">=",
            [
              "get",
              "area"
            ],
            32297
          ]
        ],
        13,
        [
          "all",
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Public Park Or Garden",
              "Golf Course",
              "Religious Grounds"
            ],
            true,
            false
          ],
          [
            ">=",
            [
              "get",
              "area"
            ],
            8074
          ]
        ],
        14,
        [
          "all",
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Public Park Or Garden",
              "Golf Course",
              "Religious Grounds"
            ],
            true,
            false
          ],
          [
            ">=",
            [
              "get",
              "area"
            ],
            2019
          ]
        ],
        15,
        [
          "all",
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Public Park Or Garden",
              "Golf Course",
              "Religious Grounds"
            ],
            true,
            false
          ],
          [
            ">=",
            [
              "get",
              "area"
            ],
            505
          ]
        ],
        16,
        [
          "all",
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Public Park Or Garden",
              "Golf Course",
              "Religious Grounds"
            ],
            true,
            false
          ],
          [
            ">=",
            [
              "get",
              "area"
            ],
            126
          ]
        ],
        17,
        [
          "all",
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Public Park Or Garden",
              "Golf Course",
              "Religious Grounds"
            ],
            true,
            false
          ],
          [
            ">=",
            [
              "get",
              "area"
            ],
            32
          ]
        ],
        18,
        [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Public Park Or Garden",
            "Golf Course",
            "Religious Grounds"
          ],
          true,
          false
        ]
      ],
      "layout": {
        "icon-image": [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Public Park Or Garden"
          ],
          "fellside:park",
          [
            "Golf Course"
          ],
          "fellside:golf",
          [
            "Religious Grounds"
          ],
          "fellside:religious-christian",
          ""
        ],
        "icon-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          0.8,
          15,
          1
        ],
        "icon-padding": 24,
        "symbol-sort-key": [
          "-",
          [
            "get",
            "area"
          ]
        ],
        "text-field": [
          "step",
          [
            "zoom"
          ],
          "",
          14,
          [
            "let",
            "n",
            [
              "get",
              "name"
            ],
            "spaced",
            [
              "index-of",
              " / ",
              [
                "get",
                "name"
              ]
            ],
            "bare",
            [
              "index-of",
              "/",
              [
                "get",
                "name"
              ]
            ],
            [
              "case",
              [
                ">",
                [
                  "var",
                  "spaced"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "spaced"
                    ],
                    3
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "spaced"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                ">",
                [
                  "var",
                  "bare"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "bare"
                    ],
                    1
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "bare"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                "var",
                "n"
              ]
            ]
          ]
        ],
        "text-font": [
          "Source Sans 3 Regular"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          14,
          11,
          18,
          13
        ],
        "text-line-height": 1.1,
        "text-max-width": 8,
        "text-padding": 3,
        "text-variable-anchor": [
          "top",
          "bottom",
          "left",
          "right"
        ],
        "text-radial-offset": 1.2,
        "text-optional": true
      },
      "paint": {
        "text-color": "#2e5c1f",
        "text-halo-color": "rgba(247, 245, 239, 0.95)",
        "text-halo-width": 2,
        "text-halo-blur": 0.25
      }
    },
    {
      "id": "site symbols",
      "type": "symbol",
      "source": "area-symbols",
      "source-layer": "points",
      "minzoom": 12,
      "filter": [
        "step",
        [
          "zoom"
        ],
        [
          "all",
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Education",
              "Medical Care"
            ],
            true,
            false
          ],
          [
            ">=",
            [
              "get",
              "area"
            ],
            32297
          ]
        ],
        13,
        [
          "all",
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Education",
              "Medical Care"
            ],
            true,
            false
          ],
          [
            ">=",
            [
              "get",
              "area"
            ],
            8074
          ]
        ],
        14,
        [
          "all",
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Education",
              "Medical Care"
            ],
            true,
            false
          ],
          [
            ">=",
            [
              "get",
              "area"
            ],
            2019
          ]
        ],
        15,
        [
          "all",
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Education",
              "Medical Care"
            ],
            true,
            false
          ],
          [
            ">=",
            [
              "get",
              "area"
            ],
            505
          ]
        ],
        16,
        [
          "all",
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Education",
              "Medical Care"
            ],
            true,
            false
          ],
          [
            ">=",
            [
              "get",
              "area"
            ],
            126
          ]
        ],
        17,
        [
          "all",
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "Education",
              "Medical Care"
            ],
            true,
            false
          ],
          [
            ">=",
            [
              "get",
              "area"
            ],
            32
          ]
        ],
        18,
        [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Education",
            "Medical Care"
          ],
          true,
          false
        ]
      ],
      "layout": {
        "icon-image": [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Education"
          ],
          "fellside:college",
          [
            "Medical Care"
          ],
          "fellside:hospital",
          ""
        ],
        "icon-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          0.8,
          15,
          1
        ],
        "icon-padding": 4,
        "symbol-sort-key": [
          "-",
          [
            "get",
            "area"
          ]
        ],
        "text-field": [
          "step",
          [
            "zoom"
          ],
          "",
          15,
          [
            "let",
            "n",
            [
              "get",
              "name"
            ],
            "spaced",
            [
              "index-of",
              " / ",
              [
                "get",
                "name"
              ]
            ],
            "bare",
            [
              "index-of",
              "/",
              [
                "get",
                "name"
              ]
            ],
            [
              "case",
              [
                ">",
                [
                  "var",
                  "spaced"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "spaced"
                    ],
                    3
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "spaced"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                ">",
                [
                  "var",
                  "bare"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "bare"
                    ],
                    1
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "bare"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                "var",
                "n"
              ]
            ]
          ]
        ],
        "text-font": [
          "Source Sans 3 Regular"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          15,
          11,
          18,
          13
        ],
        "text-line-height": 1.1,
        "text-max-width": 8,
        "text-padding": 3,
        "text-variable-anchor": [
          "top",
          "bottom",
          "left",
          "right"
        ],
        "text-radial-offset": 1.2,
        "text-optional": true
      },
      "paint": {
        "text-color": "#5c5246",
        "text-halo-color": "rgba(247, 245, 239, 0.95)",
        "text-halo-width": 2,
        "text-halo-blur": 0.25
      }
    },
    {
      "id": "transport symbols",
      "type": "symbol",
      "source": "area-symbols",
      "source-layer": "points",
      "minzoom": 12,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "Road Transport",
          "Water Transport"
        ],
        true,
        false
      ],
      "layout": {
        "icon-image": [
          "match",
          [
            "get",
            "type"
          ],
          [
            "Road Transport"
          ],
          "fellside:bus",
          [
            "Water Transport"
          ],
          "fellside:ferry",
          ""
        ],
        "icon-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          0.8,
          15,
          1
        ],
        "icon-padding": 4,
        "symbol-sort-key": [
          "-",
          [
            "get",
            "area"
          ]
        ],
        "text-field": [
          "step",
          [
            "zoom"
          ],
          "",
          15,
          [
            "let",
            "n",
            [
              "get",
              "name"
            ],
            "spaced",
            [
              "index-of",
              " / ",
              [
                "get",
                "name"
              ]
            ],
            "bare",
            [
              "index-of",
              "/",
              [
                "get",
                "name"
              ]
            ],
            [
              "case",
              [
                ">",
                [
                  "var",
                  "spaced"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "spaced"
                    ],
                    3
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "spaced"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                ">",
                [
                  "var",
                  "bare"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "bare"
                    ],
                    1
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "bare"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                "var",
                "n"
              ]
            ]
          ]
        ],
        "text-font": [
          "Source Sans 3 Regular"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          15,
          11,
          18,
          13
        ],
        "text-line-height": 1.1,
        "text-max-width": 8,
        "text-padding": 3,
        "text-variable-anchor": [
          "top",
          "bottom",
          "left",
          "right"
        ],
        "text-radial-offset": 1.2,
        "text-optional": true
      },
      "paint": {
        "text-color": "#5c5246",
        "text-halo-color": "rgba(247, 245, 239, 0.95)",
        "text-halo-width": 2,
        "text-halo-blur": 0.25
      }
    },
    {
      "id": "landcover names",
      "type": "symbol",
      "source": "composite",
      "source-layer": "names",
      "minzoom": 12,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "Landcover"
        ],
        true,
        false
      ],
      "layout": {
        "text-field": [
          "case",
          [
            "all",
            [
              "has",
              "name2"
            ],
            [
              "!=",
              [
                "get",
                "name2"
              ],
              ""
            ]
          ],
          [
            "format",
            [
              "get",
              "name1"
            ],
            {},
            "\n",
            {},
            [
              "get",
              "name2"
            ],
            {
              "font-scale": 0.8
            }
          ],
          [
            "let",
            "n",
            [
              "get",
              "name1"
            ],
            "spaced",
            [
              "index-of",
              " / ",
              [
                "get",
                "name1"
              ]
            ],
            "bare",
            [
              "index-of",
              "/",
              [
                "get",
                "name1"
              ]
            ],
            [
              "case",
              [
                ">",
                [
                  "var",
                  "spaced"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "spaced"
                    ],
                    3
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "spaced"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                ">",
                [
                  "var",
                  "bare"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "bare"
                    ],
                    1
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "bare"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                "var",
                "n"
              ]
            ]
          ]
        ],
        "text-font": [
          "Source Sans 3 Italic"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          11,
          16,
          14
        ],
        "text-line-height": 1.1,
        "text-max-width": 8,
        "text-padding": 3
      },
      "paint": {
        "text-color": "#4c5426",
        "text-halo-color": "rgba(247, 245, 239, 0.95)",
        "text-halo-width": 2,
        "text-halo-blur": 0.25
      }
    },
    {
      "id": "woodland names",
      "type": "symbol",
      "source": "composite",
      "source-layer": "names",
      "minzoom": 12,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "Woodland"
        ],
        true,
        false
      ],
      "layout": {
        "text-field": [
          "case",
          [
            "all",
            [
              "has",
              "name2"
            ],
            [
              "!=",
              [
                "get",
                "name2"
              ],
              ""
            ]
          ],
          [
            "format",
            [
              "get",
              "name1"
            ],
            {},
            "\n",
            {},
            [
              "get",
              "name2"
            ],
            {
              "font-scale": 0.8
            }
          ],
          [
            "let",
            "n",
            [
              "get",
              "name1"
            ],
            "spaced",
            [
              "index-of",
              " / ",
              [
                "get",
                "name1"
              ]
            ],
            "bare",
            [
              "index-of",
              "/",
              [
                "get",
                "name1"
              ]
            ],
            [
              "case",
              [
                ">",
                [
                  "var",
                  "spaced"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "spaced"
                    ],
                    3
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "spaced"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                ">",
                [
                  "var",
                  "bare"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "bare"
                    ],
                    1
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "bare"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                "var",
                "n"
              ]
            ]
          ]
        ],
        "text-font": [
          "Source Sans 3 Italic"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          11,
          16,
          14
        ],
        "text-line-height": 1.1,
        "text-max-width": 8,
        "text-padding": 3
      },
      "paint": {
        "text-color": "#2a5a1c",
        "text-halo-color": "rgba(247, 245, 239, 0.95)",
        "text-halo-width": 2,
        "text-halo-blur": 0.25
      }
    },
    {
      "id": "water names",
      "type": "symbol",
      "source": "composite",
      "source-layer": "names",
      "minzoom": 11,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "Water"
        ],
        true,
        false
      ],
      "layout": {
        "text-field": [
          "case",
          [
            "all",
            [
              "has",
              "name2"
            ],
            [
              "!=",
              [
                "get",
                "name2"
              ],
              ""
            ]
          ],
          [
            "format",
            [
              "get",
              "name1"
            ],
            {},
            "\n",
            {},
            [
              "get",
              "name2"
            ],
            {
              "font-scale": 0.8
            }
          ],
          [
            "let",
            "n",
            [
              "get",
              "name1"
            ],
            "spaced",
            [
              "index-of",
              " / ",
              [
                "get",
                "name1"
              ]
            ],
            "bare",
            [
              "index-of",
              "/",
              [
                "get",
                "name1"
              ]
            ],
            [
              "case",
              [
                ">",
                [
                  "var",
                  "spaced"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "spaced"
                    ],
                    3
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "spaced"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                ">",
                [
                  "var",
                  "bare"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "bare"
                    ],
                    1
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "bare"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                "var",
                "n"
              ]
            ]
          ]
        ],
        "text-font": [
          "Source Sans 3 Italic"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          11,
          11,
          16,
          15
        ],
        "text-line-height": 1.1,
        "text-max-width": 8,
        "text-padding": 3,
        "text-letter-spacing": 0.03
      },
      "paint": {
        "text-color": "#1670b3",
        "text-halo-color": "rgba(247, 245, 239, 0.95)",
        "text-halo-width": 2,
        "text-halo-blur": 0.25
      }
    },
    {
      "id": "landform names",
      "type": "symbol",
      "source": "composite",
      "source-layer": "names",
      "minzoom": 11,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "Landform"
        ],
        true,
        false
      ],
      "layout": {
        "text-field": [
          "case",
          [
            "all",
            [
              "has",
              "name2"
            ],
            [
              "!=",
              [
                "get",
                "name2"
              ],
              ""
            ]
          ],
          [
            "format",
            [
              "get",
              "name1"
            ],
            {},
            "\n",
            {},
            [
              "get",
              "name2"
            ],
            {
              "font-scale": 0.8
            }
          ],
          [
            "let",
            "n",
            [
              "get",
              "name1"
            ],
            "spaced",
            [
              "index-of",
              " / ",
              [
                "get",
                "name1"
              ]
            ],
            "bare",
            [
              "index-of",
              "/",
              [
                "get",
                "name1"
              ]
            ],
            [
              "case",
              [
                ">",
                [
                  "var",
                  "spaced"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "spaced"
                    ],
                    3
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "spaced"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                ">",
                [
                  "var",
                  "bare"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "bare"
                    ],
                    1
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "bare"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                "var",
                "n"
              ]
            ]
          ]
        ],
        "text-font": [
          "Source Sans 3 Italic"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          11,
          11.75,
          14,
          14
        ],
        "text-line-height": 1.1,
        "text-max-width": 8,
        "text-padding": 3,
        "text-letter-spacing": 0.04
      },
      "paint": {
        "text-color": "#3d3128",
        "text-halo-color": "rgba(247, 245, 239, 0.95)",
        "text-halo-width": 2,
        "text-halo-blur": 0.25
      }
    },
    {
      "id": "railway station interchanges",
      "type": "circle",
      "source": "composite",
      "source-layer": "railwaystations",
      "minzoom": 12,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "Railway Station And London Underground Station",
          "Light Rapid Transit Station And Railway Station"
        ],
        true,
        false
      ],
      "paint": {
        "circle-radius": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          5.5,
          13,
          6.5,
          15,
          9,
          17,
          10.5
        ],
        "circle-color": "#ffffff",
        "circle-stroke-color": "#000000",
        "circle-stroke-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          0.75,
          15,
          1
        ],
        "circle-pitch-alignment": "map"
      }
    },
    {
      "id": "railway stations",
      "type": "circle",
      "source": "composite",
      "source-layer": "railwaystations",
      "minzoom": 12,
      "layout": {
        "circle-sort-key": [
          "match",
          [
            "get",
            "type"
          ],
          [
            "London Underground Station",
            "Light Rapid Transit Station",
            "Light Rapid Transit Station And London Underground Station"
          ],
          0,
          1
        ]
      },
      "paint": {
        "circle-radius": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "London Underground Station",
              "Light Rapid Transit Station",
              "Light Rapid Transit Station And London Underground Station"
            ],
            2.5,
            3.75
          ],
          13,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "London Underground Station",
              "Light Rapid Transit Station",
              "Light Rapid Transit Station And London Underground Station"
            ],
            3,
            4.5
          ],
          15,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "London Underground Station",
              "Light Rapid Transit Station",
              "Light Rapid Transit Station And London Underground Station"
            ],
            4.5,
            6.5
          ],
          17,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "London Underground Station",
              "Light Rapid Transit Station",
              "Light Rapid Transit Station And London Underground Station"
            ],
            5,
            7.5
          ]
        ],
        "circle-color": [
          "match",
          [
            "get",
            "type"
          ],
          [
            "London Underground Station",
            "Light Rapid Transit Station And London Underground Station"
          ],
          "#1c3f94",
          [
            "Light Rapid Transit Station"
          ],
          "#ffffff",
          "#e3241b"
        ],
        "circle-stroke-color": "#000000",
        "circle-stroke-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          0.75,
          15,
          1
        ],
        "circle-pitch-alignment": "map"
      }
    },
    {
      "id": "railway station names",
      "type": "symbol",
      "source": "composite",
      "source-layer": "railwaystations",
      "minzoom": 12,
      "layout": {
        "text-field": [
          "let",
          "n",
          [
            "get",
            "name"
          ],
          "spaced",
          [
            "index-of",
            " / ",
            [
              "get",
              "name"
            ]
          ],
          "bare",
          [
            "index-of",
            "/",
            [
              "get",
              "name"
            ]
          ],
          [
            "case",
            [
              ">",
              [
                "var",
                "spaced"
              ],
              0
            ],
            [
              "format",
              [
                "slice",
                [
                  "var",
                  "n"
                ],
                [
                  "+",
                  [
                    "var",
                    "spaced"
                  ],
                  3
                ]
              ],
              {},
              "\n",
              {},
              [
                "slice",
                [
                  "var",
                  "n"
                ],
                0,
                [
                  "var",
                  "spaced"
                ]
              ],
              {
                "font-scale": 0.8
              }
            ],
            [
              ">",
              [
                "var",
                "bare"
              ],
              0
            ],
            [
              "format",
              [
                "slice",
                [
                  "var",
                  "n"
                ],
                [
                  "+",
                  [
                    "var",
                    "bare"
                  ],
                  1
                ]
              ],
              {},
              "\n",
              {},
              [
                "slice",
                [
                  "var",
                  "n"
                ],
                0,
                [
                  "var",
                  "bare"
                ]
              ],
              {
                "font-scale": 0.8
              }
            ],
            [
              "var",
              "n"
            ]
          ]
        ],
        "text-font": [
          "Source Sans 3 SemiBold"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "London Underground Station",
              "Light Rapid Transit Station",
              "Light Rapid Transit Station And London Underground Station"
            ],
            10,
            11
          ],
          16,
          [
            "match",
            [
              "get",
              "type"
            ],
            [
              "London Underground Station",
              "Light Rapid Transit Station",
              "Light Rapid Transit Station And London Underground Station"
            ],
            12,
            14
          ]
        ],
        "text-variable-anchor": [
          "top",
          "bottom",
          "right",
          "left"
        ],
        "text-radial-offset": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          0.75,
          16,
          0.85
        ],
        "symbol-sort-key": [
          "match",
          [
            "get",
            "type"
          ],
          [
            "London Underground Station",
            "Light Rapid Transit Station",
            "Light Rapid Transit Station And London Underground Station"
          ],
          1,
          0
        ]
      },
      "paint": {
        "text-color": "#1e1e1e",
        "text-halo-color": "rgba(247, 245, 239, 0.95)",
        "text-halo-width": 2
      }
    },
    {
      "id": "airports",
      "type": "symbol",
      "source": "composite",
      "source-layer": "airports",
      "minzoom": 10,
      "layout": {
        "icon-image": "fellside:airport",
        "icon-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          10,
          0.76,
          14,
          1
        ],
        "text-field": [
          "let",
          "n",
          [
            "get",
            "name"
          ],
          "spaced",
          [
            "index-of",
            " / ",
            [
              "get",
              "name"
            ]
          ],
          "bare",
          [
            "index-of",
            "/",
            [
              "get",
              "name"
            ]
          ],
          [
            "case",
            [
              ">",
              [
                "var",
                "spaced"
              ],
              0
            ],
            [
              "format",
              [
                "slice",
                [
                  "var",
                  "n"
                ],
                [
                  "+",
                  [
                    "var",
                    "spaced"
                  ],
                  3
                ]
              ],
              {},
              "\n",
              {},
              [
                "slice",
                [
                  "var",
                  "n"
                ],
                0,
                [
                  "var",
                  "spaced"
                ]
              ],
              {
                "font-scale": 0.8
              }
            ],
            [
              ">",
              [
                "var",
                "bare"
              ],
              0
            ],
            [
              "format",
              [
                "slice",
                [
                  "var",
                  "n"
                ],
                [
                  "+",
                  [
                    "var",
                    "bare"
                  ],
                  1
                ]
              ],
              {},
              "\n",
              {},
              [
                "slice",
                [
                  "var",
                  "n"
                ],
                0,
                [
                  "var",
                  "bare"
                ]
              ],
              {
                "font-scale": 0.8
              }
            ],
            [
              "var",
              "n"
            ]
          ]
        ],
        "text-font": [
          "Source Sans 3 Regular"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          10,
          10.4,
          14,
          12
        ],
        "text-anchor": "top",
        "text-offset": [
          0,
          1
        ],
        "text-optional": true
      },
      "paint": {
        "text-color": "#3d3833",
        "text-halo-color": "rgba(247, 245, 239, 0.95)",
        "text-halo-width": 1.75
      }
    },
    {
      "id": "suburban area names",
      "type": "symbol",
      "source": "composite",
      "source-layer": "names",
      "minzoom": 11,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "Suburban Area"
        ],
        true,
        false
      ],
      "layout": {
        "text-field": [
          "case",
          [
            "all",
            [
              "has",
              "name2"
            ],
            [
              "!=",
              [
                "get",
                "name2"
              ],
              ""
            ]
          ],
          [
            "format",
            [
              "get",
              "name1"
            ],
            {},
            "\n",
            {},
            [
              "get",
              "name2"
            ],
            {
              "font-scale": 0.8
            }
          ],
          [
            "let",
            "n",
            [
              "get",
              "name1"
            ],
            "spaced",
            [
              "index-of",
              " / ",
              [
                "get",
                "name1"
              ]
            ],
            "bare",
            [
              "index-of",
              "/",
              [
                "get",
                "name1"
              ]
            ],
            [
              "case",
              [
                ">",
                [
                  "var",
                  "spaced"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "spaced"
                    ],
                    3
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "spaced"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                ">",
                [
                  "var",
                  "bare"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "bare"
                    ],
                    1
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "bare"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                "var",
                "n"
              ]
            ]
          ]
        ],
        "text-font": [
          "Source Sans 3 SemiBold"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          11,
          10,
          15,
          13
        ],
        "text-line-height": 1.1,
        "text-max-width": 8,
        "text-padding": 3,
        "text-transform": "uppercase",
        "text-letter-spacing": 0.12
      },
      "paint": {
        "text-color": "#4a4137",
        "text-halo-color": "rgba(247, 245, 239, 0.95)",
        "text-halo-width": 2.25,
        "text-halo-blur": 0.25
      }
    },
    {
      "id": "small settlement names",
      "type": "symbol",
      "source": "composite",
      "source-layer": "names",
      "minzoom": 13,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "Small Settlements"
        ],
        true,
        false
      ],
      "layout": {
        "text-field": [
          "case",
          [
            "all",
            [
              "has",
              "name2"
            ],
            [
              "!=",
              [
                "get",
                "name2"
              ],
              ""
            ]
          ],
          [
            "format",
            [
              "get",
              "name1"
            ],
            {},
            "\n",
            {},
            [
              "get",
              "name2"
            ],
            {
              "font-scale": 0.8
            }
          ],
          [
            "let",
            "n",
            [
              "get",
              "name1"
            ],
            "spaced",
            [
              "index-of",
              " / ",
              [
                "get",
                "name1"
              ]
            ],
            "bare",
            [
              "index-of",
              "/",
              [
                "get",
                "name1"
              ]
            ],
            [
              "case",
              [
                ">",
                [
                  "var",
                  "spaced"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "spaced"
                    ],
                    3
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "spaced"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                ">",
                [
                  "var",
                  "bare"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "bare"
                    ],
                    1
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "bare"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                "var",
                "n"
              ]
            ]
          ]
        ],
        "text-font": [
          "Source Sans 3 Regular"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          13,
          11,
          16,
          13
        ],
        "text-line-height": 1.1,
        "text-max-width": 8,
        "text-padding": 3
      },
      "paint": {
        "text-color": "#38322b",
        "text-halo-color": "rgba(247, 245, 239, 0.95)",
        "text-halo-width": 2,
        "text-halo-blur": 0.25
      }
    },
    {
      "id": "hamlet names",
      "type": "symbol",
      "source": "composite",
      "source-layer": "names",
      "minzoom": 12,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "Hamlet"
        ],
        true,
        false
      ],
      "layout": {
        "text-field": [
          "case",
          [
            "all",
            [
              "has",
              "name2"
            ],
            [
              "!=",
              [
                "get",
                "name2"
              ],
              ""
            ]
          ],
          [
            "format",
            [
              "get",
              "name1"
            ],
            {},
            "\n",
            {},
            [
              "get",
              "name2"
            ],
            {
              "font-scale": 0.8
            }
          ],
          [
            "let",
            "n",
            [
              "get",
              "name1"
            ],
            "spaced",
            [
              "index-of",
              " / ",
              [
                "get",
                "name1"
              ]
            ],
            "bare",
            [
              "index-of",
              "/",
              [
                "get",
                "name1"
              ]
            ],
            [
              "case",
              [
                ">",
                [
                  "var",
                  "spaced"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "spaced"
                    ],
                    3
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "spaced"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                ">",
                [
                  "var",
                  "bare"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "bare"
                    ],
                    1
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "bare"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                "var",
                "n"
              ]
            ]
          ]
        ],
        "text-font": [
          "Source Sans 3 Regular"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          12,
          11,
          16,
          14
        ],
        "text-line-height": 1.1,
        "text-max-width": 8,
        "text-padding": 3
      },
      "paint": {
        "text-color": "#2e2924",
        "text-halo-color": "rgba(247, 245, 239, 0.95)",
        "text-halo-width": 2,
        "text-halo-blur": 0.25
      }
    },
    {
      "id": "village names",
      "type": "symbol",
      "source": "composite",
      "source-layer": "names",
      "minzoom": 11,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "Village"
        ],
        true,
        false
      ],
      "layout": {
        "text-field": [
          "case",
          [
            "all",
            [
              "has",
              "name2"
            ],
            [
              "!=",
              [
                "get",
                "name2"
              ],
              ""
            ]
          ],
          [
            "format",
            [
              "get",
              "name1"
            ],
            {},
            "\n",
            {},
            [
              "get",
              "name2"
            ],
            {
              "font-scale": 0.8
            }
          ],
          [
            "let",
            "n",
            [
              "get",
              "name1"
            ],
            "spaced",
            [
              "index-of",
              " / ",
              [
                "get",
                "name1"
              ]
            ],
            "bare",
            [
              "index-of",
              "/",
              [
                "get",
                "name1"
              ]
            ],
            [
              "case",
              [
                ">",
                [
                  "var",
                  "spaced"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "spaced"
                    ],
                    3
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "spaced"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                ">",
                [
                  "var",
                  "bare"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "bare"
                    ],
                    1
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "bare"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                "var",
                "n"
              ]
            ]
          ]
        ],
        "text-font": [
          "Source Sans 3 SemiBold"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          11,
          10.5,
          16,
          15
        ],
        "text-line-height": 1.1,
        "text-max-width": 8,
        "text-padding": 3
      },
      "paint": {
        "text-color": "#2f2a24",
        "text-halo-color": "rgba(247, 245, 239, 0.95)",
        "text-halo-width": 2,
        "text-halo-blur": 0.25
      }
    },
    {
      "id": "town names",
      "type": "symbol",
      "source": "composite",
      "source-layer": "names",
      "minzoom": 7,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "Town"
        ],
        true,
        false
      ],
      "layout": {
        "text-field": [
          "case",
          [
            "all",
            [
              "has",
              "name2"
            ],
            [
              "!=",
              [
                "get",
                "name2"
              ],
              ""
            ]
          ],
          [
            "format",
            [
              "get",
              "name1"
            ],
            {},
            "\n",
            {},
            [
              "get",
              "name2"
            ],
            {
              "font-scale": 0.8
            }
          ],
          [
            "let",
            "n",
            [
              "get",
              "name1"
            ],
            "spaced",
            [
              "index-of",
              " / ",
              [
                "get",
                "name1"
              ]
            ],
            "bare",
            [
              "index-of",
              "/",
              [
                "get",
                "name1"
              ]
            ],
            [
              "case",
              [
                ">",
                [
                  "var",
                  "spaced"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "spaced"
                    ],
                    3
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "spaced"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                ">",
                [
                  "var",
                  "bare"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "bare"
                    ],
                    1
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "bare"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                "var",
                "n"
              ]
            ]
          ]
        ],
        "text-font": [
          "Source Sans 3 SemiBold"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          7,
          10,
          8,
          10.5,
          12,
          14,
          16,
          19
        ],
        "text-line-height": 1.1,
        "text-max-width": 8,
        "text-padding": 3
      },
      "paint": {
        "text-color": "#28231e",
        "text-halo-color": "rgba(247, 245, 239, 0.95)",
        "text-halo-width": 2,
        "text-halo-blur": 0.25
      }
    },
    {
      "id": "national park names",
      "type": "symbol",
      "source": "composite",
      "source-layer": "names",
      "minzoom": 6,
      "maxzoom": 12,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "National Park"
        ],
        true,
        false
      ],
      "layout": {
        "text-field": [
          "case",
          [
            "all",
            [
              "has",
              "name2"
            ],
            [
              "!=",
              [
                "get",
                "name2"
              ],
              ""
            ]
          ],
          [
            "format",
            [
              "get",
              "name1"
            ],
            {},
            "\n",
            {},
            [
              "get",
              "name2"
            ],
            {
              "font-scale": 0.8
            }
          ],
          [
            "let",
            "n",
            [
              "get",
              "name1"
            ],
            "spaced",
            [
              "index-of",
              " / ",
              [
                "get",
                "name1"
              ]
            ],
            "bare",
            [
              "index-of",
              "/",
              [
                "get",
                "name1"
              ]
            ],
            [
              "case",
              [
                ">",
                [
                  "var",
                  "spaced"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "spaced"
                    ],
                    3
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "spaced"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                ">",
                [
                  "var",
                  "bare"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "bare"
                    ],
                    1
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "bare"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                "var",
                "n"
              ]
            ]
          ]
        ],
        "text-font": [
          "Source Sans 3 SemiBold"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          6,
          10,
          11,
          14
        ],
        "text-line-height": 1.1,
        "text-max-width": 7,
        "text-padding": 3,
        "text-transform": "uppercase",
        "text-letter-spacing": 0.15
      },
      "paint": {
        "text-color": "#3a6424",
        "text-halo-color": "rgba(247, 245, 239, 0.95)",
        "text-halo-width": 2,
        "text-halo-blur": 0.25
      }
    },
    {
      "id": "city names",
      "type": "symbol",
      "source": "composite",
      "source-layer": "names",
      "minzoom": 6,
      "maxzoom": 15,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "City"
        ],
        true,
        false
      ],
      "layout": {
        "text-field": [
          "case",
          [
            "all",
            [
              "has",
              "name2"
            ],
            [
              "!=",
              [
                "get",
                "name2"
              ],
              ""
            ]
          ],
          [
            "format",
            [
              "get",
              "name1"
            ],
            {},
            "\n",
            {},
            [
              "get",
              "name2"
            ],
            {
              "font-scale": 0.8
            }
          ],
          [
            "let",
            "n",
            [
              "get",
              "name1"
            ],
            "spaced",
            [
              "index-of",
              " / ",
              [
                "get",
                "name1"
              ]
            ],
            "bare",
            [
              "index-of",
              "/",
              [
                "get",
                "name1"
              ]
            ],
            [
              "case",
              [
                ">",
                [
                  "var",
                  "spaced"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "spaced"
                    ],
                    3
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "spaced"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                ">",
                [
                  "var",
                  "bare"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "bare"
                    ],
                    1
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "bare"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                "var",
                "n"
              ]
            ]
          ]
        ],
        "text-font": [
          "Source Sans 3 Bold"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          6,
          11,
          10,
          15,
          14,
          21
        ],
        "text-line-height": 1.1,
        "text-max-width": 8,
        "text-padding": 3
      },
      "paint": {
        "text-color": "#1f1b17",
        "text-halo-color": "rgba(247, 245, 239, 0.95)",
        "text-halo-width": 2,
        "text-halo-blur": 0.25
      }
    },
    {
      "id": "capital city names",
      "type": "symbol",
      "source": "composite",
      "source-layer": "names",
      "minzoom": 5,
      "maxzoom": 15,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "Capital"
        ],
        true,
        false
      ],
      "layout": {
        "text-field": [
          "case",
          [
            "all",
            [
              "has",
              "name2"
            ],
            [
              "!=",
              [
                "get",
                "name2"
              ],
              ""
            ]
          ],
          [
            "format",
            [
              "get",
              "name1"
            ],
            {},
            "\n",
            {},
            [
              "get",
              "name2"
            ],
            {
              "font-scale": 0.8
            }
          ],
          [
            "let",
            "n",
            [
              "get",
              "name1"
            ],
            "spaced",
            [
              "index-of",
              " / ",
              [
                "get",
                "name1"
              ]
            ],
            "bare",
            [
              "index-of",
              "/",
              [
                "get",
                "name1"
              ]
            ],
            [
              "case",
              [
                ">",
                [
                  "var",
                  "spaced"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "spaced"
                    ],
                    3
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "spaced"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                ">",
                [
                  "var",
                  "bare"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "bare"
                    ],
                    1
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "bare"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                "var",
                "n"
              ]
            ]
          ]
        ],
        "text-font": [
          "Source Sans 3 Bold"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          5,
          12,
          10,
          17,
          14,
          23
        ],
        "text-line-height": 1.1,
        "text-max-width": 8,
        "text-padding": 3,
        "text-transform": "uppercase",
        "text-letter-spacing": 0.08
      },
      "paint": {
        "text-color": "#1f1b17",
        "text-halo-color": "rgba(247, 245, 239, 0.95)",
        "text-halo-width": 2,
        "text-halo-blur": 0.25
      }
    },
    {
      "id": "country names",
      "type": "symbol",
      "source": "composite",
      "source-layer": "names",
      "minzoom": 5,
      "maxzoom": 9,
      "filter": [
        "match",
        [
          "get",
          "type"
        ],
        [
          "Country"
        ],
        true,
        false
      ],
      "layout": {
        "text-field": [
          "case",
          [
            "all",
            [
              "has",
              "name2"
            ],
            [
              "!=",
              [
                "get",
                "name2"
              ],
              ""
            ]
          ],
          [
            "format",
            [
              "get",
              "name1"
            ],
            {},
            "\n",
            {},
            [
              "get",
              "name2"
            ],
            {
              "font-scale": 0.8
            }
          ],
          [
            "let",
            "n",
            [
              "get",
              "name1"
            ],
            "spaced",
            [
              "index-of",
              " / ",
              [
                "get",
                "name1"
              ]
            ],
            "bare",
            [
              "index-of",
              "/",
              [
                "get",
                "name1"
              ]
            ],
            [
              "case",
              [
                ">",
                [
                  "var",
                  "spaced"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "spaced"
                    ],
                    3
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "spaced"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                ">",
                [
                  "var",
                  "bare"
                ],
                0
              ],
              [
                "format",
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  [
                    "+",
                    [
                      "var",
                      "bare"
                    ],
                    1
                  ]
                ],
                {},
                "\n",
                {},
                [
                  "slice",
                  [
                    "var",
                    "n"
                  ],
                  0,
                  [
                    "var",
                    "bare"
                  ]
                ],
                {
                  "font-scale": 0.8
                }
              ],
              [
                "var",
                "n"
              ]
            ]
          ]
        ],
        "text-font": [
          "Source Sans 3 SemiBold"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          5,
          14,
          9,
          22
        ],
        "text-line-height": 1.1,
        "text-max-width": 8,
        "text-padding": 3,
        "text-transform": "uppercase",
        "text-letter-spacing": 0.4
      },
      "paint": {
        "text-color": "#6c6256",
        "text-halo-color": "rgba(247, 245, 239, 0.95)",
        "text-halo-width": 2,
        "text-halo-blur": 0.25
      }
    }
  ]
}
