{
  "version": 8,
  "name": "Nautical light theme",
  "sources": {
    "nautical": {
      "type": "vector",
      "url": "http://stagerserver.local/tileproxy/mapsources/skippo/s57.json"
    }
  },
  "sprite": "http://stagerserver.local/tileproxy/mapsources/skippo/sprite/sprite",
  "glyphs": "http://stagerserver.local/map/styles/fonts/{fontstack}/{range}.pbf",
  "layers": [
    {
      "id": "background",
      "type": "background",
      "minzoom": 0,
      "paint": {
        "background-color": "hsl(210, 100%, 100%)"
      }
    },

    {
      "id": "HG_DEPARE",
      "type": "fill",
      "source": "nautical",
      "source-layer": "HG_DEPARE",
      "filter": [
        "all",
        ["has", "SYMBOL"],
        ["==", ["geometry-type"], "Polygon"]
      ],
      "layout": {
        "visibility": "none"
      },
      "paint": {
        "fill-color": [
          "case",
          [">=", ["get", "DRVAL1"], 3],
          "hsl(210, 100%, 100%)",
          [">=", ["get", "DRVAL1"], 1.5],
          "hsl(210, 100%, 80%)",
          "hsl(210, 100%, 68%)"
        ]
      }
    },

    {
      "id": "DEPARE-DK",
      "type": "fill",
      "source": "nautical",
      "source-layer": "DEPARE",
      "filter": [
        "all",
        ["==", ["geometry-type"], "Polygon"],
        ["==", ["get", "COUNTRY_CODE"], "DK"]
      ],
      "minzoom": 2,
      "paint": {
        "fill-color": [
          "case",
          [">=", ["get", "DRVAL1"], 6],
          "hsl(210, 100%, 100%)",
          [">=", ["get", "DRVAL1"], 3],
          "hsl(210, 100%, 93%)",
          [
            "any",
            [">=", ["get", "DRVAL1"], 2],
            ["all", ["==", ["get", "DRVAL1"], 0], [">=", ["get", "DRVAL2"], 3]]
          ],
          "hsl(210, 100%, 80%)",
          [">=", ["get", "DRVAL1"], 0],
          "hsl(210, 100%, 68%)",
          "hsl(120, 40%, 61%)"
        ]
      }
    },

    {
      "id": "DEPARE-SE",
      "type": "fill",
      "source": "nautical",
      "source-layer": "DEPARE",
      "filter": [
        "all",
        ["==", ["geometry-type"], "Polygon"],
        ["==", ["get", "COUNTRY_CODE"], "SE"]
      ],
      "minzoom": 2,
      "paint": {
        "fill-color": [
          "case",
          [">=", ["get", "DRVAL1"], 6],
          "hsl(210, 100%, 100%)",
          [">=", ["get", "DRVAL1"], 3],
          "hsl(210, 100%, 93%)",
          "hsl(210, 100%, 80%)"
        ]
      }
    },

    {
      "id": "DEPARE-FI",
      "type": "fill",
      "source": "nautical",
      "source-layer": "DEPARE",
      "minzoom": 2,
      "filter": [
        "all",
        ["==", ["geometry-type"], "Polygon"],
        ["==", ["get", "COUNTRY_CODE"], "FI"]
      ],
      "paint": {
        "fill-color": [
          "case",
          [">=", ["get", "DRVAL1"], 6],
          "hsl(210, 100%, 100%)",
          [">=", ["get", "DRVAL1"], 3],
          "hsl(210, 100%, 93%)",
          "hsl(210, 100%, 80%)"
        ]
      }
    },

    {
      "id": "DEPARE-NO-outer",
      "type": "fill",
      "source": "nautical",
      "source-layer": "DEPARE",
      "minzoom": 2,
      "maxzoom": 11,
      "filter": [
        "all",
        ["==", ["geometry-type"], "Polygon"],
        ["==", ["get", "COUNTRY_CODE"], "NO"]
      ],
      "paint": {
        "fill-color": [
          "case",
          [">=", ["get", "DRVAL1"], 10],
          "hsl(210, 100%, 100%)",
          [">=", ["get", "DRVAL1"], 5],
          "hsl(210, 100%, 93%)",
          [">=", ["get", "DRVAL1"], 0.5],
          "hsl(210, 100%, 80%)",
          "hsl(210, 100%, 80%)"
        ]
      }
    },
    {
      "id": "DEPARE-NO-inner",
      "type": "fill",
      "source": "nautical",
      "source-layer": "DEPARE",
      "minzoom": 11,
      "filter": [
        "all",
        ["==", ["geometry-type"], "Polygon"],
        ["==", ["get", "COUNTRY_CODE"], "NO"]
      ],
      "paint": {
        "fill-color": [
          "case",
          [">=", ["get", "DRVAL1"], 10],
          "hsl(210, 100%, 100%)",
          [">=", ["get", "DRVAL1"], 5],
          "hsl(210, 100%, 93%)",
          [">=", ["get", "DRVAL1"], 0.5],
          "hsl(210, 100%, 80%)",
          "hsl(120, 40%, 61%)"
        ]
      }
    },

    {
      "id": "LNDARE_POLYGON",
      "type": "fill",
      "source": "nautical",
      "source-layer": "LNDARE_POLYGON",
      "filter": ["==", ["geometry-type"], "Polygon"],
      "minzoom": 2,
      "layout": {},
      "paint": {
        "fill-color": "hsl(60, 100%, 86%)"
      }
    },

    {
      "id": "OBSTRN-Area-Fill",
      "minzoom": 13,
      "type": "fill",
      "source": "nautical",
      "source-layer": "OBSTRN",
      "filter": [
        "all",
        ["match", ["geometry-type"], ["Polygon"], true, false],
        [
          "any",
          ["!", ["has", "CATOBS"]],
          ["match", ["get", "CATOBS"], [2], true, false],
          ["match", ["get", "CATOBS"], [3], true, false],
          ["match", ["get", "CATOBS"], [5], true, false]
        ]
      ],
      "paint": {
        "fill-color": [
          "case",
          ["==", ["get", "COUNTRY_CODE"], "DK"],
          "hsl(210, 100%, 68%)",
          "hsl(210, 100%, 80%)"
        ]
      }
    },

    {
      "id": "WRECKS-Area-Fill",
      "minzoom": 13,
      "type": "fill",
      "source": "nautical",
      "source-layer": "WRECKS",
      "filter": [
        "all",
        ["match", ["geometry-type"], ["Polygon"], true, false],
        [
          "any",
          ["!", ["has", "CATWRK"]],
          ["match", ["get", "CATWRK"], [2], true, false]
        ]
      ],
      "paint": {
        "fill-color": [
          "case",
          ["==", ["get", "COUNTRY_CODE"], "DK"],
          "hsl(210, 100%, 68%)",
          "hsl(210, 100%, 80%)"
        ]
      }
    },

    {
      "id": "BUAARE",
      "type": "fill",
      "source": "nautical",
      "source-layer": "BUAARE",
      "filter": ["==", ["geometry-type"], "Polygon"],
      "minzoom": 2,
      "layout": {},
      "paint": {
        "fill-color": "hsl(60, 50%, 78%)"
      }
    },

    {
      "id": "RIVERS",
      "type": "line",
      "source": "nautical",
      "source-layer": "RIVERS",
      "minzoom": 2,
      "layout": {},
      "paint": {
        "line-width": ["interpolate", ["linear"], ["zoom"], 0, 0, 10, 1, 14, 3],
        "line-color": "hsl(210, 100%, 80%)"
      }
    },

    {
      "id": "LAKARE",
      "type": "fill",
      "source": "nautical",
      "source-layer": "LAKARE",
      "filter": ["==", ["geometry-type"], "Polygon"],
      "minzoom": 2,
      "layout": {},
      "paint": {
        "fill-color": "hsl(210, 100%, 80%)"
      }
    },

    {
      "id": "DEPCNT-DK >= 10m",
      "type": "line",
      "source": "nautical",
      "source-layer": "DEPCNT",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "DK"],
        [">=", ["get", "VALDCO"], 10]
      ],
      "minzoom": 11,
      "layout": {},
      "paint": {
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          0,
          11,
          0.25,
          14,
          0.75
        ],
        "line-color": "hsl(210, 100%, 85%)"
      }
    },

    {
      "id": "DEPCNT-DK < 10m",
      "type": "line",
      "source": "nautical",
      "source-layer": "DEPCNT",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "DK"],
        ["<", ["get", "VALDCO"], 10],
        [">", ["get", "VALDCO"], 0]
      ],
      "minzoom": 11,
      "layout": {},
      "paint": {
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          0,
          11,
          0.25,
          14,
          0.75
        ],
        "line-color": [
          "case",
          ["<", ["get", "VALDCO"], 6],
          "hsl(210, 100%, 80%)",
          "hsl(210, 100%, 85%)"
        ]
      }
    },

    {
      "id": "DEPCNT-SE >= 10m",
      "type": "line",
      "source": "nautical",
      "source-layer": "DEPCNT",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "SE"],
        [">=", ["get", "VALDCO"], 10]
      ],
      "minzoom": 11,
      "layout": {},
      "paint": {
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          0,
          11,
          0.25,
          14,
          0.75
        ],
        "line-color": "hsl(210, 100%, 85%)"
      }
    },

    {
      "id": "DEPCNT-SE < 10m",
      "type": "line",
      "source": "nautical",
      "source-layer": "DEPCNT",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "SE"],
        ["<", ["get", "VALDCO"], 10]
      ],
      "minzoom": 11,
      "layout": {},
      "paint": {
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          0,
          11,
          0.25,
          14,
          0.75
        ],
        "line-color": [
          "case",
          ["<=", ["get", "VALDCO"], 3],
          "hsl(210, 100%, 80%)",
          "hsl(210, 100%, 85%)"
        ]
      }
    },

    {
      "id": "DEPCNT-FI-solid >= 10m",
      "type": "line",
      "source": "nautical",
      "source-layer": "DEPCNT",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "FI"],
        [">=", ["get", "VALDCO"], 10]
      ],
      "minzoom": 11,
      "layout": {},
      "paint": {
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          0,
          11,
          0.25,
          14,
          0.75
        ],
        "line-color": "hsl(210, 100%, 85%)"
      }
    },

    {
      "id": "DEPCNT-FI-solid < 10m",
      "type": "line",
      "source": "nautical",
      "source-layer": "DEPCNT",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "FI"],
        [">", ["get", "VALDCO"], 6],
        ["<", ["get", "VALDCO"], 10]
      ],
      "minzoom": 11,
      "layout": {},
      "paint": {
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          0,
          11,
          0.25,
          14,
          0.75
        ],
        "line-color": "hsl(210, 100%, 85%)"
      }
    },

    {
      "id": "DEPCNT-FI-dashed-6m",
      "type": "line",
      "source": "nautical",
      "source-layer": "DEPCNT",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "FI"],
        [">", ["get", "VALDCO"], 3],
        ["<=", ["get", "VALDCO"], 6]
      ],
      "minzoom": 11,
      "layout": {},
      "paint": {
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          0,
          11,
          0.25,
          14,
          0.75
        ],
        "line-color": "hsl(210, 100%, 55%)",
        "line-dasharray": [3, 3]
      }
    },

    {
      "id": "DEPCNT-FI-dashed-3m",
      "type": "line",
      "source": "nautical",
      "source-layer": "DEPCNT",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "FI"],
        ["<=", ["get", "VALDCO"], 3]
      ],
      "minzoom": 11,
      "layout": {},
      "paint": {
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          0,
          11,
          0.25,
          14,
          0.75
        ],
        "line-color": "hsl(210, 100%, 60%)",
        "line-dasharray": [2, 2]
      }
    },

    {
      "id": "DEPCNT-NO >= 10m",
      "type": "line",
      "source": "nautical",
      "source-layer": "DEPCNT",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "NO"],
        [">=", ["get", "VALDCO"], 10]
      ],
      "minzoom": 11,
      "layout": {},
      "paint": {
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          0,
          11,
          0.25,
          14,
          0.75
        ],
        "line-color": [
          "case",
          ["==", ["get", "VALDCO"], 10],
          "hsl(210, 100%, 80%)",
          "hsl(210, 100%, 85%)"
        ]
      }
    },

    {
      "id": "DEPCNT-NO < 10m",
      "type": "line",
      "source": "nautical",
      "source-layer": "DEPCNT",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "NO"],
        ["<", ["get", "VALDCO"], 10]
      ],
      "minzoom": 11,
      "layout": {},
      "paint": {
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          0,
          11,
          0.25,
          14,
          0.75
        ],
        "line-color": [
          "case",
          ["<=", ["get", "VALDCO"], 0.5],
          "hsl(210, 100%, 80%)",
          ["<=", ["get", "VALDCO"], 3],
          "hsl(210, 100%, 66%)",
          "hsl(210, 100%, 80%)"
        ]
      }
    },

    {
      "id": "HG_DEPCNT >= 10m",
      "type": "line",
      "source": "nautical",
      "source-layer": "HG_DEPCNT",
      "filter": [">=", ["get", "VALDCO"], 10],
      "minzoom": 11,
      "layout": {
        "visibility": "none"
      },
      "paint": {
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          0,
          11,
          0.25,
          14,
          0.75
        ],
        "line-color": "hsl(210, 100%, 85%)"
      }
    },

    {
      "id": "HG_DEPCNT 2-10m",
      "type": "line",
      "source": "nautical",
      "source-layer": "HG_DEPCNT",
      "filter": [
        "all",
        ["<", ["get", "VALDCO"], 10],
        [">", ["get", "VALDCO"], 2]
      ],
      "minzoom": 11,
      "layout": {
        "visibility": "none"
      },
      "paint": {
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          0,
          11,
          0.25,
          14,
          0.75
        ],
        "line-color": "hsl(210, 100%, 85%)"
      }
    },

    {
      "id": "HG_DEPCNT <= 2m",
      "type": "line",
      "source": "nautical",
      "source-layer": "HG_DEPCNT",
      "filter": ["<=", ["get", "VALDCO"], 2],
      "minzoom": 11,
      "layout": {
        "visibility": "none"
      },
      "paint": {
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          0,
          11,
          0.25,
          14,
          0.75
        ],
        "line-color": "hsl(336, 90%, 65%)"
      }
    },

    {
      "id": "DRGARE_LINE",
      "type": "line",
      "source": "nautical",
      "source-layer": "DRGARE_LINE",
      "minzoom": 13,
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": "hsl(0, 0%, 75%)",
        "line-dasharray": [3, 3]
      }
    },

    {
      "id": "SWPARE_LINE",
      "type": "line",
      "source": "nautical",
      "source-layer": "SWPARE_LINE",
      "minzoom": 13,
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": "hsl(336, 91%, 65%)",
        "line-dasharray": [3, 3]
      }
    },

    {
      "id": "LNDELV_LINE",
      "type": "line",
      "source": "nautical",
      "source-layer": "LNDELV_LINE",
      "minzoom": 13,
      "layout": {},
      "paint": {
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          0,
          13,
          0.5,
          14,
          0.75
        ],
        "line-color": "hsla(60, 100%, 25%, 15%)"
      }
    },

    {
      "id": "FLODOC-Area-bg",
      "type": "fill",
      "source": "nautical",
      "source-layer": "FLODOC",
      "filter": ["==", ["geometry-type"], "Polygon"],
      "minzoom": 2,
      "layout": {},
      "paint": {
        "fill-color": "hsl(60, 100%, 86%)"
      }
    },

    {
      "id": "FLODOC-Line",
      "type": "line",
      "source": "nautical",
      "source-layer": "FLODOC",
      "minzoom": 2,
      "layout": {},
      "paint": {
        "line-width": ["interpolate", ["linear"], ["zoom"], 0, 1, 13, 1, 15, 2],
        "line-color": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          "hsl(60, 1%, 50%)",
          15,
          "hsl(60, 1%, 50%)",
          16,
          "hsl(60, 1%, 10%)"
        ]
      }
    },

    {
      "id": "DRYDOC",
      "type": "fill",
      "source": "nautical",
      "source-layer": "DRYDOC",
      "filter": ["==", ["geometry-type"], "Polygon"],
      "minzoom": 2,
      "layout": {},
      "paint": {
        "fill-color": "hsl(60, 100%, 95%)",
        "fill-outline-color": "hsl(60, 35%, 50%)"
      }
    },

    {
      "id": "UNSARE-bg",
      "type": "fill",
      "source": "nautical",
      "source-layer": "UNSARE",
      "filter": ["==", ["geometry-type"], "Polygon"],
      "minzoom": 2,
      "layout": {},
      "paint": {
        "fill-color": "hsl(210, 100%, 100%)"
      }
    },
    {
      "id": "UNSARE",
      "type": "fill",
      "source": "nautical",
      "source-layer": "UNSARE",
      "filter": ["==", ["geometry-type"], "Polygon"],
      "minzoom": 2,
      "layout": {},
      "paint": {
        "fill-pattern": "Unsurveyed_area"
      }
    },

    {
      "id": "VEGATN-Area",
      "type": "fill",
      "source": "nautical",
      "source-layer": "VEGATN",
      "filter": ["match", ["geometry-type"], ["Polygon"], true, false],
      "minzoom": 13,
      "layout": {},
      "paint": {
        "fill-pattern": [
          "case",
          ["==", ["get", "CATVEG"], "[4]"],
          "C31_1_Deciduous_woods",
          ["==", ["get", "CATVEG"], "[6]"],
          "C30_Woods_in_general",
          ["==", ["get", "CATVEG"], "[11]"],
          "Reed",
          ["==", ["get", "CATVEG"], "[15]"],
          "C31_3_Coniferous_woods",
          "Reed"
        ]
      }
    },

    {
      "id": "COALNE",
      "type": "line",
      "source": "nautical",
      "source-layer": "COALNE",
      "minzoom": 11,
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": [
          "interpolate",
          ["linear"],
          ["zoom"],
          11,
          "hsla(60, 35%, 56%, 0%)",
          12,
          "hsla(60, 35%, 56%, 100%)"
        ]
      }
    },

    {
      "id": "RUNWAY_LINE",
      "minzoom": 10,
      "type": "line",
      "source": "nautical",
      "source-layer": "RUNWAY_LINE",
      "layout": {},
      "paint": {
        "line-color": "hsl(60, 15%, 70%)"
      }
    },

    {
      "id": "AIRARE_LINE",
      "minzoom": 10,
      "type": "line",
      "source": "nautical",
      "source-layer": "AIRARE_LINE",
      "layout": {},
      "paint": {
        "line-color": "hsl(60, 15%, 70%)"
      }
    },

    {
      "id": "RAILWY",
      "type": "line",
      "source": "nautical",
      "source-layer": "RAILWY",
      "minzoom": 2,
      "layout": {},
      "paint": {
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          0,
          12,
          0.5,
          14,
          1
        ],
        "line-color": "hsl(60, 15%, 70%)"
      }
    },

    {
      "id": "TUNNEL",
      "type": "line",
      "source": "nautical",
      "source-layer": "TUNNEL",
      "minzoom": 2,
      "layout": {},
      "paint": {
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          0,
          12,
          0.5,
          14,
          1
        ],
        "line-color": "hsl(60, 15%, 70%)",
        "line-dasharray": [3, 3]
      }
    },

    {
      "id": "ROADWY small dashed",
      "type": "line",
      "source": "nautical",
      "source-layer": "ROADWY",
      "minzoom": 7,
      "filter": [
        "all",
        ["match", ["geometry-type"], ["LineString"], true, false],
        ["==", ["get", "CATROD"], 4]
      ],
      "layout": {
        "line-cap": "butt"
      },
      "paint": {
        "line-width": 1,
        "line-color": "hsl(60, 35%, 70%)",
        "line-dasharray": [3, 3]
      }
    },

    {
      "id": "ROADWY area bg",
      "type": "line",
      "source": "nautical",
      "source-layer": "ROADWY",
      "filter": ["match", ["geometry-type"], ["Polygon"], true, false],
      "minzoom": 2,
      "layout": {},
      "paint": {
        "line-width": 2,
        "line-color": "hsl(60, 35%, 75%)"
      }
    },
    {
      "id": "ROADWY area fill",
      "type": "fill",
      "source": "nautical",
      "source-layer": "ROADWY",
      "filter": ["match", ["geometry-type"], ["Polygon"], true, false],
      "minzoom": 2,
      "layout": {},
      "paint": {
        "fill-color": "hsl(60, 100%, 86%)"
      }
    },

    {
      "id": "ROADWY line smaller bg",
      "type": "line",
      "source": "nautical",
      "source-layer": "ROADWY",
      "filter": [
        "all",
        ["match", ["geometry-type"], ["LineString"], true, false],
        ["any", ["==", ["get", "CATROD"], 3], ["!", ["has", "CATROD"]]]
      ],
      "minzoom": 2,
      "layout": {
        "line-cap": "butt"
      },
      "paint": {
        "line-width": ["interpolate", ["linear"], ["zoom"], 0, 0, 12, 3, 20, 6],
        "line-color": "hsl(60, 35%, 75%)"
      }
    },
    {
      "id": "ROADWY line bigger bg",
      "type": "line",
      "source": "nautical",
      "source-layer": "ROADWY",
      "minzoom": 2,
      "filter": [
        "all",
        ["match", ["geometry-type"], ["LineString"], true, false],
        ["match", ["get", "CATROD"], [1, 2], true, false]
      ],
      "layout": {
        "line-cap": "butt"
      },
      "paint": {
        "line-width": ["interpolate", ["linear"], ["zoom"], 0, 0, 12, 4, 20, 8],
        "line-color": "hsl(60, 35%, 75%)"
      }
    },

    {
      "id": "ROADWY line smaller fill",
      "type": "line",
      "source": "nautical",
      "source-layer": "ROADWY",
      "minzoom": 2,
      "filter": [
        "all",
        ["match", ["geometry-type"], ["LineString"], true, false],
        ["any", ["==", ["get", "CATROD"], 3], ["!", ["has", "CATROD"]]]
      ],
      "layout": {
        "line-cap": "square"
      },
      "paint": {
        "line-width": ["interpolate", ["linear"], ["zoom"], 0, 0, 12, 1, 20, 4],
        "line-color": "hsl(60, 100%, 86%)"
      }
    },
    {
      "id": "ROADWY line bigger fill",
      "type": "line",
      "source": "nautical",
      "source-layer": "ROADWY",
      "minzoom": 2,
      "filter": [
        "all",
        ["match", ["geometry-type"], ["LineString"], true, false],
        ["match", ["get", "CATROD"], [1, 2], true, false]
      ],
      "layout": {
        "line-cap": "square"
      },
      "paint": {
        "line-width": ["interpolate", ["linear"], ["zoom"], 0, 0, 12, 2, 20, 6],
        "line-color": "hsl(60, 100%, 86%)"
      }
    },

    {
      "id": "BUISGL-area",
      "type": "fill",
      "source": "nautical",
      "source-layer": "BUISGL",
      "filter": ["==", ["geometry-type"], "Polygon"],
      "minzoom": 2,
      "layout": {},
      "paint": {
        "fill-color": "hsl(60, 1%, 62%)"
      }
    },

    {
      "id": "SILTNK-area",
      "minzoom": 13,
      "type": "fill",
      "source": "nautical",
      "source-layer": "SILTNK",
      "filter": ["match", ["geometry-type"], ["Polygon"], true, false],
      "layout": {},
      "paint": {
        "fill-color": "hsl(60, 1%, 62%)"
      }
    },
    {
      "id": "SILTNK-point-circle",
      "minzoom": 13,
      "type": "circle",
      "source": "nautical",
      "source-layer": "SILTNK",
      "filter": [
        "all",
        ["match", ["geometry-type"], ["Point"], true, false],
        ["match", ["get", "CATSIL"], [4], false, true]
      ],
      "layout": {},
      "paint": {
        "circle-radius": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          0,
          13,
          ["match", ["get", "CATSIL"], [2], 2.5, 2],
          16,
          ["match", ["get", "CATSIL"], [2], 10, 7]
        ],
        "circle-color": "hsl(60, 1%, 62%)"
      }
    },

    {
      "id": "HULKES_AREA bg",
      "type": "fill",
      "source": "nautical",
      "source-layer": "HULKES_AREA",
      "filter": ["==", ["geometry-type"], "Polygon"],
      "minzoom": 10,
      "layout": {},
      "paint": {
        "fill-color": "hsl(60, 100%, 86%)"
      }
    },

    {
      "id": "HULKES_AREA outline",
      "type": "line",
      "source": "nautical",
      "source-layer": "HULKES_AREA",
      "filter": ["==", ["geometry-type"], "Polygon"],
      "minzoom": 10,
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": "hsl(60, 35%, 56%)"
      }
    },

    {
      "id": "PONTON-area-fill",
      "minzoom": 12,
      "type": "fill",
      "source": "nautical",
      "source-layer": "PONTON",
      "filter": ["match", ["geometry-type"], ["Polygon"], true, false],
      "layout": {},
      "paint": {
        "fill-color": "hsl(60, 100%, 86%)"
      }
    },

    {
      "id": "PONTON-area-line",
      "minzoom": 12,
      "type": "line",
      "source": "nautical",
      "source-layer": "PONTON",
      "filter": ["match", ["geometry-type"], ["Polygon"], true, false],
      "layout": {},
      "paint": {
        "line-width": ["interpolate", ["linear"], ["zoom"], 0, 1, 13, 1, 15, 2],
        "line-color": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          "hsl(60, 1%, 50%)",
          15,
          "hsl(60, 1%, 50%)",
          16,
          "hsl(60, 1%, 10%)"
        ]
      }
    },

    {
      "id": "PONTON-line",
      "minzoom": 12,
      "type": "line",
      "source": "nautical",
      "source-layer": "PONTON",
      "filter": ["match", ["geometry-type"], ["LineString"], true, false],
      "layout": {},
      "paint": {
        "line-width": ["interpolate", ["linear"], ["zoom"], 0, 1, 13, 1, 15, 2],
        "line-color": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          "hsl(60, 1%, 50%)",
          15,
          "hsl(60, 1%, 50%)",
          16,
          "hsl(60, 1%, 10%)"
        ]
      }
    },

    {
      "id": "BRIDGE-area-bg",
      "type": "line",
      "source": "nautical",
      "source-layer": "BRIDGE",
      "filter": ["match", ["geometry-type"], ["Polygon"], true, false],
      "minzoom": 2,
      "layout": {},
      "paint": {
        "line-width": 2,
        "line-color": "hsl(60, 35%, 56%)"
      }
    },
    {
      "id": "BRIDGE-area-fill",
      "type": "fill",
      "source": "nautical",
      "source-layer": "BRIDGE",
      "filter": ["match", ["geometry-type"], ["Polygon"], true, false],
      "minzoom": 2,
      "layout": {},
      "paint": {
        "fill-color": "hsl(60, 100%, 86%)"
      }
    },

    {
      "id": "BRIDGE-line-outline",
      "type": "line",
      "source": "nautical",
      "source-layer": "BRIDGE",
      "filter": ["match", ["geometry-type"], ["LineString"], true, false],
      "minzoom": 2,
      "layout": {
        "line-cap": "butt"
      },
      "paint": {
        "line-width": ["interpolate", ["linear"], ["zoom"], 5, 4, 13, 7],
        "line-color": "hsl(60, 35%, 56%)"
      }
    },
    {
      "id": "BRIDGE-line-fill",
      "type": "line",
      "source": "nautical",
      "source-layer": "BRIDGE",
      "filter": ["match", ["geometry-type"], ["LineString"], true, false],
      "minzoom": 2,
      "layout": {
        "line-cap": "square"
      },
      "paint": {
        "line-width": ["interpolate", ["linear"], ["zoom"], 5, 2, 13, 5],
        "line-color": "hsl(60, 100%, 86%)"
      }
    },

    {
      "id": "DAMCON_line",
      "type": "line",
      "source": "nautical",
      "source-layer": "DAMCON",
      "filter": ["match", ["geometry-type"], ["LineString"], true, false],
      "minzoom": 12,
      "layout": {},
      "paint": {
        "line-width": ["interpolate", ["linear"], ["zoom"], 12, 2, 15, 5],
        "line-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "SMCFAC-line-both-sides",
      "minzoom": 15,
      "type": "line",
      "source": "nautical",
      "source-layer": "SMCFAC",
      "filter": [
        "all",
        ["==", ["geometry-type"], "LineString"],
        ["match", ["get", "SYMBOL"], ["141.006", "141.008"], true, false]
      ],
      "layout": {},
      "paint": {
        "line-color": [
          "match",
          ["get", "CATSCF"],
          1,
          "hsl(360, 100%, 65%)",
          "hsl(240, 60%, 54%)"
        ],
        "line-width": ["interpolate", ["linear"], ["zoom"], 13, 3, 18, 13]
      }
    },

    {
      "id": "SMCFAC-line-one-side",
      "minzoom": 15,
      "type": "line",
      "source": "nautical",
      "source-layer": "SMCFAC",
      "filter": [
        "all",
        ["==", ["geometry-type"], "LineString"],
        ["match", ["get", "SYMBOL"], ["141.005", "141.007"], true, false]
      ],
      "layout": {},
      "paint": {
        "line-color": [
          "match",
          ["get", "CATSCF"],
          1,
          "hsl(360, 100%, 65%)",
          "hsl(240, 60%, 54%)"
        ],
        "line-width": ["interpolate", ["linear"], ["zoom"], 13, 2, 18, 5],
        "line-offset": ["interpolate", ["linear"], ["zoom"], 13, -1.5, 18, -4]
      }
    },

    {
      "id": "SMCFAC-line",
      "minzoom": 15,
      "type": "line",
      "source": "nautical",
      "source-layer": "SMCFAC",
      "filter": [
        "all",
        ["==", ["geometry-type"], "LineString"],
        [
          "match",
          ["get", "SYMBOL"],
          ["141.005", "141.006", "141.007", "141.008"],
          false,
          true
        ]
      ],
      "layout": {},
      "paint": {
        "line-color": [
          "match",
          ["get", "CATSCF"],
          1,
          "hsl(360, 100%, 65%)",
          "hsl(240, 60%, 54%)"
        ],
        "line-width": ["interpolate", ["linear"], ["zoom"], 13, 2, 18, 8]
      }
    },

    {
      "id": "SMCFAC-line-COALNE",
      "minzoom": 15,
      "type": "line",
      "source": "nautical",
      "source-layer": "SMCFAC",
      "filter": [
        "all",
        ["==", ["geometry-type"], "LineString"],
        [
          "match",
          ["get", "SYMBOL"],
          ["141.005", "141.006", "141.007", "141.008"],
          false,
          true
        ]
      ],
      "layout": {
        "visibility": "none"
      },
      "paint": {
        "line-color": "hsl(60, 35%, 56%)",
        "line-width": 1
      }
    },

    {
      "id": "SLCONS-area-fill",
      "minzoom": 10,
      "type": "fill",
      "source": "nautical",
      "source-layer": "SLCONS",
      "filter": ["match", ["geometry-type"], ["Polygon"], true, false],
      "layout": {},
      "paint": {
        "fill-color": "hsl(60, 100%, 86%)"
      }
    },

    {
      "id": "SLCONS-area-line",
      "minzoom": 10,
      "type": "line",
      "source": "nautical",
      "source-layer": "SLCONS",
      "filter": ["match", ["geometry-type"], ["Polygon"], true, false],
      "layout": {},
      "paint": {
        "line-width": ["interpolate", ["linear"], ["zoom"], 0, 1, 13, 1, 15, 2],
        "line-color": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          "hsl(60, 1%, 50%)",
          15,
          "hsl(60, 1%, 50%)",
          16,
          "hsl(60, 1%, 10%)"
        ]
      }
    },

    {
      "id": "SLCONS-dashed",
      "minzoom": 12,
      "type": "line",
      "source": "nautical",
      "source-layer": "SLCONS",
      "filter": [
        "all",
        ["match", ["geometry-type"], ["LineString"], true, false],
        ["match", ["get", "CATSLC"], [12, 13], true, false]
      ],
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": "hsl(60, 1%, 50%)",
        "line-dasharray": [3, 3]
      }
    },
    {
      "id": "SLCONS-lines-big",
      "minzoom": 10,
      "type": "line",
      "source": "nautical",
      "source-layer": "SLCONS",
      "layout": {},
      "filter": [
        "all",
        ["match", ["geometry-type"], ["LineString"], true, false],
        ["match", ["get", "CATSLC"], [6], true, false]
      ],
      "paint": {
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          1,
          13,
          1,
          15,
          ["case", ["==", ["get", "COUNTRY_CODE"], "NO"], 2, 3],
          18,
          ["case", ["==", ["get", "COUNTRY_CODE"], "NO"], 4, 5]
        ],
        "line-color": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          "hsl(60, 1%, 50%)",
          15,
          "hsl(60, 1%, 50%)",
          16,
          "hsl(60, 1%, 10%)"
        ]
      }
    },
    {
      "id": "SLCONS-lines-small",
      "minzoom": 12,
      "type": "line",
      "source": "nautical",
      "source-layer": "SLCONS",
      "layout": {},
      "filter": [
        "all",
        ["match", ["geometry-type"], ["LineString"], true, false],
        ["match", ["get", "CATSLC"], [6, 12, 13], false, true],
        ["!=", ["get", "NATCON"], "[3]"]
      ],
      "paint": {
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          1,
          13,
          1,
          15,
          ["match", ["get", "COUNTRY_CODE"], ["NO", "DK"], 1, 2],
          18,
          ["match", ["get", "COUNTRY_CODE"], ["NO", "DK"], 2, 4]
        ],
        "line-color": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          "hsl(60, 1%, 50%)",
          15,
          "hsl(60, 1%, 50%)",
          16,
          "hsl(60, 1%, 10%)"
        ]
      }
    },
    {
      "id": "SLCONS-lines-boulders",
      "minzoom": 13,
      "type": "line",
      "source": "nautical",
      "source-layer": "SLCONS",
      "layout": {},
      "filter": [
        "all",
        ["match", ["geometry-type"], ["LineString"], true, false],
        ["match", ["get", "CATSLC"], [6, 12, 13], false, true],
        ["==", ["get", "NATCON"], "[3]"]
      ],
      "paint": {
        "line-pattern": "F4_2_Loose_boulders",
        "line-width": ["interpolate", ["linear"], ["zoom"], 0, 6, 14, 6, 15, 10]
      }
    },

    {
      "id": "HG_CHART_BBOX",
      "type": "line",
      "source": "nautical",
      "source-layer": "HG_BOUNDS",
      "minzoom": 4,
      "maxzoom": 8,
      "filter": ["==", ["get", "TYPE"], "CHART_BBOX"],
      "layout": {
        "visibility": "none"
      },
      "paint": {
        "line-width": 2,
        "line-color": "hsl(336, 90%, 65%)",
        "line-opacity": 0.5
      }
    },

    {
      "id": "HG_CHART_BOUNDS",
      "type": "line",
      "source": "nautical",
      "source-layer": "HG_BOUNDS",
      "minzoom": 8,
      "filter": ["==", ["get", "TYPE"], "CHART_BOUNDS"],
      "layout": {
        "visibility": "none"
      },
      "paint": {
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          2,
          14,
          3,
          15,
          10
        ],
        "line-offset": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          -1,
          14,
          -1.5,
          15,
          -5
        ],
        "line-color": "hsl(336, 90%, 65%)",
        "line-opacity": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          0.5,
          14,
          0.5,
          15,
          0.3
        ]
      }
    },

    {
      "id": "HG_CHARTLET_BOUNDS",
      "type": "line",
      "source": "nautical",
      "source-layer": "HG_BOUNDS",
      "minzoom": 10,
      "filter": ["==", ["get", "TYPE"], "CHARTLET_BOUNDS"],
      "layout": {
        "visibility": "none"
      },
      "paint": {
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          2,
          14,
          3,
          15,
          10
        ],
        "line-offset": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          -1,
          14,
          -1.5,
          15,
          -5
        ],
        "line-color": "hsl(120, 100%, 30%)",
        "line-opacity": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          0.5,
          14,
          0.5,
          15,
          0.2
        ]
      }
    },

    {
      "id": "VEGATN-Point",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "VEGATN",
      "filter": ["match", ["geometry-type"], ["Point"], true, false],
      "minzoom": 13,
      "layout": {
        "icon-image": [
          "case",
          ["==", ["get", "CATVEG"], "[13]"],
          "C31_Tree_in_general",
          "NO_SYMBOL"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      },
      "paint": {}
    },

    {
      "id": "CTRPNT",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "CTRPNT",
      "filter": ["==", ["get", "CATCTR"], 1],
      "minzoom": 13,
      "layout": {
        "icon-image": "B20_Triangulation_point",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      },
      "paint": {}
    },

    {
      "id": "OILBAR_line",
      "minzoom": 12,
      "type": "line",
      "source": "nautical",
      "source-layer": "OILBAR",
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": "hsl(60, 1%, 50%)",
        "line-dasharray": [3, 3]
      }
    },

    {
      "id": "GATCON",
      "minzoom": 12,
      "type": "line",
      "source": "nautical",
      "source-layer": "GATCON",
      "layout": {},
      "paint": {
        "line-width": ["interpolate", ["linear"], ["zoom"], 0, 1, 13, 2],
        "line-color": "hsl(60, 1%, 50%)"
      }
    },

    {
      "id": "TSELNE",
      "minzoom": 2,
      "type": "line",
      "source": "nautical",
      "source-layer": "TSELNE",
      "layout": {},
      "paint": {
        "line-width": ["interpolate", ["linear"], ["zoom"], 10, 5, 14, 15],
        "line-color": "hsla(336, 91%, 65%, 25%)"
      }
    },

    {
      "id": "TSEZNE",
      "minzoom": 2,
      "type": "fill",
      "source": "nautical",
      "source-layer": "TSEZNE",
      "filter": ["==", ["geometry-type"], "Polygon"],
      "layout": {},
      "paint": {
        "fill-color": "hsla(336, 91%, 65%, 25%)"
      }
    },

    {
      "id": "LNDMRK-area",
      "minzoom": 12,
      "type": "fill",
      "source": "nautical",
      "source-layer": "LNDMRK",
      "filter": [
        "all",
        ["==", ["geometry-type"], "Polygon"],
        ["match", ["get", "CATLMK"], "[2]", true, false]
      ],
      "layout": {},
      "paint": {
        "fill-pattern": "E19_Cemetery"
      }
    },

    {
      "id": "TSSBND",
      "minzoom": 2,
      "type": "line",
      "source": "nautical",
      "source-layer": "TSSBND",
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": "hsl(336, 91%, 65%)",
        "line-dasharray": [3, 3]
      }
    },

    {
      "id": "WRECKS-HG-Symbol",
      "filter": ["has", "SYMBOL"],
      "minzoom": 13,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "WRECKS",
      "layout": {
        "icon-image": "K28_1_Wreck_dangerous",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      }
    },

    {
      "id": "WRECKS-DK-Symbol",
      "filter": ["==", ["get", "COUNTRY_CODE"], "DK"],
      "minzoom": 13,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "WRECKS",
      "layout": {
        "icon-image": [
          "case",
          ["has", "CATWRK"],
          [
            "match",
            ["get", "CATWRK"],
            [1],
            "K29_Wreck_notdangerous",
            [2],
            "K28_1_Wreck_dangerous",
            [3],
            "K31_Foul_ground",
            [4],
            "K28_1_Wreck_dangerous",
            [5],
            "K24_Wreck_showing_hull",
            [
              "case",
              ["all", ["has", "VALSOU"], [">=", ["get", "VALSOU"], 6]],
              "K29_Wreck_notdangerous",
              "K28_1_Wreck_dangerous"
            ]
          ],
          [
            "case",
            ["all", ["has", "VALSOU"], [">=", ["get", "VALSOU"], 6]],
            "K29_Wreck_notdangerous",
            "K28_1_Wreck_dangerous"
          ]
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      }
    },

    {
      "id": "WRECKS-FI-NO-SE-Symbol",
      "filter": [
        "any",
        ["==", ["get", "COUNTRY_CODE"], "FI"],
        ["==", ["get", "COUNTRY_CODE"], "NO"],
        ["==", ["get", "COUNTRY_CODE"], "SE"]
      ],
      "minzoom": 13,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "WRECKS",
      "layout": {
        "icon-image": [
          "case",
          ["has", "CATWRK"],
          [
            "match",
            ["get", "CATWRK"],
            [1],
            "K29_Wreck_notdangerous",
            [2],
            "K28_Wreck_dangerous",
            [3],
            "K31_Foul_ground",
            [4],
            "K28_Wreck_dangerous",
            [5],
            "K24_Wreck_showing_hull",
            [
              "case",
              ["all", ["has", "VALSOU"], [">=", ["get", "VALSOU"], 6]],
              "K29_Wreck_notdangerous",
              "K28_Wreck_dangerous"
            ]
          ],
          [
            "case",
            ["all", ["has", "VALSOU"], [">=", ["get", "VALSOU"], 6]],
            "K29_Wreck_notdangerous",
            "K28_Wreck_dangerous"
          ]
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      }
    },

    {
      "id": "OBSTRN-Point-Symbol",
      "minzoom": 13,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "OBSTRN",
      "filter": [
        "all",
        ["==", ["geometry-type"], "Point"],
        [">=", ["zoom"], ["match", ["get", "PRIO"], 1, 13, 14]]
      ],
      "layout": {
        "icon-image": [
          "match",
          ["get", "CATOBS"],
          [1],
          "K43_1_Submerged_stump",
          [2],
          [
            "case",
            ["has", "VALSOU"],
            [
              "case",
              [">", ["get", "VALSOU"], 6],
              "K41_Obstruction",
              [
                "case",
                ["==", ["get", "COUNTRY_CODE"], "DK"],
                "K40_1_Obstruction",
                "K40_Obstruction"
              ]
            ],
            "K40_Obstruction"
          ],
          [5],
          [
            "case",
            ["==", ["get", "COUNTRY_CODE"], "DK"],
            "K46_1_Fish_haven",
            "K46_Fish_haven"
          ],
          [7],
          "K31_Foul_ground",
          [
            "case",
            ["has", "VALSOU"],
            [
              "case",
              [">", ["get", "VALSOU"], 6],
              "K41_Obstruction",
              [
                "case",
                ["==", ["get", "COUNTRY_CODE"], "DK"],
                "K40_1_Obstruction",
                "K40_Obstruction"
              ]
            ],
            [
              "case",
              ["==", ["get", "COUNTRY_CODE"], "DK"],
              "K40_1_Obstruction",
              "K40_Obstruction"
            ]
          ]
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,
        "icon-anchor": "center"
      }
    },

    {
      "id": "TWRTPT_LINE",
      "minzoom": 2,
      "type": "line",
      "source": "nautical",
      "source-layer": "TWRTPT_LINE",
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": "hsl(336, 91%, 65%)",
        "line-dasharray": [3, 3]
      }
    },
    {
      "id": "DWRTPT_LINE",
      "minzoom": 2,
      "type": "line",
      "source": "nautical",
      "source-layer": "DWRTPT_LINE",
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": "hsl(336, 91%, 65%)",
        "line-dasharray": [3, 3]
      }
    },
    {
      "id": "PRCARE_LINE",
      "minzoom": 10,
      "type": "line",
      "source": "nautical",
      "source-layer": "PRCARE_LINE",
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": "hsl(336, 91%, 65%)",
        "line-dasharray": [3, 3]
      }
    },

    {
      "id": "NAVLNE",
      "minzoom": 2,
      "type": "line",
      "source": "nautical",
      "source-layer": "NAVLNE",
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": "hsl(60, 1%, 50%)",
        "line-dasharray": [3, 3]
      }
    },
    {
      "id": "RECTRC-dashed",
      "minzoom": 9,
      "type": "line",
      "source": "nautical",
      "source-layer": "RECTRC",
      "filter": ["match", ["get", "CATTRK"], [2], true, false],
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": "hsl(60, 1%, 50%)",
        "line-dasharray": [3, 3]
      }
    },
    {
      "id": "RECTRC-solid",
      "minzoom": 9,
      "type": "line",
      "source": "nautical",
      "source-layer": "RECTRC",
      "filter": ["match", ["get", "CATTRK"], [2], false, true],
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": "hsl(60, 1%, 50%)"
      }
    },
    {
      "id": "RCRTCL-dashed",
      "minzoom": 9,
      "type": "line",
      "source": "nautical",
      "source-layer": "RCRTCL",
      "filter": ["match", ["get", "CATTRK"], [2], true, false],
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": "hsl(336, 91%, 65%)",
        "line-dasharray": [3, 3]
      }
    },
    {
      "id": "RCRTCL-solid",
      "minzoom": 9,
      "type": "line",
      "source": "nautical",
      "source-layer": "RCRTCL",
      "filter": ["match", ["get", "CATTRK"], [2], false, true],
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": "hsl(336, 91%, 65%)"
      }
    },

    {
      "id": "LIGHT_SECTORS-sector",
      "minzoom": 12,
      "type": "line",
      "source": "nautical",
      "source-layer": "LIGHT_SECTORS",
      "filter": [
        "all",
        ["match", ["get", "TYPE"], ["sector"], true, false],
        [">=", ["zoom"], ["match", ["get", "COUNTRY_CODE"], "FI", 10, 9]]
      ],
      "layout": {},
      "paint": {
        "line-color": [
          "match",
          ["get", "COLOUR"],
          ["[1]", "[6]"],
          "hsl(60, 100%, 48%)",
          ["[3]"],
          "hsl(360, 100%, 50%)",
          ["[4]"],
          "hsl(120, 100%, 30%)",
          "hsla(0, 0, 0, 0)"
        ],
        "line-width": ["interpolate", ["linear"], ["zoom"], 13, 2, 17, 4]
      }
    },

    {
      "id": "LIGHT_SECTORS-ray",
      "minzoom": 12,
      "type": "line",
      "source": "nautical",
      "source-layer": "LIGHT_SECTORS",
      "filter": [
        "all",
        ["match", ["get", "TYPE"], ["ray"], true, false],
        [">=", ["zoom"], ["match", ["get", "COUNTRY_CODE"], "FI", 10, 9]]
      ],
      "layout": {},
      "paint": {
        "line-color": "hsla(0, 0%, 0%, 10%)",
        "line-width": 1
      }
    },

    {
      "id": "DMPGRD_LINE_dashed",
      "minzoom": 10,
      "type": "line",
      "source": "nautical",
      "source-layer": "DMPGRD_LINE",
      "filter": ["==", ["get", "CATDPG"], "[5]"],
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": "hsl(0, 0%, 25%)",
        "line-dasharray": [3, 3]
      }
    },
    {
      "id": "DMPGRD_LINE_pattern",
      "minzoom": 10,
      "type": "line",
      "source": "nautical",
      "source-layer": "DMPGRD_LINE",
      "filter": ["!=", ["get", "CATDPG"], "[5]"],
      "layout": {},
      "paint": {
        "line-pattern": "N2_1_RestrictedArea",
        "line-width": 10
      }
    },

    {
      "id": "LOGPON_line",
      "minzoom": 10,
      "type": "line",
      "source": "nautical",
      "source-layer": "LOGPON",
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": "hsl(0, 0%, 25%)",
        "line-dasharray": [3, 3]
      }
    },

    {
      "id": "RESARE_LINE_info",
      "minzoom": 10,
      "type": "line",
      "source": "nautical",
      "source-layer": "RESARE_LINE",
      "filter": ["==", ["get", "RENDER_GROUP"], "INFO"],
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": "hsl(0, 0%, 25%)",
        "line-dasharray": [3, 3]
      }
    },

    {
      "id": "RESARE_LINE_green",
      "minzoom": 10,
      "type": "line",
      "source": "nautical",
      "source-layer": "RESARE_LINE",
      "filter": [
        "match",
        ["get", "CATREA"],
        ["[4]", "[5]", "[7]", "[5,7]", "[4,5]"],
        true,
        false
      ],
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": "hsl(120, 100%, 30%)",
        "line-dasharray": [3, 3]
      }
    },

    {
      "id": "RESARE_LINE_red",
      "minzoom": 10,
      "type": "line",
      "source": "nautical",
      "source-layer": "RESARE_LINE",
      "filter": ["==", ["get", "RENDER_GROUP"], "RED"],
      "paint": {
        "line-pattern": [
          "match",
          ["get", "RESTRN"],
          [
            "[1]",
            "[3]",
            "[5]",
            "[7]",
            "[8]",
            "[11]",
            "[14]",
            "[1,3]",
            "[1,5]",
            "[1,7]",
            "[1,11]",
            "[1,3,11]",
            "[1,3,7,11]",
            "[1,3,5,8,11]",
            "[1,3,5,9,18,20,24]",
            "[2,4,6,10,19,21]",
            "[3,7]",
            "[3,8]",
            "[5,24]"
          ],
          "N2_1_RestrictedArea",
          ["[27]"],
          "N2_1_RestrictedArea",
          [
            "match",
            ["get", "CATREA"],
            ["[9]", "[14]"],
            "N2_1_RestrictedArea",
            ["[27]", "[28]"],
            "N22_Environmentally_Sensitive_Sea_Areas",
            "N2_1_RestrictedArea"
          ]
        ],
        "line-width": 10
      }
    },

    {
      "id": "PIPARE_LINE",
      "minzoom": 10,
      "type": "line",
      "source": "nautical",
      "source-layer": "PIPARE_LINE",
      "layout": {},
      "paint": {
        "line-pattern": "L40_2_Pipeline_Area",
        "line-width": 10
      }
    },

    {
      "id": "OSPARE_LINE_restriction",
      "minzoom": 10,
      "type": "line",
      "source": "nautical",
      "source-layer": "OSPARE_LINE",
      "filter": ["has", "RESTRN"],
      "layout": {},
      "paint": {
        "line-pattern": "N2_1_RestrictedArea",
        "line-width": 10
      }
    },

    {
      "id": "MIPARE_LINE",
      "minzoom": 10,
      "type": "line",
      "source": "nautical",
      "source-layer": "MIPARE_LINE",
      "layout": {},
      "paint": {
        "line-pattern": [
          "match",
          ["get", "CATMPA"],
          ["[3]"],
          "N2_1_RestrictedArea",
          ["[4]", "[6]"],
          "N30_Firing_danger_area",
          ["[5]"],
          "N32_Mine_laying_practice_area",
          "NO_LINE_PATTERN"
        ],
        "line-width": [
          "match",
          ["get", "CATMPA"],
          ["[4]", "[6]", "[5]"],
          20,
          10
        ]
      }
    },

    {
      "id": "PIPSOL",
      "minzoom": 10,
      "type": "line",
      "source": "nautical",
      "source-layer": "PIPSOL",
      "layout": {},
      "paint": {
        "line-pattern": "L40_pipeline_supply",
        "line-width": 10
      }
    },
    {
      "id": "CBLARE_LINE",
      "minzoom": 10,
      "type": "line",
      "source": "nautical",
      "source-layer": "CBLARE_LINE",
      "layout": {},
      "paint": {
        "line-pattern": [
          "match",
          ["get", "CATCBL"],
          [1],
          "L31_2_PowerCable_Area",
          "L30_2_Cable_Area"
        ],
        "line-width": 10
      }
    },
    {
      "id": "CBLSUB",
      "minzoom": 10,
      "type": "line",
      "source": "nautical",
      "source-layer": "CBLSUB",
      "layout": {},
      "paint": {
        "line-pattern": [
          "match",
          ["get", "CATCBL"],
          [1],
          "L31_1_PowerCable",
          [4],
          "L30_Cable",
          "L30_Cable"
        ],
        "line-width": 10
      }
    },

    {
      "id": "FERYRT",
      "minzoom": 10,
      "type": "line",
      "source": "nautical",
      "source-layer": "FERYRT",
      "layout": {},
      "paint": {
        "line-pattern": [
          "match",
          ["get", "CATFRY"],
          [1],
          "M50_Ferry",
          [2],
          "M51_Cable_ferry",
          "NO_LINE_PATTERN"
        ],
        "line-width": 10
      }
    },

    {
      "id": "HULKES_POINT",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "HULKES_POINT",
      "minzoom": 15,
      "layout": {
        "icon-image": "F34_Hulk",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,

        "text-font": ["Roboto"],
        "text-field": ["case", ["has", "OBJNAM"], ["get", "OBJNAM"], "Hulk"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-variable-anchor": [
          "top-right",
          "top-left",
          "bottom-right",
          "bottom-left"
        ],
        "text-offset": [0.75, 0.75],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "CBLOHD",
      "minzoom": 10,
      "type": "line",
      "source": "nautical",
      "source-layer": "CBLOHD",
      "layout": {},
      "paint": {
        "line-pattern": [
          "match",
          ["get", "CATCBL"],
          [1],
          "D27_Power_line",
          [4],
          "D27_Telephones_line",
          "D27_Telephones_line"
        ],
        "line-width": 10
      }
    },

    {
      "id": "CONVYR",
      "minzoom": 10,
      "type": "line",
      "source": "nautical",
      "source-layer": "CONVYR",
      "layout": {},
      "paint": {
        "line-pattern": "D25_Overhead_transporter",
        "line-width": 10
      }
    },

    {
      "id": "FSHFAC_LINE",
      "minzoom": 11,
      "type": "line",
      "source": "nautical",
      "source-layer": "FSHFAC_LINE",
      "paint": {
        "line-width": 1,
        "line-color": "hsl(60, 1%, 50%)",
        "line-dasharray": [3, 3]
      }
    },
    {
      "id": "MARCUL_LINE",
      "minzoom": 11,
      "type": "line",
      "source": "nautical",
      "source-layer": "MARCUL_LINE",
      "paint": {
        "line-width": 1,
        "line-color": "hsl(60, 1%, 50%)",
        "line-dasharray": [3, 3]
      }
    },

    {
      "id": "OBSTRN-Area-Line",
      "minzoom": 13,
      "type": "line",
      "source": "nautical",
      "source-layer": "OBSTRN",
      "filter": ["match", ["geometry-type"], ["Polygon"], true, false],
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": "hsl(60, 1%, 50%)",
        "line-dasharray": [1, 1]
      }
    },

    {
      "id": "WRECKS-Area-Line",
      "minzoom": 13,
      "type": "line",
      "source": "nautical",
      "source-layer": "WRECKS",
      "filter": ["all", ["match", ["geometry-type"], ["Polygon"], true, false]],
      "paint": {
        "line-width": 1,
        "line-color": "hsl(60, 1%, 50%)",
        "line-dasharray": [1, 1]
      }
    },

    {
      "id": "OBSTRN-Line",
      "minzoom": 13,
      "type": "line",
      "source": "nautical",
      "source-layer": "OBSTRN",
      "filter": ["match", ["geometry-type"], ["LineString"], true, false],
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": "hsl(60, 1%, 50%)",
        "line-dasharray": [1, 1]
      }
    },

    {
      "id": "OBSTRN-Area-Text",
      "minzoom": 13,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "OBSTRN",
      "filter": ["match", ["geometry-type"], ["Polygon"], true, false],
      "layout": {
        "icon-image": [
          "match",
          ["get", "CATOBS"],
          [1],
          "K43_1_Submerged_stump",
          [2],
          "NO_SYMBOL",
          [5],
          [
            "case",
            ["==", ["get", "COUNTRY_CODE"], "DK"],
            "K46_1_Fish_haven",
            "K46_Fish_haven"
          ],
          [7],
          "K31_Foul_ground",
          "NO_SYMBOL"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,
        "icon-anchor": "center",

        "text-field": [
          "match",
          ["get", "CATOBS"],
          [1, 7],
          "",
          [2],
          "Well",
          [5],
          "",
          [6],
          "",
          [8],
          "Ice boom",
          [10],
          "",
          "Obstn"
        ],
        "text-font": ["Roboto Italic"],
        "text-optional": true,
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0.75, 0.75],
        "text-variable-anchor": [
          "top-left",
          "bottom-left",
          "top-right",
          "bottom-right"
        ],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "OBSTRN-Line-Text",
      "minzoom": 13,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "OBSTRN",
      "filter": ["match", ["geometry-type"], ["LineString"], true, false],
      "layout": {
        "icon-image": [
          "match",
          ["get", "CATOBS"],
          [1],
          "K43_1_Submerged_stump",
          [2],
          "K40_Obstruction",
          [7],
          "K31_Foul_ground",
          "NO_SYMBOL"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,
        "icon-anchor": "center",

        "text-field": [
          "match",
          ["get", "CATOBS"],
          [1, 7],
          "",
          [2],
          "Well",
          [5],
          "",
          [6],
          "",
          [8],
          "Ice boom",
          [10],
          "",
          "Obstn"
        ],
        "text-font": ["Roboto Italic"],
        "text-optional": true,
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0.75, 0.75],
        "text-variable-anchor": [
          "top-left",
          "bottom-left",
          "top-right",
          "bottom-right"
        ],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "LIGHTS-symbol-flood-light",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "LIGHTS",
      "filter": ["match", ["get", "CATLIT"], "[8]", true, false],
      "layout": {
        "icon-image": [
          "match",
          ["get", "COLOUR"],
          ["[1]"],
          "P63_Flood_light_white",
          ["[3]"],
          "P63_Flood_light_red",
          ["[4]"],
          "P63_Flood_light_green",
          ["[6]"],
          "P63_Flood_light_white",
          ["[12]"],
          "P63_Flood_light_magenta",
          "P63_Flood_light_unknown"
        ],
        "icon-rotate": -65,
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,
        "icon-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          0.75,
          15,
          0.75,
          17,
          1.5
        ]
      }
    },
    {
      "id": "LIGHTS-symbol-other",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "LIGHTS",
      "filter": ["match", ["get", "CATLIT"], "[8]", false, true],
      "layout": {
        "icon-image": [
          "match",
          ["get", "COLOUR"],
          ["[1]"],
          "Light_Flare_white",
          ["[3]"],
          "Light_Flare_red",
          ["[4]"],
          "Light_Flare_green",
          ["[5]"],
          "Light_Flare_blue",
          ["[6]"],
          "Light_Flare_white",
          ["[11]"],
          "Light_Flare_orange",
          "Light_Flare_magenta"
        ],
        "icon-rotate": [
          "match",
          ["get", "COLOUR"],
          ["[1]"],
          35,
          ["[3]"],
          65,
          ["[4]"],
          55,
          ["[5]"],
          35,
          ["[6]"],
          45,
          ["[11]"],
          55,
          55
        ],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,
        "icon-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          0.75,
          15,
          0.75,
          17,
          1.5
        ]
      }
    },

    {
      "id": "FSHFAC_POINT",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "FSHFAC_POINT",
      "filter": ["match", ["geometry-type"], ["Point"], true, false],
      "layout": {
        "icon-image": [
          "match",
          ["get", "CATFIF"],
          [1],
          "K44_1_Fishing_stakes",
          [2],
          "K48_Marine_farm",
          "NO_SYMBOL"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      }
    },
    {
      "id": "MARCUL_POINT",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "MARCUL_POINT",
      "layout": {
        "icon-image": [
          "match",
          ["get", "CATMFA"],
          [2],
          "K47_Shellfish_beds",
          [3],
          "K48_Marine_farm",
          [4],
          "K48_Marine_farm",
          "K48_Marine_farm"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      }
    },

    {
      "id": "HRBFAC-symbol",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "HRBFAC",
      "layout": {
        "icon-image": [
          "match",
          ["get", "CATHAF"],
          ["[4]"],
          "F10_Fishing_harbor",
          ["[5]"],
          "U1_1_Marina",
          "NO_SYMBOL"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      }
    },

    {
      "id": "LNDARE_POINT",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "LNDARE_POINT",
      "filter": [
        ">=",
        ["zoom"],
        ["match", ["get", "PRIO"], 1, 12, 2, 13, 3, 14, 15]
      ],
      "layout": {
        "icon-image": [
          "match",
          ["get", "COUNTRY_CODE"],
          "FI",
          "K10b_LandPoint",
          "K10_LandPoint"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      }
    },

    {
      "id": "UWTROC",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "UWTROC",
      "filter": [
        ">=",
        ["zoom"],
        ["match", ["get", "PRIO"], 1, 12, 2, 13, 3, 14, 15]
      ],
      "layout": {
        "icon-image": [
          "match",
          ["get", "WATLEV"],
          1,
          "K11b_Rock_uncovers",
          2,
          [
            "match",
            ["get", "COUNTRY_CODE"],
            "FI",
            "K10b_LandPoint",
            "K10_LandPoint"
          ],
          3,
          [
            "match",
            ["get", "COUNTRY_CODE"],
            "FI",
            "K13b_Dangerous_underwater_rk",
            "K13a_Dangerous_underwater_rk"
          ],
          4,
          "K11b_Rock_uncovers",
          5,
          [
            "match",
            ["get", "COUNTRY_CODE"],
            "FI",
            "K12b_Rock_awash",
            "K12a_Rock_awash"
          ],
          6,
          "K11b_Rock_uncovers",
          7,
          "K11b_Rock_uncovers",
          "NO_SYMBOL"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,

        "text-field": [
          "case",
          ["has", "VALSOU"],
          ["concat", "(", ["get", "VALSOU"], ")"],
          ""
        ],
        "text-font": ["Roboto Italic"],
        "text-optional": true,
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0.35, 0.35],
        "text-variable-anchor": [
          "top-left",
          "bottom-left",
          "top-right",
          "bottom-right",
          "top",
          "left",
          "right",
          "bottom"
        ],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "RTPBCN",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "RTPBCN",
      "layout": {
        "icon-image": [
          "case",
          ["==", ["get", "master"], true],
          "S1_RTBCN_with_master",
          "S1_RTBCN"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      }
    },

    {
      "id": "SILTNK-point-icon",
      "minzoom": 13,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SILTNK",
      "filter": [
        "all",
        ["match", ["geometry-type"], ["Point"], true, false],
        ["match", ["get", "CATSIL"], [4], true, false]
      ],
      "layout": {
        "icon-image": [
          "match",
          ["get", "CATSIL"],
          [4],
          "E21_Water_tower",
          "NO_SYMBOL"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      },
      "paint": {}
    },

    {
      "id": "OFSPLF",
      "minzoom": 13,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "OFSPLF",
      "layout": {
        "icon-image": "L2_Platform",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,

        "text-font": ["Roboto"],
        "text-field": ["get", "OBJNAM"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-variable-anchor": [
          "top-right",
          "top-left",
          "bottom-right",
          "bottom-left"
        ],
        "text-offset": [0.75, 0.75],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "RESARE_POINT_icon",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "RESARE_POINT",
      "filter": ["match", ["get", "CATREA"], ["[4]", "[14]"], false, true],
      "layout": {
        "icon-image": [
          "case",
          ["match", ["get", "CATREA"], ["[5]", "[4,5]"], true, false],
          "N22_1_Bird_Sanctuary",
          ["match", ["get", "CATREA"], ["[7]"], true, false],
          "N22_2_Seal_Sanctuary",
          ["match", ["get", "CATREA"], ["[5,7]"], true, false],
          "N22_3_Bird_Seal_Sanctuary",
          ["match", ["get", "CATREA"], ["[3]", "[9]"], true, false],
          "N2_2_EntryProhibitedPoint",
          ["match", ["get", "RESTRN"], ["[3]", "[3,8]"], true, false],
          "N21_1_Fishing_ProhibitedPoint",
          ["match", ["get", "RESTRN"], ["[3,7]"], true, false],
          "N20_Fishing_Entry_Prohibited_Point",
          ["match", ["get", "RESTRN"], ["[1]"], true, false],
          "N20_AnchoringProhibitedPoint",
          ["match", ["get", "RESTRN"], ["[7]"], true, false],
          "N2_2_EntryProhibitedPoint",
          ["match", ["get", "RESTRN"], ["[8]"], true, false],
          "Dredging_prohibited",
          ["match", ["get", "RESTRN"], ["[11]"], true, false],
          "N21_2_Diving_ProhibitedPoint",
          [
            "match",
            ["get", "RESTRN"],
            ["[1,3]", "[1,3,5,9,18,20,24]"],
            true,
            false
          ],
          "N20_Anchoring_Fishing_Prohibited_Point",
          ["match", ["get", "RESTRN"], ["[1,5]"], true, false],
          "N20_AnchoringProhibitedPoint",
          ["match", ["get", "RESTRN"], ["[1,7]"], true, false],
          "N20_Anchoring_Entry_Prohibited_Point",
          ["match", ["get", "RESTRN"], ["[1,11]"], true, false],
          "N20_Anchoring_Diving_Prohibited_Point",
          ["match", ["get", "RESTRN"], ["[1,3,11]"], true, false],
          "N20_Anchoring_Fishing_Diving_Prohibited_Point",
          ["match", ["get", "RESTRN"], ["[1,3,7,11]"], true, false],
          "N20_Anchoring_Fishing_Entry_Diving_Prohibited_Point",
          "NO_SYMBOL"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      }
    },

    {
      "id": "OSPARE_POINT_restriction_symbol",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "OSPARE_POINT",
      "filter": ["has", "RESTRN"],
      "layout": {
        "icon-image": [
          "case",
          ["match", ["get", "RESTRN"], ["[1]"], true, false],
          "N20_AnchoringProhibitedPoint",
          "NO_SYMBOL"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,

        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [1, 1.25],
        "text-variable-anchor": ["top", "top-right", "top-left"],
        "text-justify": "auto",
        "text-field": ["to-string", ["get", "OBJNAM"]]
      },
      "paint": {
        "text-color": "hsl(336, 91%, 65%)"
      }
    },
    {
      "id": "LNDELV_POINT",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "LNDELV_POINT",
      "minzoom": 10,
      "layout": {
        "icon-image": "K10_LandPoint",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,

        "text-field": ["get", "ELEVAT"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-font": ["Roboto"],
        "text-variable-anchor": [
          "top-right",
          "top-left",
          "bottom-right",
          "bottom-left"
        ],
        "text-offset": [0.15, 0.15],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "DEPCNT-text-DK >= 10m",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "DK"],
        [">=", ["get", "VALDCO"], 10]
      ],
      "source-layer": "DEPCNT",
      "layout": {
        "text-font": ["Roboto"],
        "text-field": [
          "number-format",
          ["get", "VALDCO"],
          {
            "locale": "sv-se",
            "min-fraction-digits": 0,
            "max-fraction-digits": 1
          }
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-keep-upright": true,
        "symbol-placement": "line",
        "symbol-spacing": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          200,
          17,
          200,
          18,
          150
        ]
      },
      "paint": {
        "text-color": "hsl(210, 20%, 60%)",
        "text-halo-color": "hsl(210, 100%, 100%)",
        "text-halo-blur": 0,
        "text-halo-width": 2
      }
    },

    {
      "id": "DEPCNT-text-DK < 10m",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "DK"],
        ["<", ["get", "VALDCO"], 10],
        [">", ["get", "VALDCO"], 0]
      ],
      "source-layer": "DEPCNT",
      "layout": {
        "text-font": ["Roboto"],
        "text-field": [
          "number-format",
          ["get", "VALDCO"],
          {
            "locale": "sv-se",
            "min-fraction-digits": 0,
            "max-fraction-digits": 1
          }
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-keep-upright": true,
        "symbol-placement": "line",
        "symbol-spacing": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          200,
          17,
          200,
          18,
          150
        ]
      },
      "paint": {
        "text-color": "hsl(210, 20%, 60%)",
        "text-halo-color": [
          "case",
          ["<=", ["get", "VALDCO"], 2],
          "hsl(210, 100%, 80%)",
          ["<", ["get", "VALDCO"], 6],
          "hsl(210, 100%, 93%)",
          "hsl(210, 100%, 100%)"
        ],
        "text-halo-blur": 0,
        "text-halo-width": 2
      }
    },

    {
      "id": "DEPCNT-text-SE >= 10m",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "SE"],
        [">=", ["get", "VALDCO"], 10]
      ],
      "source-layer": "DEPCNT",
      "layout": {
        "text-font": ["Roboto"],
        "text-field": [
          "number-format",
          ["get", "VALDCO"],
          {
            "locale": "sv-se",
            "min-fraction-digits": 0,
            "max-fraction-digits": 1
          }
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-keep-upright": true,
        "symbol-placement": "line",
        "symbol-spacing": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          200,
          17,
          200,
          18,
          150
        ]
      },
      "paint": {
        "text-color": "hsl(210, 20%, 60%)",
        "text-halo-color": [
          "case",
          [">", ["get", "VALDCO"], 3],
          "hsl(210, 100%, 100%)",
          "hsl(210, 100%, 93%)"
        ],
        "text-halo-blur": 0,
        "text-halo-width": 2
      }
    },

    {
      "id": "DEPCNT-text-SE < 10m",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "SE"],
        ["<", ["get", "VALDCO"], 10]
      ],
      "source-layer": "DEPCNT",
      "layout": {
        "text-font": ["Roboto"],
        "text-field": [
          "number-format",
          ["get", "VALDCO"],
          {
            "locale": "sv-se",
            "min-fraction-digits": 0,
            "max-fraction-digits": 1
          }
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-keep-upright": true,
        "symbol-placement": "line",
        "symbol-spacing": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          200,
          17,
          200,
          18,
          150
        ]
      },
      "paint": {
        "text-color": "hsl(210, 20%, 60%)",
        "text-halo-color": [
          "case",
          [">", ["get", "VALDCO"], 3],
          "hsl(210, 100%, 100%)",
          "hsl(210, 100%, 93%)"
        ],
        "text-halo-blur": 0,
        "text-halo-width": 2
      }
    },

    {
      "id": "DEPCNT-text-FI >= 10m",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "DEPCNT",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "FI"],
        [">=", ["get", "VALDCO"], 10]
      ],
      "layout": {
        "text-font": ["Roboto"],
        "text-field": [
          "number-format",
          ["get", "VALDCO"],
          {
            "locale": "sv-se",
            "min-fraction-digits": 0,
            "max-fraction-digits": 1
          }
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-keep-upright": true,
        "symbol-placement": "line",
        "symbol-spacing": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          200,
          17,
          200,
          18,
          150
        ]
      },
      "paint": {
        "text-color": "hsl(210, 20%, 60%)",
        "text-halo-color": "hsl(210, 100%, 100%)",
        "text-halo-blur": 0,
        "text-halo-width": 2
      }
    },

    {
      "id": "DEPCNT-text-FI < 10m",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "DEPCNT",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "FI"],
        ["<", ["get", "VALDCO"], 10]
      ],
      "layout": {
        "text-font": ["Roboto"],
        "text-field": [
          "number-format",
          ["get", "VALDCO"],
          {
            "locale": "sv-se",
            "min-fraction-digits": 0,
            "max-fraction-digits": 1
          }
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-keep-upright": true,
        "symbol-placement": "line",
        "symbol-spacing": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          200,
          17,
          200,
          18,
          150
        ]
      },
      "paint": {
        "text-color": "hsl(210, 20%, 60%)",
        "text-halo-color": [
          "case",
          [">=", ["get", "VALDCO"], 6],
          "hsla(210, 100%, 100%, 66%)",
          "hsla(210, 100%, 93%, 66%)"
        ],
        "text-halo-blur": 0,
        "text-halo-width": 2
      }
    },

    {
      "id": "DEPCNT-text-NO >= 10m",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "DEPCNT",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "NO"],
        [">=", ["get", "VALDCO"], 10]
      ],
      "layout": {
        "text-font": ["Roboto"],
        "text-field": [
          "number-format",
          ["get", "VALDCO"],
          {
            "locale": "sv-se",
            "min-fraction-digits": 0,
            "max-fraction-digits": 1
          }
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-keep-upright": true,
        "symbol-placement": "line",
        "symbol-spacing": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          200,
          17,
          200,
          18,
          150
        ]
      },
      "paint": {
        "text-color": "hsl(210, 20%, 60%)",
        "text-halo-color": "hsl(210, 100%, 100%)",
        "text-halo-blur": 0,
        "text-halo-width": 2
      }
    },

    {
      "id": "DEPCNT-text-NO < 10m",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "DEPCNT",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "NO"],
        ["<", ["get", "VALDCO"], 10]
      ],
      "layout": {
        "text-font": ["Roboto"],
        "text-field": [
          "number-format",
          ["get", "VALDCO"],
          {
            "locale": "sv-se",
            "min-fraction-digits": 0,
            "max-fraction-digits": 1
          }
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-keep-upright": true,
        "symbol-placement": "line",
        "symbol-spacing": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          200,
          17,
          200,
          18,
          150
        ]
      },
      "paint": {
        "text-color": [
          "case",
          ["<=", ["get", "VALDCO"], 0.5],
          "hsl(210, 20%, 40%)",
          "hsl(210, 20%, 60%)"
        ],
        "text-halo-color": [
          "case",
          ["<=", ["get", "VALDCO"], 0.5],
          "hsla(120, 35%, 75%, 100%)",
          ["<=", ["get", "VALDCO"], 3],
          "hsl(210, 100%, 80%)",
          ["<=", ["get", "VALDCO"], 5],
          "hsl(210, 100%, 93%)",
          "hsl(210, 100%, 100%)"
        ],
        "text-halo-blur": 0,
        "text-halo-width": 2
      }
    },

    {
      "id": "HG_DEPCNT-text >= 10m",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "HG_DEPCNT",
      "filter": [">=", ["get", "VALDCO"], 10],
      "minzoom": 11,
      "layout": {
        "visibility": "none",
        "text-font": ["Roboto"],
        "text-field": [
          "number-format",
          ["get", "VALDCO"],
          {
            "locale": "sv-se",
            "min-fraction-digits": 0,
            "max-fraction-digits": 1
          }
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-keep-upright": true,
        "symbol-placement": "line",
        "symbol-spacing": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          200,
          17,
          200,
          18,
          150
        ]
      },
      "paint": {
        "text-color": "hsl(210, 20%, 60%)",
        "text-halo-color": "hsl(210, 100%, 100%)",
        "text-halo-blur": 0,
        "text-halo-width": 2
      }
    },

    {
      "id": "HG_DEPCNT-text < 10m",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "HG_DEPCNT",
      "filter": ["<", ["get", "VALDCO"], 10],
      "minzoom": 11,
      "layout": {
        "visibility": "none",
        "text-font": ["Roboto"],
        "text-field": [
          "number-format",
          ["get", "VALDCO"],
          {
            "locale": "sv-se",
            "min-fraction-digits": 0,
            "max-fraction-digits": 1
          }
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-keep-upright": true,
        "symbol-placement": "line",
        "symbol-spacing": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          200,
          17,
          200,
          18,
          150
        ]
      },
      "paint": {
        "text-color": [
          "case",
          [">", ["get", "VALDCO"], 2],
          "hsl(210, 20%, 60%)",
          "hsl(336, 90%, 65%)"
        ],
        "text-halo-color": [
          "case",
          [">", ["get", "VALDCO"], 2],
          "hsl(210, 100%, 100%)",
          "hsl(210, 100%, 80%)"
        ],
        "text-halo-blur": 0,
        "text-halo-width": 2
      }
    },

    {
      "id": "SOUNDG-DK < 4m",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SOUNDG",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "DK"],
        ["<", ["get", "ZVALUE"], 4]
      ],
      "layout": {
        "text-field": [
          "number-format",
          ["get", "ZVALUE"],
          {
            "locale": "sv-se",
            "min-fraction-digits": 0,
            "max-fraction-digits": 1
          }
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-font": ["Roboto Italic"],
        "text-padding": ["step", ["zoom"], 10, 13, 0]
      },
      "paint": {
        "text-color": [
          "case",
          ["<=", ["get", "ZVALUE"], 2],
          "hsl(210, 20%, 50%)",
          ["<=", ["get", "ZVALUE"], 3],
          "hsl(210, 20%, 55%)",
          "hsl(210, 20%, 60%)"
        ]
      }
    },

    {
      "id": "SOUNDG-DK >= 4m",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SOUNDG",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "DK"],
        [">=", ["get", "ZVALUE"], 4]
      ],
      "layout": {
        "text-field": [
          "number-format",
          ["get", "ZVALUE"],
          {
            "locale": "sv-se",
            "min-fraction-digits": 0,
            "max-fraction-digits": 1
          }
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-font": ["Roboto Italic"],
        "text-padding": ["step", ["zoom"], 10, 13, 0]
      },
      "paint": {
        "text-color": [
          "interpolate",
          ["linear"],
          ["zoom"],
          14,
          "hsl(210, 20%, 80%)",
          15,
          "hsl(210, 20%, 60%)"
        ]
      }
    },

    {
      "id": "SOUNDG-FI < 10m",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SOUNDG",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "FI"],
        ["<", ["get", "ZVALUE"], 10]
      ],
      "layout": {
        "text-field": [
          "number-format",
          ["get", "ZVALUE"],
          {
            "locale": "sv-se",
            "min-fraction-digits": 0,
            "max-fraction-digits": 1
          }
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-font": ["Roboto Italic"],
        "text-padding": ["step", ["zoom"], 10, 13, 0]
      },
      "paint": {
        "text-color": [
          "case",
          ["<=", ["get", "ZVALUE"], 2],
          "hsl(210, 20%, 50%)",
          ["<=", ["get", "ZVALUE"], 3],
          "hsl(210, 20%, 55%)",
          "hsl(210, 20%, 60%)"
        ]
      }
    },

    {
      "id": "SOUNDG-FI >= 10m",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SOUNDG",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "FI"],
        [">=", ["get", "ZVALUE"], 10]
      ],
      "layout": {
        "text-field": [
          "number-format",
          ["get", "ZVALUE"],
          {
            "locale": "sv-se",
            "min-fraction-digits": 0,
            "max-fraction-digits": 1
          }
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-font": ["Roboto Italic"],
        "text-padding": ["step", ["zoom"], 10, 13, 0]
      },
      "paint": {
        "text-color": [
          "interpolate",
          ["linear"],
          ["zoom"],
          14,
          "hsl(210, 20%, 80%)",
          15,
          "hsl(210, 20%, 60%)"
        ]
      }
    },

    {
      "id": "SOUNDG-NO < 5m",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SOUNDG",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "NO"],
        ["<", ["get", "ZVALUE"], 5]
      ],
      "layout": {
        "text-field": [
          "number-format",
          ["get", "ZVALUE"],
          {
            "locale": "sv-se",
            "min-fraction-digits": 0,
            "max-fraction-digits": 1
          }
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-font": ["Roboto Italic"],
        "text-padding": ["step", ["zoom"], 10, 13, 0]
      },
      "paint": {
        "text-color": [
          "case",
          ["<=", ["get", "ZVALUE"], 2],
          "hsl(210, 20%, 50%)",
          ["<=", ["get", "ZVALUE"], 3],
          "hsl(210, 20%, 55%)",
          "hsl(210, 20%, 60%)"
        ]
      }
    },

    {
      "id": "SOUNDG-NO >= 5m",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SOUNDG",
      "filter": [
        "all",
        ["==", ["get", "COUNTRY_CODE"], "NO"],
        [">=", ["get", "ZVALUE"], 5]
      ],
      "layout": {
        "text-field": [
          "number-format",
          ["get", "ZVALUE"],
          {
            "locale": "sv-se",
            "min-fraction-digits": 0,
            "max-fraction-digits": 1
          }
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-font": ["Roboto Italic"],
        "text-padding": ["step", ["zoom"], 10, 13, 0]
      },
      "paint": {
        "text-color": [
          "interpolate",
          ["linear"],
          ["zoom"],
          14,
          "hsl(210, 20%, 80%)",
          15,
          "hsl(210, 20%, 60%)"
        ]
      }
    },

    {
      "id": "SOUNDG-SE < 3m",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SOUNDG",
      "filter": [
        "all",
        [
          "any",
          ["==", ["get", "COUNTRY_CODE"], "SE"],
          ["!", ["has", "COUNTRY_CODE"]]
        ],
        ["<", ["number", ["get", "ZVALUE"], 10], 3]
      ],
      "layout": {
        "text-field": [
          "case",
          ["==", ["typeof", ["get", "ZVALUE"]], "number"],
          [
            "concat",
            ["case", ["==", ["get", "SYMBOL"], "501.0"], "(", ""],
            [
              "number-format",
              ["get", "ZVALUE"],
              {
                "locale": "sv-se",
                "min-fraction-digits": 0,
                "max-fraction-digits": 1
              }
            ],
            ["case", ["==", ["get", "SYMBOL"], "501.0"], ")", ""]
          ],
          ["get", "ZVALUE"]
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-font": ["Roboto Italic"],
        "text-padding": ["step", ["zoom"], 10, 13, 0]
      },
      "paint": {
        "text-color": [
          "case",
          ["<=", ["number", ["get", "ZVALUE"], 2], 2],
          "hsl(210, 20%, 50%)",
          ["<=", ["number", ["get", "ZVALUE"], 3], 3],
          "hsl(210, 20%, 55%)",
          "hsl(210, 20%, 60%)"
        ]
      }
    },

    {
      "id": "SOUNDG-SE >= 3m",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SOUNDG",
      "filter": [
        "all",
        [
          "any",
          ["==", ["get", "COUNTRY_CODE"], "SE"],
          ["!", ["has", "COUNTRY_CODE"]]
        ],
        [">=", ["number", ["get", "ZVALUE"], 10], 3]
      ],
      "layout": {
        "text-field": [
          "case",
          ["==", ["typeof", ["get", "ZVALUE"]], "number"],
          [
            "number-format",
            ["get", "ZVALUE"],
            {
              "locale": "sv-se",
              "min-fraction-digits": 0,
              "max-fraction-digits": 1
            }
          ],
          ["get", "ZVALUE"]
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-font": ["Roboto Italic"],
        "text-padding": ["step", ["zoom"], 10, 13, 0]
      },
      "paint": {
        "text-color": [
          "interpolate",
          ["linear"],
          ["zoom"],
          14,
          "hsl(210, 20%, 80%)",
          15,
          "hsl(210, 20%, 60%)"
        ]
      }
    },

    {
      "id": "SBDARE",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SBDARE",
      "layout": {
        "text-field": ["get", "TEXT"],
        "text-font": ["Roboto Italic"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-padding": ["step", ["zoom"], 10, 13, 0]
      },
      "paint": {
        "text-color": "hsl(210, 20%, 60%)"
      }
    },

    {
      "id": "HULKES_AREA_text",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "HULKES_AREA",
      "minzoom": 14,
      "layout": {
        "text-font": ["Roboto"],
        "text-field": ["case", ["has", "OBJNAM"], ["get", "OBJNAM"], "Hulk"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-variable-anchor": [
          "center",
          "top-right",
          "top-left",
          "bottom-right",
          "bottom-left"
        ],
        "text-offset": [0, 0],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "OILBAR_text",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "OILBAR",
      "layout": {
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-field": "Floating barrier",
        "symbol-placement": "line-center",
        "text-offset": [0, 0.75]
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "MIPARE_LINE-Text",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "filter": ["match", ["get", "CATMPA"], ["[3]"], true, false],
      "source-layer": "MIPARE_LINE",
      "layout": {
        "text-field": "Submarine excercise area",
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "symbol-placement": "line",
        "text-rotation-alignment": "map",
        "text-offset": [0, 1],
        "symbol-spacing": 250,
        "text-keep-upright": true
      },
      "paint": {
        "text-color": "hsl(336, 91%, 65%)"
      }
    },

    {
      "id": "FERYRT-text",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "FERYRT",
      "filter": ["match", ["get", "CATFRY"], [2], true, false],
      "layout": {
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-field": "Cable ferry",
        "symbol-placement": "line-center",
        "text-offset": [0, 1.5]
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "DAMCON_text",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "DAMCON",
      "filter": ["match", ["geometry-type"], ["LineString"], true, false],
      "minzoom": 12,
      "layout": {
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-field": "Flood barrage",
        "symbol-placement": "line-center",
        "text-offset": [0, 1.5]
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "WEDKLP",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "WEDKLP",
      "layout": {
        "text-field": "Wd",
        "text-font": ["Roboto Italic"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ]
      },
      "paint": {
        "text-color": "hsl(210, 20%, 60%)"
      }
    },

    {
      "id": "DRGARE_POINT",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "DRGARE_POINT",
      "filter": ["has", "DRVAL1"],
      "minzoom": 14,
      "layout": {
        "text-font": ["Roboto Italic"],
        "text-field": [
          "concat",
          [
            "number-format",
            ["get", "DRVAL1"],
            {
              "locale": "sv-se",
              "min-fraction-digits": 0,
              "max-fraction-digits": 1
            }
          ],
          "m",
          [
            "case",
            ["has", "SORDAT"],
            ["concat", " (", ["get", "SORDAT"], ")"],
            ""
          ]
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-variable-anchor": [
          "center",
          "top-right",
          "top-left",
          "bottom-right",
          "bottom-left"
        ],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 35%)"
      }
    },

    {
      "id": "SWPARE_POINT_date",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SWPARE_POINT",
      "filter": ["has", "SORDAT"],
      "minzoom": 14,
      "layout": {
        "text-font": ["Roboto Italic"],
        "text-field": ["concat", "(", ["get", "SORDAT"], ")"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-variable-anchor": ["top", "top-right", "top-left"],
        "text-offset": [0, 1.5],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(336, 91%, 65%)"
      }
    },
    {
      "id": "SWPARE_POINT_depth",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SWPARE_POINT",
      "filter": ["has", "DRVAL1"],
      "minzoom": 14,
      "layout": {
        "icon-image": "I24_Swept_area",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,

        "text-optional": false,
        "text-font": ["Roboto Italic"],
        "text-field": [
          "number-format",
          ["get", "DRVAL1"],
          {
            "locale": "sv-se",
            "min-fraction-digits": 0,
            "max-fraction-digits": 1
          }
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-variable-anchor": ["center"],
        "text-offset": [0, 1],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(336, 91%, 65%)"
      }
    },

    {
      "id": "CTNARE",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "CTNARE",
      "layout": {
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-field": ["concat", ["get", "MAX_SPEED"], " kn"]
      },
      "paint": {
        "text-color": "hsl(0, 99%, 47%)"
      }
    },

    {
      "id": "CBLOHD-symbol",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "CBLOHD_POINT",
      "filter": ["any", ["has", "VERCLR"], ["has", "VERCSA"]],
      "minzoom": 14,
      "layout": {
        "icon-image": "Vertical_clearance_2",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,
        "icon-anchor": "top",
        "icon-rotation-alignment": "viewport",

        "text-optional": false,
        "text-font": ["Roboto"],
        "text-field": [
          "case",
          ["has", "VERCSA"],
          [
            "number-format",
            ["get", "VERCSA"],
            {
              "locale": "sv-se",
              "min-fraction-digits": 0,
              "max-fraction-digits": 1
            }
          ],
          [
            "number-format",
            ["get", "VERCLR"],
            {
              "locale": "sv-se",
              "min-fraction-digits": 0,
              "max-fraction-digits": 1
            }
          ]
        ],
        "text-anchor": "top",
        "text-offset": [0, 1.5],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-rotation-alignment": "viewport"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "CONVYR-symbol",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "CONVYR_POINT",
      "filter": ["has", "VERCLR"],
      "minzoom": 14,
      "layout": {
        "icon-image": "Vertical_clearance_2",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,
        "icon-anchor": "top",
        "icon-rotation-alignment": "viewport",

        "text-optional": false,
        "text-font": ["Roboto"],
        "text-field": [
          "number-format",
          ["get", "VERCLR"],
          {
            "locale": "sv-se",
            "min-fraction-digits": 0,
            "max-fraction-digits": 1
          }
        ],
        "text-anchor": "top",
        "text-offset": [0, 1.5],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-rotation-alignment": "viewport"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "LIGHT_SECTORS-sector-text",
      "minzoom": 14,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "LIGHT_SECTORS",
      "filter": ["match", ["get", "TYPE"], ["sector"], true, false],
      "layout": {
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-field": [
          "match",
          ["get", "COLOUR"],
          ["[1]"],
          "W",
          ["[3]"],
          "R",
          ["[4]"],
          "G",
          ["[6]"],
          "Y",
          ""
        ],
        "symbol-placement": "line-center",
        "text-offset": [0, -0.75]
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "NAVLNE-text",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "NAVLNE",
      "filter": ["has", "ORIENT"],
      "layout": {
        "text-font": ["Roboto"],
        "text-field": ["concat", ["to-string", ["get", "ORIENT"]], "°"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "symbol-placement": "line",
        "symbol-spacing": 512
      },
      "paint": {
        "text-color": "hsl(60, 1%, 50%)",
        "text-halo-color": "hsla(0, 0%, 100%, 66%)",
        "text-halo-blur": 0,
        "text-halo-width": 2
      }
    },
    {
      "id": "DWRTPT_POINT",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "DWRTPT_POINT",
      "layout": {
        "icon-image": "Direction_arrow",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,
        "icon-rotate": ["get", "ORIENT"],
        "icon-rotation-alignment": "map",

        "text-font": ["Roboto Bold"],
        "text-field": ["concat", "DW ", ["to-string", ["get", "DRVAL1"]], " m"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0, 2.75]
      },
      "paint": {
        "text-color": "hsl(336, 91%, 65%)"
      }
    },

    {
      "id": "PRCARE_POINT",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "PRCARE_POINT",
      "layout": {
        "icon-image": "M16_Precautionary_area",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,

        "text-font": ["Roboto"],
        "text-field": "Precautionary Area",
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [1.1, 1.1],
        "text-variable-anchor": [
          "left",
          "top-left",
          "top-right",
          "bottom-left",
          "bottom-right",
          "bottom"
        ],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(336, 91%, 65%)"
      }
    },

    {
      "id": "TWRTPT_POINT",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "TWRTPT_POINT",
      "layout": {
        "icon-image": "Two_way_direction",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,
        "icon-rotate": ["get", "ORIENT"],
        "icon-rotation-alignment": "map",

        "text-font": ["Roboto Bold"],
        "text-field": ["concat", ["to-string", ["get", "DRVAL1"]], " m"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0, 3.25]
      },
      "paint": {
        "text-color": "hsl(336, 91%, 65%)"
      }
    },

    {
      "id": "TSSLPT_POINT",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "TSSLPT_POINT",
      "layout": {
        "icon-image": "M10_Mandatory_direction",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,
        "icon-rotate": ["get", "ORIENT"],
        "icon-rotation-alignment": "map"
      },
      "paint": {}
    },

    {
      "id": "RECTRC-symbol",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "RECTRC",
      "filter": [
        "all",
        ["has", "ORIENT"],
        ["==", ["get", "CATTRK"], 1],
        ["!=", ["get", "COUNTRY_CODE"], "DK"]
      ],
      "layout": {
        "icon-allow-overlap": false,
        "icon-ignore-placement": false,
        "icon-image": "Direction_arrow",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-rotation-alignment": "map",
        "icon-rotate": 90,
        "symbol-placement": "line",
        "symbol-spacing": 400
      },
      "paint": {}
    },

    {
      "id": "RECTRC-text",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "RECTRC",
      "filter": ["has", "DRVAL1"],
      "layout": {
        "text-font": ["Roboto"],
        "text-field": [
          "concat",
          "< ",
          [
            "number-format",
            ["get", "DRVAL1"],
            {
              "locale": "sv-se",
              "min-fraction-digits": 0,
              "max-fraction-digits": 1
            }
          ],
          "m >"
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "symbol-placement": "line",
        "symbol-spacing": 512
      },
      "paint": {
        "text-color": "hsl(60, 1%, 50%)",
        "text-halo-color": "hsla(0, 0%, 100%, 66%)",
        "text-halo-blur": 0,
        "text-halo-width": 2
      }
    },

    {
      "id": "RCRTCL-text",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "RCRTCL",
      "filter": ["has", "OBJNAM"],
      "layout": {
        "text-font": ["Roboto"],
        "text-field": ["get", "OBJNAM"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "symbol-placement": "line",
        "symbol-spacing": 512
      },
      "paint": {
        "text-color": "hsl(336, 91%, 65%)",
        "text-halo-color": "hsl(0, 0%, 100%)",
        "text-halo-blur": 0,
        "text-halo-width": 2
      }
    },

    {
      "id": "RCTLPT",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "RCTLPT",
      "layout": {
        "icon-image": "M11_Recommended_direction",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,
        "icon-rotate": ["get", "ORIENT"],
        "icon-rotation-alignment": "map"
      },
      "paint": {}
    },

    {
      "id": "AIRARE_symbol",
      "minzoom": 11,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "AIRARE",
      "layout": {
        "icon-image": "D17_Airport",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,

        "text-field": ["get", "OBJNAM"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-font": ["Roboto"],
        "text-offset": [1.1, 1.1],
        "text-variable-anchor": [
          "left",
          "top-left",
          "top-right",
          "bottom-left",
          "bottom-right",
          "bottom"
        ],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "CRANES",
      "minzoom": 14,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "CRANES",
      "layout": {
        "icon-image": [
          "match",
          ["get", "CATCRN"],
          [2],
          "F53_2_Crane",
          [4],
          "F53_1_Crane",
          "NO_SYMBOL"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,

        "text-field": [
          "case",
          ["has", "LIFCAP"],
          ["concat", "(", ["get", "LIFCAP"], " t)"],
          ""
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-font": ["Roboto"],
        "text-offset": [0.75, 0.75],
        "text-variable-anchor": [
          "left",
          "top-right",
          "top-left",
          "bottom-right",
          "bottom-left"
        ],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "BERTHS",
      "minzoom": 15,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "BERTHS",
      "layout": {
        "icon-image": [
          "case",
          [">", ["length", ["get", "OBJNAM"]], 3],
          "Berths_wide",
          [">", ["length", ["get", "OBJNAM"]], 2],
          "Berths_medium",
          "Berths_circle"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,
        "icon-offset": [0, -1],

        "text-field": ["to-string", ["get", "OBJNAM"]],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          10,
          15,
          10,
          17,
          20
        ],
        "text-font": ["Roboto Bold"],
        "text-variable-anchor": ["center"]
      },
      "paint": {
        "text-color": "hsl(336, 91%, 65%)"
      }
    },

    {
      "id": "BUISGL-icon",
      "minzoom": 14,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "BUISGL",
      "layout": {
        "icon-image": [
          "match",
          ["get", "FUNCTN"],
          ["[2]"],
          "F60_Harbor_marsters_office",
          ["[3]"],
          "F61_Custom_office",
          ["[4]"],
          "F62_2_Hospital",
          ["[5]"],
          "F62_2_Hospital",
          ["[6]"],
          "F63_Post_office",
          ["[20]"],
          "E10_Church",
          ["case", ["==", ["geometry-type"], "Point"], "Building", "NO_SYMBOL"]
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      },
      "paint": {}
    },

    {
      "id": "BUISGL-text",
      "minzoom": 14,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "BUISGL",
      "filter": ["any", ["has", "FUNCTN"], ["has", "OBJNAM"]],
      "layout": {
        "text-field": [
          "concat",
          [
            "match",
            ["get", "FUNCTN"],
            ["[11]"],
            "Pilots\n",
            ["[12]"],
            "Pilot lookout\n",
            ""
          ],
          ["get", "OBJNAM"]
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-font": ["Roboto"],
        "text-offset": [0, 1],
        "text-variable-anchor": [
          "top-right",
          "top-left",
          "bottom-right",
          "bottom-left"
        ],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "HRBFAC-text",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "HRBFAC",
      "layout": {
        "text-field": [
          "match",
          ["get", "CATHAF"],
          ["[1]"],
          "RoRo",
          ["get", "OBJNAM"]
        ],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-font": ["Roboto"],
        "text-variable-anchor": [
          "top-right",
          "top-left",
          "bottom-right",
          "bottom-left"
        ],
        "text-offset": [0.75, 0.75],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "ACHARE_LINE",
      "minzoom": 12,
      "type": "line",
      "source": "nautical",
      "source-layer": "ACHARE_LINE",
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": "hsl(336, 91%, 65%)",
        "line-dasharray": [3, 3]
      }
    },
    {
      "id": "ACHBRT_LINE",
      "minzoom": 12,
      "type": "line",
      "source": "nautical",
      "source-layer": "ACHBRT_LINE",
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": "hsl(336, 91%, 65%)",
        "line-dasharray": [3, 3]
      }
    },

    {
      "id": "ACHARE_POINT",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "ACHARE_POINT",
      "layout": {
        "text-optional": true,
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0, 1.25],
        "text-variable-anchor": ["top", "top-right", "top-left"],
        "text-justify": "auto",
        "text-field": ["get", "OBJNAM"],

        "icon-image": "N12_Anchorage",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      },
      "paint": {
        "text-color": "hsl(336, 91%, 65%)"
      }
    },
    {
      "id": "ACHBRT_POINT",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "ACHBRT_POINT",
      "layout": {
        "text-optional": false,
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0, 0],
        "text-variable-anchor": ["center"],
        "text-justify": "auto",
        "text-field": ["get", "OBJNAM"],

        "icon-image": "N11_1_Designated_Anchor_Berth",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      },
      "paint": {
        "text-color": "hsl(336, 91%, 65%)",
        "icon-translate": [0, -1]
      }
    },

    {
      "id": "PILBOP",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "PILBOP",
      "layout": {
        "icon-image": "T1_pilot_boarding_place",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,

        "text-optional": true,
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0, 1.5],
        "text-variable-anchor": [
          "top",
          "top-right",
          "top-left",
          "bottom-right",
          "bottom-left",
          "bottom"
        ],
        "text-justify": "auto",
        "text-field": ["get", "OBJNAM"]
      },
      "paint": {
        "text-color": "hsl(336, 91%, 65%)"
      }
    },

    {
      "id": "LNDMRK-colour",
      "minzoom": 2,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "LNDMRK",
      "filter": [
        "all",
        ["==", ["geometry-type"], "Point"],
        [
          "any",
          [">=", ["zoom"], 11],
          ["==", ["get", "COUNTRY_CODE"], "SE"],
          ["==", ["get", "COUNTRY_CODE"], "NO"]
        ]
      ],
      "layout": {
        "text-optional": true,
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0.5, 0.75],
        "text-variable-anchor": [
          "top",
          "top-right",
          "top-left",
          "bottom-right",
          "bottom-left",
          "right",
          "left"
        ],
        "text-justify": "auto",
        "text-field": ["get", "COLOUR_TEXT"]
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "LNDMRK-point",
      "minzoom": 9,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "LNDMRK",
      "filter": [
        "all",
        ["==", ["geometry-type"], "Point"],
        [
          "any",
          [">=", ["zoom"], 11],
          ["==", ["get", "COUNTRY_CODE"], "SE"],
          ["==", ["get", "COUNTRY_CODE"], "NO"]
        ]
      ],
      "layout": {
        "icon-image": [
          "match",
          ["get", "FUNCTN"],
          ["[20]"],
          "E10_Church",
          [
            "match",
            ["get", "CATLMK"],
            ["[]"],
            "F22_Post",
            ["[1]"],
            "Q100_Cairn",
            ["[3]"],
            "E22_Chimney",
            ["[6]"],
            "E23_Flare_stack",
            ["[7]"],
            [
              "match",
              ["get", "FUNCTN"],
              ["[30,31]", "[30,31,33]"],
              "E28_Radio_mast",
              "E2x_Mast"
            ],
            ["[9]", "[13]"],
            "E24_Monument",
            ["[15]"],
            "S26_Pylon",
            ["[17]"],
            [
              "match",
              ["get", "FUNCTN"],
              ["[30,31]", "[30,31,33]"],
              "E29_Radio_tower",
              "E20_Tower"
            ],
            ["[18]"],
            "E25_Windmill",
            ["[19]"],
            "E26_Windmotor",
            ["[17,20]", "[20]"],
            "E10_Church",
            "NO_SYMBOL"
          ]
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,

        "text-optional": true,
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0.5, 0.75],
        "text-variable-anchor": ["top", "top-right", "top-left"],
        "text-justify": "auto",
        "text-field": [
          "concat",
          ["case", ["has", "OBJNAM"], ["concat", ["get", "OBJNAM"], "\n"], ""],
          ["get", "LIGHTS_TEXT"]
        ]
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "DMPGRD_POINT",
      "minzoom": 10,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "DMPGRD_POINT",
      "layout": {
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-variable-anchor": [
          "center",
          "top-left",
          "top-right",
          "bottom-left",
          "bottom-right",
          "top",
          "bottom"
        ],
        "text-justify": "auto",
        "text-field": [
          "case",
          ["==", ["get", "CATDPG"], "[2]"],
          "Dumping Ground for Chemicals",
          ["==", ["get", "CATDPG"], "[4]"],
          "Explosives Dumping Ground",
          ["==", ["get", "CATDPG"], "[5]"],
          "Spoil Ground",
          ""
        ]
      },
      "paint": {
        "text-color": [
          "case",
          ["!=", ["get", "CATDPG"], "[5]"],
          "hsl(336, 91%, 65%)",
          "hsl(0, 0%, 0%)"
        ]
      }
    },

    {
      "id": "LOGPON_POINT",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "LOGPON_POINT",
      "layout": {
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-variable-anchor": [
          "center",
          "top-left",
          "top-right",
          "bottom-left",
          "bottom-right",
          "top",
          "bottom"
        ],
        "text-justify": "auto",
        "text-field": "Log Pond"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "RESARE_POINT_text",
      "minzoom": 14,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "RESARE_POINT",
      "layout": {
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [1, 1.25],
        "text-variable-anchor": [
          "top",
          "top-left",
          "top-right",
          "bottom-left",
          "bottom-right",
          "bottom"
        ],
        "text-justify": "auto",
        "text-field": [
          "concat",
          ["case", ["has", "INFORM"], ["concat", ["get", "INFORM"], "\n"], ""],
          [
            "case",
            [
              "all",
              ["has", "PERSTADAY"],
              ["has", "PERSTAMONTH"],
              ["has", "PERENDDAY"],
              ["has", "PERENDMONTH"]
            ],
            [
              "concat",
              ["to-string", ["get", "PERSTADAY"]],
              " ",
              [
                "match",
                ["get", "PERSTAMONTH"],
                [1],
                "Jan",
                [2],
                "Feb",
                [3],
                "Mars",
                [4],
                "April",
                [5],
                "Maj",
                [6],
                "Juni",
                [7],
                "Juli",
                [8],
                "Aug",
                [9],
                "Sept",
                [10],
                "Okt",
                [11],
                "Nov",
                [12],
                "Dec",
                ""
              ],
              "—",
              ["to-string", ["get", "PERENDDAY"]],
              " ",
              [
                "match",
                ["get", "PERENDMONTH"],
                [1],
                "Jan",
                [2],
                "Feb",
                [3],
                "Mars",
                [4],
                "April",
                [5],
                "Maj",
                [6],
                "Juni",
                [7],
                "Juli",
                [8],
                "Aug",
                [9],
                "Sept",
                [10],
                "Okt",
                [11],
                "Nov",
                [12],
                "Dec",
                ""
              ],
              "\n"
            ],
            ""
          ],
          [
            "case",
            ["any", ["has", "DATSTA"], ["has", "DATEND"]],
            [
              "concat",
              "(",
              ["to-string", ["get", "DATSTA"]],
              "–",
              ["to-string", ["get", "DATEND"]],
              ")"
            ],
            ""
          ]
        ]
      },
      "paint": {
        "text-color": [
          "case",
          ["==", ["get", "RENDER_GROUP"], "GREEN"],
          "hsl(120, 100%, 30%)",
          ["==", ["get", "RENDER_GROUP"], "RED"],
          "hsl(336, 91%, 65%)",
          "hsl(0, 0%, 0%)"
        ]
      }
    },

    {
      "id": "RESARE_POINT_text_no_icon",
      "minzoom": 14,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "RESARE_POINT",
      "filter": [
        "match",
        ["get", "CATREA"],
        ["[4]", "[14]", "[25]", "[26]"],
        true,
        false
      ],
      "layout": {
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0, 0],
        "text-variable-anchor": [
          "center",
          "bottom",
          "bottom-right",
          "bottom-left"
        ],
        "text-justify": "auto",
        "text-field": [
          "match",
          ["get", "CATREA"],
          ["[14]"],
          "Mine field",
          ["[25]"],
          "Swinging area",
          ["[26]"],
          "Water skiing area",
          "Nature reserve"
        ]
      },
      "paint": {
        "text-color": [
          "case",
          ["==", ["get", "RENDER_GROUP"], "GREEN"],
          "hsl(120, 100%, 30%)",
          ["==", ["get", "RENDER_GROUP"], "RED"],
          "hsl(336, 91%, 65%)",
          "hsl(0, 0%, 0%)"
        ]
      }
    },

    {
      "id": "PYLONS",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "PYLONS",
      "layout": {
        "icon-image": "S26_Pylon",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,

        "text-field": "Pyl",
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0.75, 0.75],
        "text-variable-anchor": [
          "left",
          "top-left",
          "bottom-left",
          "top-right",
          "right",
          "top",
          "bottom-right",
          "bottom"
        ],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "SISTAT",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SISTAT",
      "layout": {
        "icon-image": "S20_Signal_station",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,

        "text-field": [
          "concat",
          ["case", ["has", "OBJNAM"], ["concat", ["get", "OBJNAM"], "\n"], ""],
          [
            "match",
            ["get", "CATSIT"],
            ["[1]"],
            "SS (Port Control)",
            ["[3]"],
            "SS (INT)",
            ["[6]"],
            "SS (Lock)",
            ["[8]"],
            "SS (Bridge)",
            ["[10]"],
            "SS (Traffic)",
            "SS"
          ]
        ],
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0.75, 0.75],
        "text-variable-anchor": [
          "left",
          "top-left",
          "bottom-left",
          "top-right",
          "right",
          "top",
          "bottom-right",
          "bottom"
        ],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "WRECKS-Text",
      "minzoom": 13,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "WRECKS",
      "layout": {
        "text-field": [
          "step",
          ["zoom"],
          "",
          14,
          [
            "case",
            [
              "any",
              ["has", "VALSOU"],
              [
                "all",
                ["has", "CATWRK"],
                ["match", ["get", "CATWRK"], [4], true, false]
              ]
            ],
            [
              "concat",
              [
                "case",
                [
                  "all",
                  ["has", "CATWRK"],
                  ["match", ["get", "CATWRK"], [4], true, false]
                ],
                "Masts ",
                ""
              ],
              [
                "case",
                ["has", "VALSOU"],
                [
                  "concat",
                  "(",
                  [
                    "number-format",
                    ["get", "VALSOU"],
                    {
                      "locale": "sv-se",
                      "min-fraction-digits": 0,
                      "max-fraction-digits": 1
                    }
                  ],
                  ")"
                ],
                ""
              ]
            ],
            ""
          ]
        ],
        "text-font": ["Roboto Italic"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0.75, 0.75],
        "text-variable-anchor": [
          "top-left",
          "bottom-left",
          "top-right",
          "bottom-right"
        ],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "OBSTRN-Point-Text",
      "minzoom": 13,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "OBSTRN",
      "filter": [
        "all",
        ["==", ["geometry-type"], "Point"],
        [">=", ["zoom"], ["match", ["get", "PRIO"], 1, 13, 14]]
      ],
      "layout": {
        "text-field": [
          "match",
          ["get", "CATOBS"],
          [1, 7],
          "",
          [2],
          "Well",
          [5],
          "",
          [6],
          "",
          [8],
          "Ice boom",
          [10],
          "",
          "Obstn"
        ],
        "text-font": ["Roboto Italic"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0.75, 0.75],
        "text-variable-anchor": [
          "top-left",
          "bottom-left",
          "top-right",
          "bottom-right"
        ],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },
    {
      "id": "OBSTRN-Point-Sounding-Text",
      "minzoom": 13,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "OBSTRN",
      "filter": [
        "all",
        ["match", ["geometry-type"], ["Point"], true, false],
        ["has", "VALSOU"]
      ],
      "layout": {
        "text-field": [
          "concat",
          "(",
          [
            "number-format",
            ["get", "VALSOU"],
            {
              "locale": "sv-se",
              "min-fraction-digits": 0,
              "max-fraction-digits": 1
            }
          ],
          ")"
        ],
        "text-font": ["Roboto Italic"],
        "text-optional": true,
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0.75, 0.75],
        "text-variable-anchor": [
          "left",
          "top-left",
          "bottom-left",
          "top-right",
          "right",
          "top",
          "bottom-right",
          "bottom"
        ],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "SMCFAC-point-text",
      "minzoom": 14,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SMCFAC",
      "filter": [
        "all",
        ["==", ["geometry-type"], "Point"],
        [
          "match",
          ["get", "SYMBOL"],
          [
            "391.151",
            "391.052",
            "391.012",
            "391.07",
            "391.146",
            "391.061",
            "391.049",
            "391.038",
            "391.131",
            "391.127"
          ],
          true,
          false
        ]
      ],
      "layout": {
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-variable-anchor": [
          "center",
          "top-left",
          "top-right",
          "bottom-left",
          "bottom-right"
        ],
        "text-justify": "auto",
        "text-field": [
          "match",
          ["get", "SYMBOL"],
          ["391.151"],
          "Restaurang",
          ["391.052"],
          "Husbilar",
          ["391.012"],
          "Service",
          ["391.07"],
          "Trailerramp",
          ["391.146"],
          "Butik",
          ["391.061"],
          "Hostel",
          ["391.049"],
          "Verkstad",
          ["391.038"],
          "Sopor",
          ["391.131"],
          "Dusch",
          ["391.127"],
          "Vatten",
          ""
        ]
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "POINTR-text",
      "minzoom": 15,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "POINTR",
      "filter": [
        "match",
        ["get", "SYMBOL"],
        ["391.121", "391.107", "391.002"],
        false,
        true
      ],
      "layout": {
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-field": [
          "match",
          ["get", "SYMBOL"],
          ["391.171"],
          "Turbåtsbrygga",
          ["391.137"],
          "Bastu",
          ["391.113"],
          "Kajakuthyrning",
          ["391.141"],
          "Kiosk",
          ["391.082"],
          "Rastplats",
          ["391.079"],
          "Lekplats",
          ["391.021"],
          "Handikappanpassat",
          ["392.005"],
          "Labyrint",
          ["392.006"],
          "Sevärdhet",
          ["391.081"],
          "Vindskydd",
          ["391.158"],
          "Bageri",
          ["391.18"],
          "Båttvätt",
          ["391.116"],
          "Cykeluthyrning",
          ["391.086"],
          "Vandringsled",
          ["391.0"],
          "Information",
          ""
        ],
        "text-variable-anchor": [
          "center",
          "top-left",
          "top-right",
          "bottom-left",
          "bottom-right"
        ],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "PILPNT",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "PILPNT",
      "layout": {
        "icon-image": [
          "match",
          ["get", "CATPLE"],
          1,
          ["case", ["has", "LIGHTS_TEXT"], "P1_Light-fixed", "F22_Post"],
          3,
          ["case", ["has", "LIGHTS_TEXT"], "P1_Light-fixed", "F22_Post"],
          "P1_Light-fixed"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,

        "text-optional": true,
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0.75, 1.1],
        "text-variable-anchor": ["top", "top-right", "top-left"],
        "text-justify": "auto",
        "text-field": [
          "concat",
          ["case", ["has", "OBJNAM"], ["concat", ["get", "OBJNAM"], "\n"], ""],
          ["get", "LIGHTS_TEXT"]
        ]
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "MORFAC-colour",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "MORFAC",
      "layout": {
        "text-optional": true,
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0.5, 0.75],
        "text-variable-anchor": [
          "top",
          "top-right",
          "top-left",
          "bottom-right",
          "bottom-left",
          "right",
          "left"
        ],
        "text-justify": "auto",
        "text-field": ["get", "COLOUR_TEXT"]
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },
    {
      "id": "MORFAC",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "MORFAC",
      "layout": {
        "text-optional": true,
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0, 0.75],
        "text-variable-anchor": ["top", "top-right", "top-left"],
        "text-justify": "auto",
        "text-field": [
          "concat",
          ["case", ["has", "OBJNAM"], ["concat", ["get", "OBJNAM"], "\n"], ""],
          ["get", "LIGHTS_TEXT"]
        ],
        "icon-image": [
          "match",
          ["get", "CATMOR"],
          1,
          "F20_Dolphin",
          2,
          "F21_Deviation_dolphin",
          3,
          "F20_Dolphin",
          5,
          "F22_Post",
          7,
          "Q40a_Mooring_buoy",
          "NO_SYMBOL"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "TOPMAR",
      "minzoom": 9,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "TOPMAR",
      "filter": [
        "any",
        [">=", ["zoom"], 11],
        ["==", ["get", "COUNTRY_CODE"], "SE"],
        ["==", ["get", "COUNTRY_CODE"], "NO"]
      ],
      "layout": {
        "icon-image": [
          "match",
          ["get", "TOPSHP"],
          [1],
          [
            "match",
            ["get", "BCNSHP"],
            [1, 4, 5, 99],
            "Q9_Cone_point_up_D",
            [
              "match",
              ["get", "BOYSHP"],
              [4, 5, 99],
              [
                "match",
                ["get", "COLOUR"],
                ["[4]"],
                "Q9_Cone_point_up_A_G",
                "Q9_Cone_point_up_A"
              ],
              [1],
              [
                "match",
                ["get", "COLOUR"],
                ["[4]"],
                "Q9_Cone_point_up_B_G",
                "Q9_Cone_point_up_B"
              ],
              "Q9_Cone_point_up_D"
            ]
          ],
          [2],
          [
            "match",
            ["get", "BCNSHP"],
            [1, 4, 5, 99],
            "Q9_Cone_point_down_D",
            "Q9_Cone_point_down_A"
          ],
          [3],
          [
            "match",
            ["get", "BCNSHP"],
            [1, 4, 5, 99],
            "Q9_Sphere_D",
            [
              "match",
              ["get", "BOYSHP"],
              [3],
              "Q9_Sphere_E",
              [4, 5, 99],
              "Q9_Sphere_A",
              "Q9_Sphere_D"
            ]
          ],
          [4],
          [
            "match",
            ["get", "BCNSHP"],
            [1, 4, 5, 99],
            "Q9_2_spheres_D",
            [
              "match",
              ["get", "BOYSHP"],
              [4, 5, 99],
              "Q9_2_spheres_A",
              "Q9_2_spheres_D"
            ]
          ],
          [5],
          [
            "match",
            ["get", "BCNSHP"],
            [1, 3, 4, 5, 99],
            "Q9_Cylinder_D",
            [
              "match",
              ["get", "BOYSHP"],
              [1],
              [
                "match",
                ["get", "COLOUR"],
                ["[3]"],
                "Q9_Cylinder_B_R",
                "Q9_Cylinder_B"
              ],
              [2, 3],
              [
                "match",
                ["get", "COLOUR"],
                ["[3]"],
                "Q9_Cylinder_E_R",
                "Q9_Cylinder_E"
              ],
              [4, 5, 99],
              [
                "match",
                ["get", "COLOUR"],
                ["[3]"],
                "Q9_Cylinder_A_R",
                "Q9_Cylinder_A"
              ],
              "Q9_Cylinder_D"
            ]
          ],
          [7],
          [
            "match",
            ["get", "BOYSHP"],
            [1],
            "Q9_Xshape_B",
            [2, 3],
            "Q9_Xshape_E",
            [6, 7],
            "Q9_Xshape_C",
            [4, 5, 99],
            "Q9_Xshape_A",
            [
              "match",
              ["get", "BCNSHP"],
              [1, 4, 5, 99],
              "Q9_Xshape_D",
              "Q9_Xshape_D"
            ]
          ],
          [10],
          "Q9_2_cones_point_to_point_A",
          [11],
          "Q9_2_cones_base_to_base_A",
          [12],
          "Q9_Rhombus_D",
          [13],
          [
            "match",
            ["get", "BOYSHP"],
            [4, 5, 99],
            "Q9_2_cones_points_upward_A",
            "Q9_2_cones_points_upward_D"
          ],
          [14],
          [
            "match",
            ["get", "BOYSHP"],
            [4, 5, 99],
            "Q9_2_cones_points_downward_A",
            "Q9_2_cones_points_downward_D"
          ],
          [17],
          [
            "match",
            ["get", "BOYSHP"],
            [1],
            "Q9_Flag_B",
            [2, 3],
            "Q9_Flag_E",
            "Q9_Flag_A"
          ],
          [18],
          "Q9_Sphere_over_rhombus_D",
          [19],
          "Q9_Square_D",
          [21],
          "Q9_Rectangle_vertical_D",
          [24],
          "Q9_Triangle_point_up_D",
          [25],
          "Q9_Triangle_point_down_D",
          [26],
          "Q9_Circle_D",
          "NO_SYMBOL"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      }
    },

    {
      "id": "BEACONS-colour",
      "minzoom": 9,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "BEACONS",
      "filter": [
        "any",
        [">=", ["zoom"], 11],
        ["==", ["get", "COUNTRY_CODE"], "SE"],
        ["==", ["get", "COUNTRY_CODE"], "NO"]
      ],
      "layout": {
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-field": ["get", "COLOUR_TEXT"],
        "text-offset": [0.5, 0.75],
        "text-variable-anchor": [
          "top",
          "top-right",
          "top-left",
          "bottom-right",
          "bottom-left",
          "right",
          "left"
        ]
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "BEACONS-outer",
      "minzoom": 9,
      "maxzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "BEACONS",
      "filter": [
        "any",
        [">=", ["zoom"], 11],
        ["==", ["get", "COUNTRY_CODE"], "SE"],
        ["==", ["get", "COUNTRY_CODE"], "NO"]
      ],
      "layout": {
        "text-optional": true,
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0, 0.75],
        "text-variable-anchor": ["top", "top-right", "top-left"],
        "text-justify": "auto",
        "text-field": [
          "concat",
          [
            "case",
            ["has", "OBJNAM"],
            [
              "concat",
              ["get", "OBJNAM"],
              [
                "case",
                ["has", "STATUS_TEXT"],
                ["concat", " ", ["get", "STATUS_TEXT"]],
                ""
              ],
              "\n"
            ],
            ""
          ],
          ["get", "LIGHTS_TEXT"]
        ],
        "icon-image": [
          "match",
          ["get", "BCNSHP"],
          [1, 2],
          "Q90_Stake_pole",
          3,
          "P1_Light-fixed",
          4,
          "Q111_Lattice_beacon",
          6,
          "Q100_Cairn",
          "Q81_Beacon"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "BEACONS",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "BEACONS",
      "layout": {
        "text-optional": true,
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0, 0.75],
        "text-variable-anchor": ["top", "top-right", "top-left"],
        "text-justify": "auto",
        "text-field": [
          "concat",
          [
            "case",
            ["has", "OBJNAM"],
            [
              "concat",
              ["get", "OBJNAM"],
              [
                "case",
                ["has", "STATUS_TEXT"],
                ["concat", " ", ["get", "STATUS_TEXT"]],
                ""
              ],
              "\n"
            ],
            ""
          ],
          ["get", "LIGHTS_TEXT"]
        ],
        "icon-image": [
          "match",
          ["get", "BCNSHP"],
          [1, 2],
          "Q90_Stake_pole",
          3,
          "Q110_Beacon_tower",
          4,
          "Q111_Lattice_beacon",
          6,
          "Q100_Cairn",
          "Q81_Beacon"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "BOYS-colour",
      "minzoom": 9,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "BOYS",
      "filter": [
        "any",
        [">=", ["zoom"], 11],
        ["==", ["get", "COUNTRY_CODE"], "SE"],
        ["==", ["get", "COUNTRY_CODE"], "NO"]
      ],
      "layout": {
        "text-optional": true,
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0.5, 0.75],
        "text-variable-anchor": [
          "top",
          "top-right",
          "top-left",
          "bottom-right",
          "bottom-left",
          "right",
          "left"
        ],
        "text-justify": "auto",
        "text-field": ["get", "COLOUR_TEXT"]
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },
    {
      "id": "BOYS",
      "minzoom": 9,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "BOYS",
      "filter": [
        "any",
        [">=", ["zoom"], 11],
        ["==", ["get", "COUNTRY_CODE"], "SE"],
        ["==", ["get", "COUNTRY_CODE"], "NO"]
      ],
      "layout": {
        "text-optional": true,
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0, 0.75],
        "text-variable-anchor": ["top", "top-right", "top-left"],
        "text-justify": "auto",
        "text-field": [
          "concat",
          ["case", ["has", "OBJNAM"], ["concat", ["get", "OBJNAM"], "\n"], ""],
          ["get", "LIGHTS_TEXT"]
        ],
        "icon-image": [
          "match",
          ["get", "BOYSHP"],
          [1],
          [
            "match",
            ["get", "COLOUR"],
            ["[2]"],
            "Q20b_Conical_buoy",
            ["[3]"],
            "Q20b_Conical_buoy_R",
            ["[4]"],
            "Q20b_Conical_buoy_G",
            "Q20a_Conical_buoy"
          ],
          [2],
          [
            "match",
            ["get", "COLOUR"],
            ["[3]"],
            "Q21b_Can_buoy_R",
            ["[4]"],
            "Q21b_Can_buoy_G",
            "Q21a_Can_buoy"
          ],
          [3],
          [
            "match",
            ["get", "COLPAT"],
            ["[2]"],
            "Q22c_Spherical_buoy",
            "Q22a_Spherical_buoy"
          ],
          [4],
          [
            "match",
            ["get", "COLPAT"],
            ["[2]"],
            "Q23c_Pillar_buoy",
            [
              "match",
              ["get", "COLOUR"],
              ["[2]"],
              "Q23b_Pillar_buoy",
              ["[3]"],
              "Q23b_Pillar_buoy_R",
              ["[4]"],
              "Q23b_Pillar_buoy_G",
              "Q23_Pillar_buoy"
            ]
          ],
          [5],
          [
            "match",
            ["get", "COLOUR"],
            ["[3]"],
            "Q24_Spar_buoy_R",
            ["[4]"],
            "Q24_Spar_buoy_G",
            "Q24_Spar_buoy"
          ],
          [6],
          "Q25a_Barrel_buoy",
          [7],
          "Q26_Super_buoy",
          "Q24_Spar_buoy"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "BEACONS-radar-reflectors",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "BEACONS",
      "filter": ["has", "CONRAD"],
      "layout": {
        "icon-image": [
          "match",
          ["get", "CONRAD"],
          [1],
          "S5_Radar_conspicuous",
          [2],
          "S4_Radar_reflector",
          [3],
          "S4_Radar_reflector",
          "S4_Radar_reflector"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      }
    },

    {
      "id": "BOYS-radar-reflectors",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "BOYS",
      "filter": ["has", "CONRAD"],
      "layout": {
        "icon-image": [
          "match",
          ["get", "CONRAD"],
          [1],
          "S5_Radar_conspicuous",
          [2],
          "S4_Radar_reflector",
          [3],
          "S4_Radar_reflector",
          "S4_Radar_reflector"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      }
    },

    {
      "id": "POINTR-icon",
      "minzoom": 14,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "POINTR",
      "layout": {
        "icon-image": [
          "match",
          ["get", "SYMBOL"],
          "391.121",
          "Swimming",
          "391.107",
          "Antiquities",
          "391.002",
          "D18_Heliport",
          "NO_SYMBOL"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      }
    },

    {
      "id": "SMCFAC-point-berth-longside",
      "minzoom": 16,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SMCFAC",
      "filter": [
        "all",
        ["==", ["geometry-type"], "Point"],
        ["==", ["get", "CATSCF"], 1],
        ["match", ["get", "SYMBOL"], ["392.002"], true, false]
      ],
      "layout": {
        "icon-image": [
          "match",
          ["get", "SYMBOL"],
          ["392.002"],
          "Berth_longside",
          "NO_SYMBOL"
        ],
        "icon-rotate": ["*", -1, ["get", "ANGLE"]],
        "icon-rotation-alignment": "map",
        "icon-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          16,
          0.5,
          17,
          1,
          20,
          2
        ],
        "icon-allow-overlap": true,
        "icon-ignore-placement": false
      }
    },

    {
      "id": "SMCFAC-point-berth-front",
      "minzoom": 15,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SMCFAC",
      "filter": [
        "all",
        ["==", ["geometry-type"], "Point"],
        ["==", ["get", "CATSCF"], 1],
        ["match", ["get", "SYMBOL"], ["392.002"], false, true]
      ],
      "layout": {
        "icon-image": [
          "match",
          ["get", "SYMBOL"],
          ["391.502"],
          "Visitors_Berth_piles",
          ["391.504"],
          "Visitors_Berth_Y-booms",
          ["391.508"],
          "Visitors_Berth_buoy_from_the_stern",
          ["391.509"],
          "Visitors_Berth_mooring_line",
          ["391.512"],
          "Visitors_Berth_anchor_from_the_stern",
          ["391.602"],
          "Assigned_Berth_piles",
          ["391.604"],
          "Assigned_Berth_Y-booms",
          ["391.608"],
          "Assigned_Berth_buoy_from_the_stern",
          ["391.609"],
          "Assigned_Berth_mooring_line",
          ["391.612"],
          "Assigned_Berth_anchor_from_the_stern",
          ["392.002"],
          "Berth_longside",
          "NO_SYMBOL"
        ],
        "icon-rotate": ["*", -1, ["get", "ANGLE"]],
        "icon-rotation-alignment": "map",
        "icon-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          15,
          0.5,
          16,
          1,
          17,
          2
        ],
        "icon-allow-overlap": true,
        "icon-ignore-placement": false,
        "icon-offset": [0, -1]
      }
    },

    {
      "id": "SMCFAC-point-berth-side",
      "minzoom": 15,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SMCFAC",
      "filter": [
        "all",
        ["==", ["geometry-type"], "Point"],
        ["==", ["get", "CATSCF"], 1],
        ["match", ["get", "SYMBOL"], ["391.5", "391.6"], true, false]
      ],
      "layout": {
        "icon-image": [
          "match",
          ["get", "SYMBOL"],
          ["391.5"],
          "Visitors_Berth_alongside",
          ["391.6"],
          "Assigned_Berth_alongside",
          "NO_SYMBOL"
        ],
        "icon-rotate": ["*", -1, ["get", "ANGLE"]],
        "icon-rotation-alignment": "map",
        "icon-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          15,
          0.5,
          16,
          1,
          17,
          2
        ],
        "icon-allow-overlap": true,
        "icon-ignore-placement": false,
        "icon-offset": [0, -1]
      }
    },

    {
      "id": "SMCFAC-point-simple",
      "minzoom": 14,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SMCFAC",
      "filter": [
        "all",
        ["==", ["geometry-type"], "Point"],
        ["!=", ["get", "CATSCF"], 1]
      ],
      "layout": {
        "icon-image": [
          "match",
          ["get", "SYMBOL"],
          ["392.0"],
          "Mountain_loop",
          ["390.005"],
          "Q40a_Mooring_buoy",
          ["359.0"],
          "U26_2_Sewerage_pump_out_station_on_water",
          ["359.003"],
          "U26_Sewerage_pump_out_station",
          ["391.027"],
          "U23_Public_toilet",
          ["391.005"],
          "Dry_toilet",
          ["391.047"],
          "U18_Fuel_station",
          ["391.073"],
          "F53_1_Crane",
          "NO_SYMBOL"
        ],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2]
      }
    },

    {
      "id": "SLCONS-text",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SLCONS",
      "filter": ["match", ["get", "CATSLC"], [12, 13], true, false],
      "layout": {
        "text-font": ["Roboto"],
        "text-field": [
          "match",
          ["get", "CATSLC"],
          [12],
          "Slip",
          [13],
          "Ramp",
          ""
        ],
        "text-variable-anchor": ["top", "top-right", "top-left"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ]
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "SLCONS-text-Line",
      "minzoom": 15,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SLCONS",
      "filter": [
        "all",
        ["==", ["geometry-type"], "LineString"],
        ["has", "OBJNAM"]
      ],
      "layout": {
        "text-font": ["Roboto"],
        "text-field": ["get", "OBJNAM"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "symbol-placement": "line",
        "text-rotation-alignment": "map",
        "text-offset": [0, 1],
        "symbol-spacing": 450,
        "text-keep-upright": true
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "BRIDGE_POINT_HORCLR",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "BRIDGE_POINT",
      "filter": ["has", "HORCLR"],
      "minzoom": 14,
      "layout": {
        "icon-image": "Horisontal_clearance",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,
        "icon-anchor": "top",

        "text-optional": false,
        "text-font": ["Roboto"],
        "text-field": [
          "number-format",
          ["get", "HORCLR"],
          {
            "locale": "sv-se",
            "min-fraction-digits": 0,
            "max-fraction-digits": 1
          }
        ],
        "text-anchor": "top",
        "text-offset": [0, 2],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-rotation-alignment": "viewport"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },
    {
      "id": "BRIDGE_POINT_VERCLR",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "BRIDGE_POINT",
      "filter": ["has", "VERCLR"],
      "minzoom": 14,
      "layout": {
        "icon-image": "Vertical_clearance",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,
        "icon-anchor": "center",

        "text-optional": false,
        "text-font": ["Roboto"],
        "text-field": [
          "concat",
          "(",
          [
            "number-format",
            ["get", "VERCLR"],
            {
              "locale": "sv-se",
              "min-fraction-digits": 0,
              "max-fraction-digits": 1
            }
          ],
          ")"
        ],
        "text-anchor": "center",
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0, 0.05]
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "BRIDGE_POINT_VERCCL",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "BRIDGE_POINT",
      "filter": ["has", "VERCCL"],
      "minzoom": 14,
      "layout": {
        "icon-image": "Vertical_clearance",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,
        "icon-anchor": "left",

        "text-optional": false,
        "text-font": ["Roboto"],
        "text-field": [
          "concat",
          "(",
          [
            "number-format",
            ["get", "VERCCL"],
            {
              "locale": "sv-se",
              "min-fraction-digits": 0,
              "max-fraction-digits": 1
            }
          ],
          ")"
        ],
        "text-anchor": "left",
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [1.5, 0.05]
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "BRIDGE_POINT_VERCOP",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "BRIDGE_POINT",
      "filter": ["has", "VERCOP"],
      "minzoom": 14,
      "layout": {
        "icon-image": "Vertical_clearance",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,
        "icon-anchor": "bottom",

        "text-optional": false,
        "text-font": ["Roboto"],
        "text-field": [
          "concat",
          "(open ",
          [
            "number-format",
            ["get", "VERCOP"],
            {
              "locale": "sv-se",
              "min-fraction-digits": 0,
              "max-fraction-digits": 1
            }
          ],
          ")"
        ],
        "text-anchor": "bottom",
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0, -1.9]
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "BRIDGE_POINT_OPENING",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "BRIDGE_POINT",
      "filter": [
        "match",
        ["get", "CATBRG"],
        ["[2]", "[3]", "[4]", "[5]", "[6]", "[7]"],
        true,
        false
      ],
      "minzoom": 14,
      "layout": {
        "icon-image": "Opening_bridge",
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,
        "icon-anchor": "center"
      },
      "paint": {}
    },

    {
      "id": "RDOCAL_line",
      "minzoom": 12,
      "type": "line",
      "source": "nautical",
      "source-layer": "RDOCAL",
      "filter": ["match", ["geometry-type"], ["LineString"], true, false],
      "layout": {},
      "paint": {
        "line-width": 1,
        "line-color": "hsl(336, 91%, 65%)",
        "line-dasharray": [3, 3]
      }
    },
    {
      "id": "RDOCAL_point",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "RDOCAL",
      "filter": ["match", ["geometry-type"], ["Point"], true, false],
      "layout": {
        "icon-image": [
          "match",
          ["get", "TRAFIC"],
          [1],
          "M40_2_Radio_reporting",
          [2],
          "M40_2_Radio_reporting",
          [3],
          "M40_2_Radio_reporting",
          [4],
          "M40_1_Radio_reporting",
          "NO_SYMBOL"
        ],

        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-rotate": ["get", "ORIENT"],
        "icon-rotation-alignment": "map",
        "icon-allow-overlap": true,
        "icon-ignore-placement": true,

        "text-optional": false,
        "text-font": ["Roboto Medium"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0, 0],
        "text-anchor": "center",
        "text-field": [
          "case",
          ["has", "OBJNAM"],
          ["get", "OBJNAM"],
          ["has", "COMCHA"],
          ["get", "COMCHA"],
          ""
        ]
      },
      "paint": {
        "icon-translate": [0, -1],
        "text-color": "hsl(336, 91%, 65%)"
      }
    },

    {
      "id": "LIGHTHOUSES-colour",
      "minzoom": 12,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "LIGHTHOUSES",
      "layout": {
        "text-optional": true,
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0.5, 0.75],
        "text-variable-anchor": [
          "top",
          "top-right",
          "top-left",
          "bottom-right",
          "bottom-left",
          "right",
          "left"
        ],
        "text-justify": "auto",
        "text-field": ["get", "COLOUR_TEXT"]
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },
    {
      "id": "LIGHTHOUSES-icon",
      "minzoom": 8,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "LIGHTHOUSES",
      "filter": [
        ">=",
        ["zoom"],
        ["match", ["get", "COUNTRY_CODE"], "FI", 10, 9]
      ],
      "layout": {
        "icon-image": [
          "step",
          ["zoom"],
          "P1_Light-fixed",
          11,
          [
            "case",
            ["get", "HAS_TOPMARK"],
            "P1_Light-fixed_topmark",
            "P1_Light-fixed"
          ]
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 15, 1, 17, 2],
        "icon-allow-overlap": true,
        "icon-ignore-placement": true
      },
      "paint": {}
    },

    {
      "id": "LIGHTHOUSES-text",
      "minzoom": 2,
      "type": "symbol",
      "source": "nautical",
      "source-layer": "LIGHTHOUSES",
      "filter": [
        ">=",
        ["zoom"],
        ["match", ["get", "COUNTRY_CODE"], "FI", 10, 9]
      ],
      "layout": {
        "text-font": ["Roboto"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-offset": [0, 1.1],
        "text-variable-anchor": [
          "top",
          "top-right",
          "top-left",
          "bottom",
          "bottom-right",
          "bottom-left"
        ],
        "text-justify": "auto",
        "text-field": [
          "concat",
          ["case", ["has", "OBJNAM"], ["concat", ["get", "OBJNAM"], "\n"], ""],
          ["get", "LIGHTS_TEXT"]
        ]
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "LAKARE_POINT-text",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "LAKARE_POINT",
      "filter": [">=", ["zoom"], ["match", ["get", "PRIO"], 1, 1, 2, 10, 11]],
      "minzoom": 2,
      "layout": {
        "text-field": ["to-string", ["get", "OBJNAM"]],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          13,
          11,
          15,
          13,
          17,
          26
        ],
        "text-font": ["Roboto Italic"],
        "text-variable-anchor": [
          "center",
          "top",
          "top-left",
          "left",
          "bottom-left",
          "bottom",
          "bottom-right",
          "right",
          "top-right"
        ],
        "text-padding": ["step", ["zoom"], 5, 13, 0],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(213, 59%, 43%)"
      }
    },

    {
      "id": "SEAARE_POINT",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SEAARE_POINT",
      "filter": [
        "all",
        ["!", ["has", "SIZE"]],
        [">=", ["zoom"], ["match", ["get", "PRIO"], 1, 1, 2, 10, 11]]
      ],
      "minzoom": 2,
      "layout": {
        "text-field": ["to-string", ["get", "OBJNAM"]],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          13,
          11,
          15,
          13,
          17,
          26
        ],
        "text-font": ["Roboto Italic"],
        "text-variable-anchor": [
          "center",
          "top",
          "top-left",
          "left",
          "bottom-left",
          "bottom",
          "bottom-right",
          "right",
          "top-right"
        ],
        "text-padding": ["step", ["zoom"], 5, 13, 0],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(213, 59%, 43%)"
      }
    },

    {
      "id": "SEAARE_POINT HG XS",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SEAARE_POINT",
      "filter": ["==", ["get", "SIZE"], "XS"],
      "minzoom": 14,
      "layout": {
        "text-field": ["to-string", ["get", "OBJNAM"]],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          14,
          10,
          15,
          11,
          17,
          22
        ],
        "text-font": ["Roboto Italic"],
        "text-variable-anchor": [
          "center",
          "top",
          "top-left",
          "left",
          "bottom-left",
          "bottom",
          "bottom-right",
          "right",
          "top-right"
        ],
        "text-padding": 0,
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(213, 59%, 43%)"
      }
    },

    {
      "id": "SEAARE_POINT HG S",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SEAARE_POINT",
      "filter": ["==", ["get", "SIZE"], "S"],
      "minzoom": 12,
      "layout": {
        "text-field": ["to-string", ["get", "OBJNAM"]],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          0,
          11,
          15,
          11,
          17,
          22
        ],
        "text-font": ["Roboto Italic"],
        "text-variable-anchor": [
          "center",
          "top",
          "top-left",
          "left",
          "bottom-left",
          "bottom",
          "bottom-right",
          "right",
          "top-right"
        ],
        "text-padding": 0,
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(213, 59%, 43%)"
      }
    },

    {
      "id": "SEAARE_POINT HG M",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SEAARE_POINT",
      "filter": ["==", ["get", "SIZE"], "M"],
      "minzoom": 11,
      "layout": {
        "text-field": ["to-string", ["get", "OBJNAM"]],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          13,
          11,
          15,
          13,
          17,
          26
        ],
        "text-font": ["Roboto Italic"],
        "text-variable-anchor": [
          "center",
          "top",
          "top-left",
          "left",
          "bottom-left",
          "bottom",
          "bottom-right",
          "right",
          "top-right"
        ],
        "text-padding": ["step", ["zoom"], 5, 13, 0],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(213, 59%, 43%)"
      }
    },

    {
      "id": "SEAARE_POINT HG L",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SEAARE_POINT",
      "filter": ["==", ["get", "SIZE"], "L"],
      "minzoom": 2,
      "layout": {
        "text-field": ["to-string", ["get", "OBJNAM"]],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          13,
          11,
          14,
          13,
          16,
          15,
          17,
          30
        ],
        "text-font": ["Roboto Italic"],
        "text-variable-anchor": [
          "center",
          "top",
          "top-left",
          "left",
          "bottom-left",
          "bottom",
          "bottom-right",
          "right",
          "top-right"
        ],
        "text-padding": ["step", ["zoom"], 5, 13, 0],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(213, 59%, 43%)"
      }
    },

    {
      "id": "SEAARE_POINT HG XL",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "SEAARE_POINT",
      "filter": ["==", ["get", "SIZE"], "XL"],
      "minzoom": 2,
      "layout": {
        "text-field": ["to-string", ["get", "OBJNAM"]],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          9,
          11,
          13,
          13,
          15,
          17,
          17,
          34
        ],
        "text-font": ["Roboto Italic"],
        "text-variable-anchor": [
          "center",
          "top",
          "top-left",
          "left",
          "bottom-left",
          "bottom",
          "bottom-right",
          "right",
          "top-right"
        ],
        "text-padding": ["step", ["zoom"], 5, 13, 0],
        "text-justify": "auto"
      },
      "paint": {
        "text-color": "hsl(213, 59%, 43%)"
      }
    },

    {
      "id": "LNDRGN_POINT",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "LNDRGN_POINT",
      "filter": [
        "all",
        ["!", ["has", "SIZE"]],
        [">=", ["zoom"], ["match", ["get", "PRIO"], 1, 1, 2, 10, 3, 11, 12]]
      ],
      "minzoom": 2,
      "layout": {
        "text-field": ["to-string", ["get", "OBJNAM"]],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          13,
          11,
          15,
          13,
          17,
          26
        ],
        "text-font": ["Roboto Bold"],
        "text-variable-anchor": [
          "center",
          "top",
          "top-left",
          "left",
          "bottom-left",
          "bottom",
          "bottom-right",
          "right",
          "top-right"
        ],
        "text-padding": ["step", ["zoom"], 5, 13, 0],
        "text-justify": "auto",
        "symbol-sort-key": ["get", "PRIO"]
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "LNDRGN_POINT HG XS",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "LNDRGN_POINT",
      "filter": ["==", ["get", "SIZE"], "XS"],
      "minzoom": 14,
      "layout": {
        "text-field": ["to-string", ["get", "OBJNAM"]],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          14,
          10,
          15,
          11,
          17,
          22
        ],
        "text-font": ["Roboto Bold"],
        "text-variable-anchor": [
          "center",
          "top",
          "top-left",
          "left",
          "bottom-left",
          "bottom",
          "bottom-right",
          "right",
          "top-right"
        ],
        "text-justify": "auto",
        "symbol-sort-key": ["get", "PRIO"]
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "LNDRGN_POINT HG S",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "LNDRGN_POINT",
      "filter": ["==", ["get", "SIZE"], "S"],
      "minzoom": 12,
      "layout": {
        "text-field": ["to-string", ["get", "OBJNAM"]],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          13,
          10,
          15,
          11,
          17,
          22
        ],
        "text-font": ["Roboto Bold"],
        "text-variable-anchor": [
          "center",
          "top",
          "top-left",
          "left",
          "bottom-left",
          "bottom",
          "bottom-right",
          "right",
          "top-right"
        ],
        "text-padding": ["step", ["zoom"], 5, 14, 0],
        "text-justify": "auto",
        "symbol-sort-key": ["get", "PRIO"]
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "LNDRGN_POINT HG M",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "LNDRGN_POINT",
      "filter": ["==", ["get", "SIZE"], "M"],
      "minzoom": 10,
      "layout": {
        "text-field": ["to-string", ["get", "OBJNAM"]],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          11,
          11,
          15,
          13,
          17,
          26
        ],
        "text-font": ["Roboto Bold"],
        "text-variable-anchor": [
          "center",
          "top",
          "top-left",
          "left",
          "bottom-left",
          "bottom",
          "bottom-right",
          "right",
          "top-right"
        ],
        "text-padding": ["step", ["zoom"], 5, 14, 0],
        "text-justify": "auto",
        "symbol-sort-key": ["get", "PRIO"]
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "LNDRGN_POINT HG L",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "LNDRGN_POINT",
      "filter": ["==", ["get", "SIZE"], "L"],
      "minzoom": 10,
      "layout": {
        "text-field": ["to-string", ["get", "OBJNAM"]],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          13,
          11,
          14,
          13,
          16,
          15,
          17,
          30
        ],
        "text-font": ["Roboto Bold"],
        "text-variable-anchor": [
          "center",
          "top",
          "top-left",
          "left",
          "bottom-left",
          "bottom",
          "bottom-right",
          "right",
          "top-right"
        ],
        "text-padding": ["step", ["zoom"], 5, 14, 0],
        "text-justify": "auto",
        "symbol-sort-key": ["get", "PRIO"]
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    },

    {
      "id": "LNDRGN_POINT HG XL",
      "type": "symbol",
      "source": "nautical",
      "source-layer": "LNDRGN_POINT",
      "filter": ["==", ["get", "SIZE"], "XL"],
      "minzoom": 2,
      "layout": {
        "text-field": ["to-string", ["get", "OBJNAM"]],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          9,
          11,
          13,
          13,
          15,
          17,
          17,
          34
        ],
        "text-font": ["Roboto Bold"],
        "text-variable-anchor": [
          "center",
          "top",
          "top-left",
          "left",
          "bottom-left",
          "bottom",
          "bottom-right",
          "right",
          "top-right"
        ],
        "text-padding": ["step", ["zoom"], 5, 13, 0],
        "text-justify": "auto",
        "symbol-sort-key": ["get", "PRIO"]
      },
      "paint": {
        "text-color": "hsl(0, 0%, 0%)"
      }
    }
  ]
}
