{
  "version": 8,
  "name": "navsea-semantic-only",
  "glyphs": "http://192.168.200.184/newpec/fonts/{fontstack}/{range}.pbf",
  "sources": {
    "navsea": {
      "type": "vector",
      "minzoom": 0,
      "maxzoom": 12,
      "tiles": [
        "http://192.168.200.184/pbf/{z}/{x}/{y}.pbf"
      ],
      "attribution": "NavSea semantic vector tiles"
    }
  },
  "layers": [
    {
      "id": "background",
      "type": "background",
      "paint": {
        "background-color": "#edf3ef"
      }
    },
    {
      "id": "land-fill",
      "type": "fill",
      "source": "navsea",
      "source-layer": "P陸域",
      "paint": {
        "fill-color": "#d8cda8"
      }
    },
    {
      "id": "hole-fill",
      "type": "fill",
      "source": "navsea",
      "source-layer": "P穴",
      "paint": {
        "fill-color": "#c7cfbb"
      }
    },
    {
      "id": "surface-water",
      "type": "fill",
      "source": "navsea",
      "source-layer": "P基本線",
      "filter": [
        "match",
        [
          "get",
          "canonical_object_type"
        ],
        [
          "0-2m",
          "0-5m",
          "2-5m",
          "5-10m",
          "10-20m",
          "20-100m",
          "100-200m",
          "200-500m",
          "500-1000m",
          "1000-2000m",
          "2000-3000m",
          "3000-4000m",
          "4000-5000m",
          "5000-6000m",
          "6000-7000m",
          "7000-8000m",
          "8000-9000m",
          "9000m以深",
          "干潮帯",
          "河川域",
          "湖沼域",
          "陸上水域"
        ],
        true,
        false
      ],
      "paint": {
        "fill-color": [
          "match",
          [
            "get",
            "canonical_object_type"
          ],
          "干潮帯",
          "#d7cfb4",
          "河川域",
          "#afd8e7",
          "湖沼域",
          "#afd8e7",
          "陸上水域",
          "#afd8e7",
          "0-2m",
          "#d8f1f4",
          "0-5m",
          "#d0edf1",
          "2-5m",
          "#c4e7ed",
          "5-10m",
          "#b6dfe8",
          "10-20m",
          "#a8d6e1",
          "20-100m",
          "#96cbd8",
          "100-200m",
          "#84bfd0",
          "200-500m",
          "#71afc2",
          "500-1000m",
          "#629fb4",
          "1000-2000m",
          "#548ea4",
          "2000-3000m",
          "#497c93",
          "3000-4000m",
          "#3f6c84",
          "4000-5000m",
          "#365e75",
          "5000-6000m",
          "#2f5268",
          "6000-7000m",
          "#28475d",
          "7000-8000m",
          "#213d52",
          "8000-9000m",
          "#1d3448",
          "#182c3f"
        ],
        "fill-opacity": 0.88
      }
    },
    {
      "id": "hazard-area",
      "type": "fill",
      "source": "navsea",
      "source-layer": "P基本線",
      "filter": [
        "match",
        [
          "get",
          "canonical_object_type"
        ],
        [
          "浅所危険界",
          "未測海域",
          "浮施設・桟橋",
          "防波堤",
          "撤去跡"
        ],
        true,
        false
      ],
      "paint": {
        "fill-color": [
          "match",
          [
            "get",
            "canonical_object_type"
          ],
          "浅所危険界",
          "#ee9f56",
          "未測海域",
          "#eadf9b",
          "浮施設・桟橋",
          "#88857d",
          "防波堤",
          "#7d796f",
          "#9d7c67"
        ],
        "fill-opacity": 0.45
      }
    },
    {
      "id": "fishery-area",
      "type": "fill",
      "source": "navsea",
      "source-layer": "P漁具定置箇所",
      "paint": {
        "fill-color": "#7db065",
        "fill-opacity": 0.38,
        "fill-outline-color": "#507541"
      }
    },
    {
      "id": "hazard-polygon",
      "type": "fill",
      "source": "navsea",
      "source-layer": "P投錨注意障害物",
      "paint": {
        "fill-color": "#d15d49",
        "fill-opacity": 0.4,
        "fill-outline-color": "#8b3226"
      }
    },
    {
      "id": "bridge-fill",
      "type": "fill",
      "source": "navsea",
      "source-layer": "P橋りょう等構造物",
      "paint": {
        "fill-color": "#71685b",
        "fill-opacity": 0.8
      }
    },
    {
      "id": "land-structure-fill",
      "type": "fill",
      "source": "navsea",
      "source-layer": "P陸上構造物陸",
      "paint": {
        "fill-color": "#896d3d",
        "fill-opacity": 0.82
      }
    },
    {
      "id": "submerged-fill",
      "type": "fill",
      "source": "navsea",
      "source-layer": "P潜堤",
      "paint": {
        "fill-color": "#757d95",
        "fill-opacity": 0.45
      }
    },
    {
      "id": "depth-lines",
      "type": "line",
      "source": "navsea",
      "source-layer": "L等深線",
      "paint": {
        "line-color": "#447a94",
        "line-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          5,
          0.3,
          8,
          0.6,
          12,
          1.1
        ],
        "line-opacity": 0.9
      }
    },
    {
      "id": "major-depth-lines",
      "type": "line",
      "source": "navsea",
      "source-layer": "L概略等深線",
      "paint": {
        "line-color": "#275f77",
        "line-width": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          5,
          0.5,
          8,
          0.9,
          12,
          1.5
        ]
      }
    },
    {
      "id": "bathymetry-support",
      "type": "line",
      "source": "navsea",
      "source-layer": "L海底地形",
      "paint": {
        "line-color": "#8aadb9",
        "line-width": 0.45,
        "line-opacity": 0.4
      }
    },
    {
      "id": "cable-line",
      "type": "line",
      "source": "navsea",
      "source-layer": "L海底線",
      "paint": {
        "line-color": "#7d4a94",
        "line-width": 1.2,
        "line-dasharray": [
          3,
          1
        ]
      }
    },
    {
      "id": "coast-structure-line",
      "type": "line",
      "source": "navsea",
      "source-layer": "L基本線",
      "paint": {
        "line-color": "#635d53",
        "line-width": 1.4
      }
    },
    {
      "id": "land-structure-line",
      "type": "line",
      "source": "navsea",
      "source-layer": "L陸上構造物陸",
      "paint": {
        "line-color": "#7b5d2e",
        "line-width": 1
      }
    },
    {
      "id": "boundary-line",
      "type": "line",
      "source": "navsea",
      "source-layer": "L739",
      "paint": {
        "line-color": "#4f8ba5",
        "line-width": 1.1
      }
    },
    {
      "id": "regulatory-line",
      "type": "line",
      "source": "navsea",
      "source-layer": "L741",
      "paint": {
        "line-color": "#c95b46",
        "line-width": 1.2,
        "line-dasharray": [
          2,
          2
        ]
      }
    },
    {
      "id": "height-limit-line",
      "type": "line",
      "source": "navsea",
      "source-layer": "L高さ制限",
      "paint": {
        "line-color": "#a93a62",
        "line-width": 1.1
      }
    },
    {
      "id": "coast-outline",
      "type": "line",
      "source": "navsea",
      "source-layer": "P基本線ククリ",
      "paint": {
        "line-color": "#7d7566",
        "line-width": 1
      }
    },
    {
      "id": "danger-outline",
      "type": "line",
      "source": "navsea",
      "source-layer": "P危険界ククリ",
      "paint": {
        "line-color": "#c35f31",
        "line-width": 1.2,
        "line-dasharray": [
          2,
          1
        ]
      }
    },
    {
      "id": "anchor-outline",
      "type": "line",
      "source": "navsea",
      "source-layer": "P投錨注意障害物ククリ",
      "paint": {
        "line-color": "#b64335",
        "line-width": 1.1,
        "line-dasharray": [
          1,
          1
        ]
      }
    },
    {
      "id": "hazard-points",
      "type": "circle",
      "source": "navsea",
      "source-layer": "p航行危険障害物",
      "paint": {
        "circle-radius": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          7,
          2,
          10,
          4,
          12,
          6
        ],
        "circle-color": "#d1442f",
        "circle-stroke-color": "#fff4ea",
        "circle-stroke-width": 1
      }
    },
    {
      "id": "anchor-hazard-points",
      "type": "circle",
      "source": "navsea",
      "source-layer": "p投錨注意障害物",
      "paint": {
        "circle-radius": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          7,
          2,
          10,
          4,
          12,
          6
        ],
        "circle-color": "#d18a38",
        "circle-stroke-color": "#fff6e7",
        "circle-stroke-width": 1
      }
    },
    {
      "id": "nav-points",
      "type": "circle",
      "source": "navsea",
      "source-layer": "p航路標識群",
      "paint": {
        "circle-radius": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          7,
          2,
          10,
          4,
          12,
          6
        ],
        "circle-color": "#f1cb4d",
        "circle-stroke-color": "#313131",
        "circle-stroke-width": 1
      }
    },
    {
      "id": "facility-points",
      "type": "circle",
      "source": "navsea",
      "source-layer": "p施設・境界線等",
      "paint": {
        "circle-radius": 3.5,
        "circle-color": "#4f6b86",
        "circle-stroke-color": "#ffffff",
        "circle-stroke-width": 0.8
      }
    },
    {
      "id": "bottom-points",
      "type": "circle",
      "source": "navsea",
      "source-layer": "p底質",
      "paint": {
        "circle-radius": 1.8,
        "circle-color": "#3d7182",
        "circle-opacity": 0.65
      }
    },
    {
      "id": "landmark-points",
      "type": "circle",
      "source": "navsea",
      "source-layer": "p陸上構造物",
      "paint": {
        "circle-radius": 3,
        "circle-color": "#6a5640",
        "circle-stroke-color": "#fff7eb",
        "circle-stroke-width": 0.8
      }
    },
    {
      "id": "height-points",
      "type": "circle",
      "source": "navsea",
      "source-layer": "p高さ制限",
      "paint": {
        "circle-radius": 3,
        "circle-color": "#aa365f",
        "circle-stroke-color": "#ffffff",
        "circle-stroke-width": 0.8
      }
    },
    {
      "id": "sea-labels",
      "type": "symbol",
      "source": "navsea",
      "source-layer": "p地名",
      "layout": {
        "text-field": [
          "coalesce",
          [
            "get",
            "日本語地名"
          ],
          [
            "get",
            "英文字地名"
          ],
          [
            "get",
            "canonical_object_type"
          ]
        ],
        "text-font": [
          "NotoSerifCJK-Regular"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          6,
          9,
          12,
          15
        ],
        "text-anchor": "center",
        "text-max-width": 10
      },
      "paint": {
        "text-color": "#264858",
        "text-halo-color": "#f8fcff",
        "text-halo-width": 1
      }
    },
    {
      "id": "land-labels",
      "type": "symbol",
      "source": "navsea",
      "source-layer": "p地名陸",
      "layout": {
        "text-field": [
          "coalesce",
          [
            "get",
            "日本語地名"
          ],
          [
            "get",
            "英文字地名"
          ],
          [
            "get",
            "canonical_object_type"
          ]
        ],
        "text-font": [
          "NotoSerifCJK-Regular"
        ],
        "text-size": [
          "interpolate",
          [
            "linear"
          ],
          [
            "zoom"
          ],
          6,
          9,
          12,
          15
        ],
        "text-anchor": "center",
        "text-max-width": 10
      },
      "paint": {
        "text-color": "#3a3228",
        "text-halo-color": "#fff8ef",
        "text-halo-width": 1
      }
    },
    {
      "id": "nav-labels",
      "type": "symbol",
      "source": "navsea",
      "source-layer": "p航路標識群",
      "minzoom": 10,
      "layout": {
        "text-field": [
          "coalesce",
          [
            "get",
            "名称"
          ],
          [
            "get",
            "canonical_object_type"
          ]
        ],
        "text-font": [
          "NotoSansCJK-Regular"
        ],
        "text-size": 11,
        "text-offset": [
          0,
          1.1
        ],
        "text-anchor": "top"
      },
      "paint": {
        "text-color": "#303030",
        "text-halo-color": "#fff8df",
        "text-halo-width": 1
      }
    },
    {
      "id": "hazard-labels",
      "type": "symbol",
      "source": "navsea",
      "source-layer": "p航行危険障害物",
      "minzoom": 10,
      "layout": {
        "text-field": [
          "coalesce",
          [
            "get",
            "名称"
          ],
          [
            "get",
            "canonical_object_type"
          ]
        ],
        "text-font": [
          "NotoSansCJK-Regular"
        ],
        "text-size": 11,
        "text-offset": [
          0,
          1.1
        ],
        "text-anchor": "top"
      },
      "paint": {
        "text-color": "#7c2219",
        "text-halo-color": "#fff4ec",
        "text-halo-width": 1
      }
    }
  ]
}
