Files
CM95/config/style/style.navsea-delivery-full-semantic-unified-20260808-cm95-v1.json

2496 lines
51 KiB
JSON

{
"version": 8,
"name": "NavSea Delivery Full Semantic Unified 20260808 + CM95 Soundings v1",
"sprite": "http://192.168.200.184/newpec/sprite-semantic-unified-20260808/sprite",
"glyphs": "http://192.168.200.184/newpec/fonts/{fontstack}/{range}.pbf",
"sources": {
"mapple": {
"type": "raster",
"minzoom": 0,
"maxzoom": 19,
"tileSize": 256,
"tiles": [
"https://cyberjapandata.gsi.go.jp/xyz/std/{z}/{x}/{y}.png"
],
"attribution": "© 昭文社"
},
"tide": {
"type": "vector",
"minzoom": 8,
"maxzoom": 8,
"tiles": [
"https://tile.mapple-on.jp/tide-mvt/{z}/{x}/{y}.pbf?ver=20251001"
],
"attribution": "© 日本水路協会"
},
"navsea_delivery": {
"type": "vector",
"minzoom": 0,
"maxzoom": 12,
"tiles": [
"http://192.168.200.184/pbf-delivery-full-semantic-unified-20260808/{z}/{x}/{y}.pbf"
],
"attribution": "NavSea semantic vector tiles"
}
},
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "rgba(255,255,255,1)"
}
},
{
"id": "base-raster",
"type": "raster",
"source": "mapple",
"paint": {
"raster-opacity": 1,
"raster-saturation": 0,
"raster-contrast": 0.05
}
},
{
"id": "tide-spots",
"type": "symbol",
"source": "tide",
"source-layer": "tide",
"layout": {
"icon-allow-overlap": true,
"icon-image": "tide_spot"
}
},
{
"id": "sea-area-fill",
"type": "fill",
"source": "navsea_delivery",
"source-layer": "baseline_area",
"filter": [
"any",
[
"match",
[
"get",
"chart_fill_style"
],
[
"depth_zone_0-2m",
"depth_zone_0-5m",
"depth_zone_0-10m",
"depth_zone_0-20m",
"depth_zone_2-5m",
"depth_zone_2-10m",
"depth_zone_2-20m",
"depth_zone_5-10m",
"depth_zone_5-20m",
"depth_zone_10-20m",
"depth_zone_20-100m",
"depth_zone_20-200m",
"depth_zone_100-200m",
"depth_zone_200-500m",
"depth_zone_500-1000m",
"depth_zone_1000-2000m",
"depth_zone_2000-3000m",
"depth_zone_3000-4000m",
"depth_zone_4000-5000m",
"depth_zone_5000-6000m",
"depth_zone_6000-7000m",
"depth_zone_7000-8000m",
"depth_zone_8000-9000m",
"depth_zone_over_9000m",
"water_area"
],
true,
false
],
[
"match",
[
"get",
"canonical_object_type"
],
[
"0-2m",
"0-5m",
"0-10m",
"0-20m",
"2-5m",
"2-10m",
"2-20m",
"5-10m",
"5-20m",
"10-20m",
"20-100m",
"20-200m",
"100-200m",
"200-500m",
"500-1000m",
"1000-2000m",
"2000-3000m",
"3000-4000m",
"4000-5000m",
"5000-6000m",
"6000-7000m",
"7000-8000m",
"8000-9000m",
"over_9000m"
],
true,
false
]
],
"paint": {
"fill-color": [
"match",
[
"get",
"canonical_object_type"
],
"0-2m",
"rgba(240,250,255,1)",
"0-5m",
"rgba(240,250,255,1)",
"0-10m",
"rgba(230,250,255,1)",
"0-20m",
"rgba(220,250,251,1)",
"2-5m",
"rgba(240,250,255,1)",
"2-10m",
"rgba(230,250,255,1)",
"2-20m",
"rgba(220,250,255,1)",
"5-10m",
"rgba(230,250,255,1)",
"5-20m",
"rgba(220,250,255,1)",
"10-20m",
"rgba(220,250,255,1)",
"20-100m",
"rgba(200,240,255,1)",
"20-200m",
"rgba(200,230,255,1)",
"100-200m",
"rgba(200,230,255,1)",
"200-500m",
"rgba(180,220,255,1)",
"500-1000m",
"rgba(171,192,255,1)",
"1000-2000m",
"rgba(163,181,255,1)",
"2000-3000m",
"rgba(132,169,255,1)",
"3000-4000m",
"rgba(89,155,255,1)",
"4000-5000m",
"rgba(90,140,255,1)",
"5000-6000m",
"rgba(100,132,255,1)",
"6000-7000m",
"rgba(128,128,255,1)",
"7000-8000m",
"rgba(139,118,255,1)",
"8000-9000m",
"rgba(150,100,255,1)",
"over_9000m",
"rgba(160,100,255,1)",
"river_area",
"rgba(129,195,226,1)",
"lake_area",
"rgba(129,195,226,1)",
"inland_water_area",
"rgba(129,195,226,1)",
"tidal_flat",
"rgba(143,191,147,1)",
[
"match",
[
"get",
"chart_fill_style"
],
"depth_zone_0-2m",
"rgba(240,250,255,1)",
"depth_zone_0-5m",
"rgba(240,250,255,1)",
"depth_zone_0-10m",
"rgba(230,250,255,1)",
"depth_zone_0-20m",
"rgba(220,250,251,1)",
"depth_zone_2-5m",
"rgba(240,250,255,1)",
"depth_zone_2-10m",
"rgba(230,250,255,1)",
"depth_zone_2-20m",
"rgba(220,250,255,1)",
"depth_zone_5-10m",
"rgba(230,250,255,1)",
"depth_zone_5-20m",
"rgba(220,250,255,1)",
"depth_zone_10-20m",
"rgba(220,250,255,1)",
"depth_zone_20-100m",
"rgba(200,240,255,1)",
"depth_zone_20-200m",
"rgba(200,230,255,1)",
"depth_zone_100-200m",
"rgba(200,230,255,1)",
"depth_zone_200-500m",
"rgba(180,220,255,1)",
"depth_zone_500-1000m",
"rgba(171,192,255,1)",
"depth_zone_1000-2000m",
"rgba(163,181,255,1)",
"depth_zone_2000-3000m",
"rgba(132,169,255,1)",
"depth_zone_3000-4000m",
"rgba(89,155,255,1)",
"depth_zone_4000-5000m",
"rgba(90,140,255,1)",
"depth_zone_5000-6000m",
"rgba(100,132,255,1)",
"depth_zone_6000-7000m",
"rgba(128,128,255,1)",
"depth_zone_7000-8000m",
"rgba(139,118,255,1)",
"depth_zone_8000-9000m",
"rgba(150,100,255,1)",
"depth_zone_over_9000m",
"rgba(160,100,255,1)",
"water_area",
"rgba(129,195,226,1)",
"rgba(160,100,255,1)"
]
]
}
},
{
"id": "tidal-flat",
"type": "fill",
"source": "navsea_delivery",
"source-layer": "baseline_area",
"filter": [
"any",
[
"==",
[
"get",
"chart_fill_style"
],
"tidal_flat"
],
[
"==",
[
"get",
"canonical_object_type"
],
"tidal_flat"
]
],
"paint": {
"fill-color": "rgba(143,191,147,1)"
}
},
{
"id": "river-water",
"type": "fill",
"source": "navsea_delivery",
"source-layer": "baseline_area",
"filter": [
"any",
[
"==",
[
"get",
"chart_fill_style"
],
"river_water"
],
[
"match",
[
"get",
"canonical_object_type"
],
[
"river_area",
"lake_area",
"inland_water_area"
],
true,
false
]
],
"paint": {
"fill-color": "rgba(129,195,226,1)"
}
},
{
"id": "unsurveyed-area",
"type": "fill",
"source": "navsea_delivery",
"source-layer": "baseline_area",
"filter": [
"any",
[
"==",
[
"get",
"chart_fill_style"
],
"unsurveyed_area"
],
[
"==",
[
"get",
"canonical_object_type"
],
"unsurveyed_area"
]
],
"paint": {
"fill-color": "#efe3a8",
"fill-opacity": 0.55
}
},
{
"id": "shoal-danger-area",
"type": "fill",
"source": "navsea_delivery",
"source-layer": "baseline_area",
"filter": [
"any",
[
"==",
[
"get",
"chart_fill_style"
],
"shoal_danger_area"
],
[
"==",
[
"get",
"canonical_object_type"
],
"shoal_danger_area"
]
],
"paint": {
"fill-color": "#f0a85d",
"fill-opacity": 0.45
}
},
{
"id": "coast-structures-area",
"type": "fill",
"source": "navsea_delivery",
"source-layer": "baseline_area",
"filter": [
"any",
[
"==",
[
"get",
"chart_fill_style"
],
"coast_structure_area"
],
[
"match",
[
"get",
"canonical_object_type"
],
[
"breakwater",
"floating_facility_pier",
"removed_structure_remains"
],
true,
false
]
],
"paint": {
"fill-color": "#8e887d",
"fill-opacity": 0.85
}
},
{
"id": "hazard-polygons",
"type": "fill",
"source": "navsea_delivery",
"source-layer": "anchor_caution_hazard_area",
"paint": {
"fill-pattern": [
"coalesce",
[
"get",
"chart_fill_pattern"
],
""
]
}
},
{
"id": "navigation-hazard-polygons",
"type": "fill",
"source": "navsea_delivery",
"source-layer": "navigation_hazard_area",
"paint": {
"fill-pattern": [
"coalesce",
[
"get",
"chart_fill_pattern"
],
""
]
}
},
{
"id": "fishery-areas",
"type": "fill",
"source": "navsea_delivery",
"source-layer": "fixed_fishing_gear_area",
"paint": {
"fill-pattern": [
"coalesce",
[
"get",
"chart_fill_pattern"
],
""
]
}
},
{
"id": "fishery-areas-outline",
"type": "line",
"source": "navsea_delivery",
"source-layer": "fixed_fishing_gear_area",
"paint": {
"line-color": "rgba(198,77,187,1)",
"line-width": 1
}
},
{
"id": "anchorage-areas",
"type": "fill",
"source": "navsea_delivery",
"source-layer": "anchorage_area",
"paint": {
"fill-color": "rgba(0,0,0,0)"
}
},
{
"id": "facility-zones",
"type": "fill",
"source": "navsea_delivery",
"source-layer": "facility_boundary_area",
"paint": {
"fill-pattern": [
"coalesce",
[
"get",
"chart_fill_pattern"
],
""
]
}
},
{
"id": "submerged-structures",
"type": "fill",
"source": "navsea_delivery",
"source-layer": "submerged_reef_area",
"paint": {
"fill-color": "#7d7f95",
"fill-opacity": 0.45,
"fill-outline-color": "#55586f"
}
},
{
"id": "bridge-area",
"type": "fill",
"source": "navsea_delivery",
"source-layer": "bridge_structure",
"paint": {
"fill-color": "rgba(0,0,0,0)"
}
},
{
"id": "bridge-outline",
"type": "line",
"source": "navsea_delivery",
"source-layer": "bridge_structure",
"paint": {
"line-color": "rgba(95,106,95,1)",
"line-width": 2
}
},
{
"id": "land-structures-area",
"type": "fill",
"source": "navsea_delivery",
"source-layer": "onshore_structure_area",
"paint": {
"fill-color": "#8a6d3b",
"fill-opacity": 0.8
}
},
{
"id": "land-area",
"type": "fill",
"source": "navsea_delivery",
"source-layer": "land_area",
"paint": {
"fill-color": "rgba(210,200,128,1)"
}
},
{
"id": "land-hole",
"type": "fill",
"source": "navsea_delivery",
"source-layer": "hole_area",
"paint": {
"fill-color": "rgba(0,0,0,0)"
}
},
{
"id": "bathymetry-support",
"type": "line",
"source": "navsea_delivery",
"source-layer": "bathymetry_line",
"paint": {
"line-width": [
"match",
[
"get",
"depth_value_m"
],
10,
1,
20,
1,
40,
1,
60,
1,
80,
1,
100,
1,
150,
1,
200,
1,
300,
1,
400,
1,
500,
1,
600,
1,
700,
1,
800,
1,
900,
1,
1000,
1,
1500,
1,
2000,
1,
2500,
1,
3000,
1,
3500,
1,
4000,
1,
4500,
1,
5000,
1,
5500,
1,
6000,
1,
8000,
1,
10000,
1,
0.5
],
"line-color": [
"step",
[
"get",
"depth_value_m"
],
"rgba(126,230,146,1)",
10,
"rgba(106,210,126,1)",
11,
"rgba(126,230,146,1)",
20,
"rgba(106,210,126,1)",
21,
"rgba(126,230,146,1)",
30,
"rgba(144,220,255,1)",
40,
"rgba(113,193,235,1)",
41,
"rgba(133,213,255,1)",
45,
"rgba(122,206,255,1)",
50,
"rgba(111,199,255,1)",
55,
"rgba(100,192,255,1)",
60,
"rgba(69,164,235,1)",
61,
"rgba(89,184,255,1)",
65,
"rgba(78,177,255,1)",
70,
"rgba(67,170,255,1)",
75,
"rgba(56,163,255,1)",
80,
"rgba(24,136,235,1)",
81,
"rgba(44,156,255,1)",
85,
"rgba(22,142,255,1)",
90,
"rgba(33,149,255,1)",
95,
"rgba(11,135,255,1)",
100,
"rgba(0,108,235,1)",
101,
"rgba(0,128,255,1)",
110,
"rgba(0,115,255,1)",
120,
"rgba(0,102,255,1)",
130,
"rgba(0,90,255,1)",
140,
"rgba(0,77,255,1)",
150,
"rgba(0,44,235,1)",
151,
"rgba(0,64,255,1)",
160,
"rgba(0,51,255,1)",
170,
"rgba(0,38,255,1)",
180,
"rgba(0,26,255,1)",
190,
"rgba(0,13,255,1)",
200,
"rgba(0,0,235,1)",
201,
"rgba(0,0,255,1)",
300,
"rgba(0,0,219,1)",
301,
"rgba(0,0,239,1)",
400,
"rgba(0,0,203,1)",
401,
"rgba(0,0,223,1)",
500,
"rgba(0,0,187,1)",
501,
"rgba(0,0,207,1)",
600,
"rgba(0,0,172,1)",
601,
"rgba(0,0,192,1)",
700,
"rgba(0,0,156,1)",
701,
"rgba(0,0,176,1)",
800,
"rgba(0,0,140,1)",
801,
"rgba(0,0,160,1)",
900,
"rgba(0,0,124,1)",
901,
"rgba(0,0,144,1)",
1000,
"rgba(0,0,108,1)",
1001,
"rgba(0,0,128,1)",
1100,
"rgba(0,6,122,1)",
1200,
"rgba(0,13,115,1)",
1300,
"rgba(0,19,109,1)",
1400,
"rgba(0,26,102,1)",
1500,
"rgba(20,50,116,1)",
1501,
"rgba(0,32,96,1)",
1600,
"rgba(0,39,90,1)",
1700,
"rgba(0,45,83,1)",
1800,
"rgba(0,51,77,1)",
1900,
"rgba(0,58,70,1)",
2000,
"rgba(0,51,77,1)",
2001,
"rgba(0,51,77,1)",
2100,
"rgba(0,56,72,1)",
2200,
"rgba(0,61,67,1)",
2300,
"rgba(0,67,61,1)",
2400,
"rgba(0,72,56,1)",
2500,
"rgba(10,87,61,1)",
2501,
"rgba(0,77,51,1)",
2600,
"rgba(0,82,46,1)",
2700,
"rgba(0,87,41,1)",
2800,
"rgba(0,92,36,1)",
2900,
"rgba(0,97,31,1)",
3000,
"rgba(10,112,36,1)",
3001,
"rgba(0,102,26,1)",
3100,
"rgba(0,108,20,1)",
3200,
"rgba(0,113,15,1)",
3300,
"rgba(0,112,10,1)",
3400,
"rgba(0,123,5,1)",
3500,
"rgba(10,138,10,1)",
3501,
"rgba(0,128,0,1)",
3600,
"rgba(2,124,2,1)",
3700,
"rgba(3,121,3,1)",
3800,
"rgba(5,117,5,1)",
3900,
"rgba(6,114,6,1)",
4000,
"rgba(18,120,18,1)",
4001,
"rgba(18,110,18,1)",
4100,
"rgba(10,107,10,1)",
4200,
"rgba(11,103,11,1)",
4300,
"rgba(13,100,13,1)",
4400,
"rgba(14,96,14,1)",
4500,
"rgba(26,103,26,1)",
4501,
"rgba(16,93,16,1)",
4600,
"rgba(18,89,18,1)",
4700,
"rgba(19,26,19,1)",
4800,
"rgba(21,82,21,1)",
4900,
"rgba(22,79,22,1)",
5000,
"rgba(34,85,34,1)",
5001,
"rgba(24,75,24,1)",
5100,
"rgba(26,72,26,1)",
5200,
"rgba(27,68,27,1)",
5300,
"rgba(29,65,29,1)",
5400,
"rgba(30,61,30,1)",
5500,
"rgba(42,68,42,1)",
5501,
"rgba(32,58,32,1)",
5600,
"rgba(34,54,34,1)",
5700,
"rgba(35,51,35,1)",
5800,
"rgba(37,47,37,1)",
5900,
"rgba(38,44,38,1)",
6000,
"rgba(50,50,50,1)",
6001,
"rgba(40,40,40,1)",
6500,
"rgba(58,30,58,1)",
7000,
"rgba(75,20,75,1)",
7500,
"rgba(93,10,93,1)",
8000,
"rgba(120,10,120,1)",
8001,
"rgba(110,0,110,1)",
8500,
"rgba(117,0,117,1)",
9000,
"rgba(123,0,123,1)",
9500,
"rgba(130,0,130,1)",
10000,
"rgba(147,0,147,1)",
10001,
"rgba(137,0,137,1)",
10500,
"rgba(143,0,143,1)"
]
}
},
{
"id": "depth-contours",
"type": "line",
"source": "navsea_delivery",
"source-layer": "depth_contour",
"paint": {
"line-color": "rgba(136,152,139,1)",
"line-width": 1
}
},
{
"id": "depth-contour-labels",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "depth_contour",
"minzoom": 11,
"layout": {
"symbol-placement": "line",
"symbol-spacing": 200,
"text-allow-overlap": true,
"text-field": [
"get",
"chart_label_text"
],
"text-font": [
"NotoSansCJK-Regular"
],
"text-size": 10,
"text-rotation-alignment": "viewport"
},
"filter": [
"all",
[
"==",
[
"get",
"chart_text_style"
],
"depth_text"
],
[
"has",
"chart_label_text"
]
],
"paint": {
"text-color": "rgba(7,7,7,1)"
}
},
{
"id": "bathymetry-depth-labels",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "bathymetry_line",
"minzoom": 11,
"filter": [
"all",
[
"==",
[
"get",
"chart_text_style"
],
"depth_text"
],
[
"has",
"chart_label_text"
]
],
"layout": {
"text-allow-overlap": true,
"symbol-placement": "line",
"symbol-spacing": 200,
"text-field": [
"get",
"chart_label_text"
],
"text-font": [
"NotoSansCJK-Regular"
],
"text-size": 10,
"text-rotation-alignment": "viewport"
},
"paint": {
"text-color": "rgba(7,7,7,1)"
}
},
{
"id": "subsea-cables",
"type": "line",
"source": "navsea_delivery",
"source-layer": "seabed_line",
"paint": {
"line-color": "#814d99",
"line-width": 1.3,
"line-dasharray": [
3,
1.2
]
}
},
{
"id": "coast-structures-line",
"type": "line",
"source": "navsea_delivery",
"source-layer": "baseline_line",
"paint": {
"line-color": "#5f5a50",
"line-width": 1.4
}
},
{
"id": "land-structures-line",
"type": "line",
"source": "navsea_delivery",
"source-layer": "onshore_structure_line",
"paint": {
"line-color": "rgba(147,116,39,1)",
"line-width": 2
}
},
{
"id": "water-boundary",
"type": "line",
"source": "navsea_delivery",
"source-layer": "depth_zone_739",
"paint": {
"line-color": "#4f8ca7",
"line-width": 1.1
}
},
{
"id": "regulatory-boundary",
"type": "line",
"source": "navsea_delivery",
"source-layer": "depth_zone_741",
"paint": {
"line-color": "#cb5c46",
"line-width": 1.2,
"line-dasharray": [
2,
2
]
}
},
{
"id": "height-limit-line",
"type": "line",
"source": "navsea_delivery",
"source-layer": "clearance_limit_line",
"paint": {
"line-color": "#ad3b6a",
"line-width": 1.1
}
},
{
"id": "clip-outline",
"type": "line",
"source": "navsea_delivery",
"source-layer": "baseline_outline",
"paint": {
"line-color": "rgba(95,106,95,1)",
"line-width": 2
}
},
{
"id": "danger-outline",
"type": "line",
"source": "navsea_delivery",
"source-layer": "hazard_boundary_outline",
"paint": {
"line-color": "rgba(95,106,95,1)",
"line-width": 3,
"line-dasharray": [
3,
2
]
}
},
{
"id": "navigation-hazard-outline",
"type": "line",
"source": "navsea_delivery",
"source-layer": "navigation_hazard_outline",
"paint": {
"line-width": [
"coalesce",
[
"get",
"chart_line_width"
],
1
],
"line-color": [
"coalesce",
[
"get",
"chart_line_color"
],
"rgba(136,152,139,1)"
]
}
},
{
"id": "anchor-danger-outline",
"type": "line",
"source": "navsea_delivery",
"source-layer": "anchor_caution_hazard_outline",
"paint": {
"line-width": [
"coalesce",
[
"get",
"chart_line_width"
],
1
],
"line-color": [
"coalesce",
[
"get",
"chart_line_color"
],
"rgba(136,152,139,1)"
]
}
},
{
"id": "anchorage-outline",
"type": "line",
"source": "navsea_delivery",
"source-layer": "anchorage_outline",
"paint": {
"line-color": [
"coalesce",
[
"get",
"chart_line_color"
],
"rgba(136,152,139,1)"
],
"line-width": [
"coalesce",
[
"get",
"chart_line_width"
],
2
],
"line-dasharray": [
2,
1
]
}
},
{
"id": "facility-zone-outline",
"type": "line",
"source": "navsea_delivery",
"source-layer": "facility_boundary_outline",
"paint": {
"line-color": [
"coalesce",
[
"get",
"chart_line_color"
],
"rgba(136,152,139,1)"
],
"line-width": [
"coalesce",
[
"get",
"chart_line_width"
],
1
]
}
},
{
"id": "special-pattern-line-754",
"type": "line",
"source": "navsea_delivery",
"source-layer": "clip_outline_754",
"paint": {
"line-pattern": [
"coalesce",
[
"get",
"chart_line_pattern"
],
""
],
"line-width": 8
}
},
{
"id": "hazard-points",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "navigation_hazard_point",
"layout": {
"icon-allow-overlap": true,
"icon-ignore-placement": true,
"icon-image": [
"coalesce",
[
"get",
"chart_icon_image"
],
""
]
}
},
{
"id": "anchorage-symbols",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "anchorage_point",
"layout": {
"icon-allow-overlap": true,
"icon-ignore-placement": true,
"icon-image": [
"coalesce",
[
"get",
"chart_icon_image"
],
""
]
}
},
{
"id": "anchor-hazard-points",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "anchor_caution_hazard_point",
"layout": {
"icon-allow-overlap": true,
"icon-ignore-placement": true,
"icon-image": [
"coalesce",
[
"get",
"chart_icon_image"
],
""
]
},
"filter": [
"all",
[
"!",
[
"has",
"class_code"
]
],
[
"!=",
[
"get",
"chart_symbol_code"
],
"obstruction"
],
[
"!=",
[
"get",
"chart_symbol_code"
],
"hazard_mark"
],
[
"!=",
[
"get",
"chart_symbol_code"
],
"fish_reef"
]
]
},
{
"id": "anchor-hazard-points-428",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "anchor_caution_hazard_point",
"layout": {
"icon-allow-overlap": true,
"icon-ignore-placement": true,
"icon-image": [
"coalesce",
[
"get",
"chart_icon_image"
],
""
]
}
},
{
"id": "nav-light-flare",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "navigation_marks",
"layout": {
"icon-allow-overlap": true,
"icon-ignore-placement": true,
"icon-size": 1.0,
"icon-image": [
"match",
[
"get",
"light_color_code"
],
"green",
"flare_green",
"red",
"flare_red",
"yellow",
"flare_yellow_white",
"white",
"flare_yellow_white",
"amber",
"flare_yellow_white",
"orange",
"flare_yellow_white",
"flare_yellow_white"
]
},
"filter": [
"all",
[
"has",
"light_color_code"
],
[
"any",
[
"all",
[
"has",
"shape_class_code"
],
[
"match",
[
"to-number",
[
"get",
"shape_class_code"
]
],
301,
true,
302,
true,
303,
true,
306,
true,
311,
true,
312,
true,
315,
true,
316,
true,
318,
true,
320,
true,
322,
true,
324,
true,
326,
true,
328,
true,
332,
true,
334,
true,
false
]
],
[
"all",
[
"has",
"display_code"
],
[
"match",
[
"slice",
[
"get",
"display_code"
],
0,
3
],
"301",
true,
"302",
true,
"303",
true,
"306",
true,
"311",
true,
"312",
true,
"315",
true,
"316",
true,
"318",
true,
"320",
true,
"322",
true,
"324",
true,
"326",
true,
"328",
true,
"332",
true,
"334",
true,
false
]
],
[
"==",
[
"get",
"canonical_object_type"
],
"minor_light"
]
]
]
},
{
"id": "nav-light-arc",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "navigation_marks",
"layout": {
"visibility": "visible",
"icon-allow-overlap": true,
"icon-rotation-alignment": "map",
"icon-image": [
"case",
[
"has",
"arc_id"
],
[
"get",
"arc_id"
],
[
"match",
[
"get",
"light_color_code"
],
"green",
"arc_green",
"red",
"arc_red",
"arc_yellow_white"
]
]
},
"filter": [
"all",
[
"==",
[
"get",
"chart_symbol_code"
],
"lighthouse"
],
[
"has",
"light_color_code"
]
]
},
{
"id": "nav-marks-harbor-lighthouses",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "navigation_marks",
"layout": {
"icon-allow-overlap": true,
"icon-ignore-placement": true,
"icon-size": 1.08,
"icon-image": [
"coalesce",
[
"get",
"chart_icon_image"
],
""
]
},
"filter": [
"any",
[
"all",
[
"has",
"display_code"
],
[
"==",
[
"slice",
[
"get",
"display_code"
],
0,
3
],
"301"
]
],
[
"all",
[
"!",
[
"has",
"display_code"
]
],
[
"==",
[
"get",
"canonical_object_type"
],
"harbor_lighthouse"
]
]
]
},
{
"id": "nav-marks-breakwater-lighthouses",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "navigation_marks",
"layout": {
"icon-allow-overlap": true,
"icon-ignore-placement": true,
"icon-size": 1.08,
"icon-image": [
"coalesce",
[
"get",
"chart_icon_image"
],
""
]
},
"filter": [
"any",
[
"all",
[
"has",
"display_code"
],
[
"==",
[
"slice",
[
"get",
"display_code"
],
0,
3
],
"302"
]
],
[
"all",
[
"!",
[
"has",
"display_code"
]
],
[
"==",
[
"get",
"canonical_object_type"
],
"breakwater_lighthouse"
]
]
]
},
{
"id": "nav-marks-small-lights",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "navigation_marks",
"layout": {
"icon-allow-overlap": true,
"icon-ignore-placement": true,
"icon-image": [
"coalesce",
[
"get",
"chart_icon_image"
],
""
]
},
"filter": [
"any",
[
"all",
[
"has",
"display_code"
],
[
"match",
[
"slice",
[
"get",
"display_code"
],
0,
3
],
"303",
true,
"305",
true,
"306",
true,
"307",
true,
"308",
true,
"309",
true,
false
]
],
[
"all",
[
"!",
[
"has",
"display_code"
]
],
[
"==",
[
"get",
"canonical_object_type"
],
"minor_light"
]
]
]
},
{
"id": "nav-marks-light-beacons",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "navigation_marks",
"layout": {
"icon-allow-overlap": true,
"icon-ignore-placement": true,
"icon-image": [
"coalesce",
[
"get",
"chart_icon_image"
],
""
]
},
"filter": [
"any",
[
"all",
[
"has",
"display_code"
],
[
"==",
[
"slice",
[
"get",
"display_code"
],
0,
3
],
"311"
]
],
[
"all",
[
"!",
[
"has",
"display_code"
]
],
[
"==",
[
"get",
"canonical_object_type"
],
"light_beacon"
]
]
]
},
{
"id": "nav-marks",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "navigation_marks",
"layout": {
"icon-allow-overlap": true,
"icon-ignore-placement": true,
"icon-image": [
"coalesce",
[
"get",
"chart_icon_image"
],
""
]
},
"filter": [
"all",
[
"!",
[
"all",
[
"has",
"display_code"
],
[
"match",
[
"slice",
[
"get",
"display_code"
],
0,
3
],
"301",
true,
"302",
true,
"303",
true,
"305",
true,
"306",
true,
"307",
true,
"308",
true,
"309",
true,
"311",
true,
false
]
]
],
[
"!=",
[
"get",
"canonical_object_type"
],
"harbor_lighthouse"
],
[
"!=",
[
"get",
"canonical_object_type"
],
"breakwater_lighthouse"
],
[
"!=",
[
"get",
"canonical_object_type"
],
"minor_light"
],
[
"!=",
[
"get",
"canonical_object_type"
],
"light_beacon"
]
]
},
{
"id": "facility-points",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "facility_boundary_point",
"layout": {
"icon-allow-overlap": true,
"icon-ignore-placement": true,
"icon-image": [
"coalesce",
[
"get",
"chart_icon_image"
],
""
]
}
},
{
"id": "pilot-station-points",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "pilot_station_point",
"layout": {
"icon-allow-overlap": true,
"icon-ignore-placement": true,
"icon-image": [
"coalesce",
[
"get",
"chart_icon_image"
],
""
]
}
},
{
"id": "landmark-points",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "onshore_structure_point",
"layout": {
"icon-allow-overlap": true,
"icon-ignore-placement": true,
"icon-image": [
"coalesce",
[
"get",
"chart_icon_image"
],
""
]
},
"filter": [
"any",
[
"has",
"class_code"
],
[
"match",
[
"get",
"canonical_object_type"
],
"chimney",
true,
"tower_yagura_windmill",
true,
"maritime_office",
true,
"fishing_cooperative",
true,
"mountain_top",
true,
"other_landmark_monument",
true,
false
]
]
},
{
"id": "landmark-point-fallback",
"type": "circle",
"source": "navsea_delivery",
"source-layer": "onshore_structure_point",
"filter": [
"all",
[
"!",
[
"has",
"class_code"
]
],
[
"match",
[
"get",
"canonical_object_type"
],
"chimney",
false,
"tower_yagura_windmill",
false,
"maritime_office",
false,
"fishing_cooperative",
false,
"mountain_top",
false,
"other_landmark_monument",
false,
true
]
],
"paint": {
"circle-radius": 3,
"circle-color": "#695641",
"circle-stroke-color": "#fff9ee",
"circle-stroke-width": 0.8
}
},
{
"id": "bottom-material-labels",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "seabed_text_point",
"minzoom": 11,
"filter": [
"all",
[
"has",
"chart_label_text"
],
[
"!=",
[
"get",
"canonical_object_type"
],
"spot_sounding"
]
],
"layout": {
"text-allow-overlap": true,
"text-field": [
"get",
"chart_label_text"
],
"text-font": [
"NotoSansCJK-Regular"
],
"text-size": 10
},
"paint": {
"text-color": "rgba(0,0,0,1)"
}
},
{
"id": "spot-sounding-labels",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "seabed_text_point",
"minzoom": 12,
"filter": [
"all",
[
"==",
[
"get",
"canonical_object_type"
],
"spot_sounding"
],
[
"has",
"chart_label_text"
]
],
"layout": {
"text-allow-overlap": false,
"text-field": [
"get",
"chart_label_text"
],
"text-font": [
"NotoSansCJK-Regular"
],
"text-size": 10
},
"paint": {
"text-color": "rgba(7,7,7,1)"
}
},
{
"id": "height-limit-points",
"type": "circle",
"source": "navsea_delivery",
"source-layer": "clearance_limit_point",
"paint": {
"circle-radius": 3.5,
"circle-color": "#ab355f",
"circle-stroke-color": "#ffffff",
"circle-stroke-width": 0.8
}
},
{
"id": "height-limit-name-labels",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "clearance_limit_point",
"minzoom": 11,
"filter": [
"has",
"name_ja"
],
"layout": {
"text-allow-overlap": true,
"text-max-width": 100,
"text-field": [
"get",
"name_ja"
],
"text-font": [
"NotoSansCJK-Regular"
],
"text-size": 12,
"text-anchor": "bottom"
},
"paint": {
"text-color": "rgba(255,0,0,1)"
}
},
{
"id": "height-limit-value-labels",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "clearance_limit_point",
"minzoom": 11,
"filter": [
"has",
"chart_label_text"
],
"layout": {
"text-allow-overlap": true,
"text-max-width": 100,
"text-field": [
"concat",
"高さ",
[
"get",
"chart_label_text"
],
"m"
],
"text-font": [
"NotoSansCJK-Regular"
],
"text-size": 12,
"text-anchor": "top"
},
"paint": {
"text-color": "rgba(255,0,0,1)"
}
},
{
"id": "nav-mark-labels",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "navigation_marks",
"layout": {
"text-allow-overlap": true,
"text-max-width": 100,
"text-field": [
"get",
"chart_label_text"
],
"text-font": [
"NotoSansCJK-Regular"
],
"text-size": 10,
"text-offset": [
"match",
[
"get",
"chart_label_position_code"
],
"tl",
[
"literal",
[
2,
2.5
]
],
"t",
[
"literal",
[
0,
2.5
]
],
"tr",
[
"literal",
[
-2,
2.5
]
],
"l",
[
"literal",
[
2,
0.5
]
],
"c",
[
"literal",
[
0,
0.5
]
],
"r",
[
"literal",
[
-2,
0.5
]
],
"bl",
[
"literal",
[
2,
-1.5
]
],
"b",
[
"literal",
[
0,
-1.5
]
],
"br",
[
"literal",
[
-2,
-1.5
]
],
[
"literal",
[
0,
0.5
]
]
],
"text-anchor": [
"match",
[
"get",
"chart_label_position_code"
],
"tl",
"top-left",
"t",
"top",
"tr",
"top-right",
"l",
"left",
"c",
"center",
"r",
"right",
"bl",
"bottom-left",
"b",
"bottom",
"br",
"bottom-right",
"center"
]
},
"paint": {
"text-color": "rgba(0,0,0,1)"
},
"filter": [
"has",
"chart_label_text"
]
},
{
"id": "nav-light-abbr-labels",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "navigation_marks",
"layout": {
"text-allow-overlap": true,
"text-max-width": 100,
"text-field": [
"get",
"chart_label_subtext"
],
"text-font": [
"NotoSansCJK-Regular"
],
"text-size": 10,
"text-offset": [
"match",
[
"get",
"chart_label_position_code"
],
"tl",
[
"literal",
[
2,
1.5
]
],
"t",
[
"literal",
[
0,
1.5
]
],
"tr",
[
"literal",
[
-2,
1.5
]
],
"l",
[
"literal",
[
2,
-0.5
]
],
"c",
[
"literal",
[
0,
-0.5
]
],
"r",
[
"literal",
[
-2,
-0.5
]
],
"bl",
[
"literal",
[
2,
-2.5
]
],
"b",
[
"literal",
[
0,
-2.5
]
],
"br",
[
"literal",
[
-2,
-2.5
]
],
[
"literal",
[
0,
-0.5
]
]
],
"text-anchor": [
"match",
[
"get",
"chart_label_position_code"
],
"tl",
"top-left",
"t",
"top",
"tr",
"top-right",
"l",
"left",
"c",
"center",
"r",
"right",
"bl",
"bottom-left",
"b",
"bottom",
"br",
"bottom-right",
"center"
]
},
"paint": {
"text-color": [
"case",
[
"==",
[
"get",
"chart_text_color"
],
"#000000"
],
"rgba(0,0,0,1)",
[
"coalesce",
[
"get",
"chart_text_color"
],
"rgba(0,0,0,1)"
]
]
},
"filter": [
"has",
"chart_label_subtext"
]
},
{
"id": "place-labels-sea-en",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "place_label_sea",
"layout": {
"text-allow-overlap": true,
"text-max-width": 100,
"text-field": [
"get",
"place_name_en"
],
"text-font": [
"NotoSerifCJK-Regular"
],
"text-size": 10,
"text-anchor": "top"
},
"paint": {
"text-color": "rgba(0,0,0,1)"
},
"filter": [
"has",
"place_name_en"
]
},
{
"id": "place-labels-sea-ja",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "place_label_sea",
"layout": {
"text-allow-overlap": true,
"text-max-width": 100,
"text-field": [
"get",
"chart_label_text"
],
"text-font": [
"NotoSerifCJK-Regular"
],
"text-size": 10,
"text-anchor": "bottom"
},
"paint": {
"text-color": "rgba(0,0,0,1)"
},
"filter": [
"has",
"chart_label_text"
]
},
{
"id": "place-labels-land-en",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "place_label_land",
"layout": {
"text-allow-overlap": true,
"text-max-width": 100,
"text-field": [
"get",
"place_name_en"
],
"text-font": [
"NotoSerifCJK-Regular"
],
"text-size": 10,
"text-anchor": "top"
},
"paint": {
"text-color": "rgba(0,0,0,1)"
},
"filter": [
"has",
"place_name_en"
]
},
{
"id": "place-labels-land-ja",
"type": "symbol",
"source": "navsea_delivery",
"source-layer": "place_label_land",
"layout": {
"text-allow-overlap": true,
"text-max-width": 100,
"text-field": [
"get",
"chart_label_text"
],
"text-font": [
"NotoSerifCJK-Regular"
],
"text-size": 10,
"text-anchor": "bottom"
},
"paint": {
"text-color": "rgba(0,0,0,1)"
},
"filter": [
"has",
"chart_label_text"
]
}
]
}