{"styles": [{"id": "public_transit_asia_selected_systems_lines", "layer": "tilezen_transit_lines", "when": ["all", ["==", ["get", "source"], "ipc"], ["any", ["ref", "Is.Transit.Subway"], ["ref", "Is.Transit.HighSpeed"]], ["ref", "Is.Transit.Line.MergeCriteria.TypeColor"]], "technique": "line", "description": "Public Transit Asia Selected Systems Lines", "attr": {"category": ["case", ["ref", "Is.Transit.HighSpeed"], "asia-selected-systems-transit-high-speed", "asia-selected-systems-transit-subway"], "color": ["case", ["ref", "Is.Transit.HasLineColor"], ["darken", ["to-color", ["ref", "Transit.Line.Color"]], ["ref", "AsiaSelectedSystems.Transit.Line.Color.Darken"]], ["ref", "Is.Transit.HighSpeed"], ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Fallback.Line.Color"], ["ref", "AsiaSelectedSystems.Transit.Subway.Fallback.Line.Color"]], "lighting-enabled": ["ref", "Lighting.Enabled"], "ambient": ["ref", "Transit.Line.Ambient.Factor"], "diffuse": ["ref", "Transit.Line.Diffuse.Factor"], "width": ["case", ["ref", "Is.Transit.HighSpeed"], ["case", ["ref", "Transit.HighSpeed.Line.MergeCriteria"], ["world-scale", ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Line.Width"]], 0], ["world-scale", ["ref", "AsiaSelectedSystems.Transit.Subway.Line.Width"]]], "offset": ["case", ["ref", "Is.Transit.HighSpeed"], ["world-scale", ["*", ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Line.Offset"], ["ref", "Transit.Line.Offset"]]], ["world-scale", ["*", ["ref", "AsiaSelectedSystems.Transit.Subway.Line.Offset"], ["ref", "Transit.Line.Offset"]]]], "dash-gap-color": ["case", ["ref", "Is.Transit.HighSpeed"], ["ref", "AsiaSelectedSystems.Transit.HighSpeed.SecondLine.Color"], "#00000000"], "dasharray": ["case", ["ref", "Is.Transit.HighSpeed"], ["make-vector", ["world-discrete-scale", ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Line.Gap.Length"]], ["world-discrete-scale", ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Line.Dash.Length"]], 0, 0], null], "opacity": ["case", ["ref", "Is.Transit.Subway"], ["ref", "AsiaSelectedSystems.Transit.Subway.Line.Opacity"], 1], "softdepth": ["ref", "SoftDepth.Threshold"]}}, {"id": "public_transit_asia_selected_systems_outlines", "layer": "tilezen_transit_lines", "when": ["all", ["==", ["get", "source"], "ipc"], ["any", ["ref", "Is.Transit.Subway"], ["ref", "Is.Transit.HighSpeed"]], ["ref", "Is.Transit.Line.MergeCriteria.TypeColor"]], "technique": "line", "description": "Public Transit Asia Selected Systems Outlines", "attr": {"category": ["case", ["ref", "Is.Transit.HighSpeed"], "asia-selected-systems-transit-high-speed-outline", "asia-selected-systems-transit-subway-outline"], "color": ["case", ["all", ["ref", "Is.Transit.HasLineColor"], ["ref", "Is.Transit.HighSpeed"]], ["darken", ["to-color", ["ref", "Transit.Line.Color"]], ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Outline.Color.Darken"]], ["ref", "Is.Transit.HighSpeed"], ["darken", ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Fallback.Outline.Color"], ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Outline.Color.Darken"]], ["ref", "AsiaSelectedSystems.Transit.Subway.Outline.Color"]], "lighting-enabled": ["ref", "Lighting.Enabled"], "ambient": ["ref", "Transit.Line.Ambient.Factor"], "diffuse": ["ref", "Transit.Line.Diffuse.Factor"], "width": ["case", ["ref", "Is.Transit.HighSpeed"], ["case", ["<=", ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Outline.Width"], 0], 0, ["case", ["ref", "Transit.HighSpeed.Line.MergeCriteria"], ["world-scale", ["+", ["*", 2, ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Outline.Width"]], ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Line.Width"]]], 0]], ["case", ["<=", ["ref", "AsiaSelectedSystems.Transit.Subway.Outline.Width"], 0], 0, ["world-scale", ["+", ["*", 2, ["ref", "AsiaSelectedSystems.Transit.Subway.Outline.Width"]], ["ref", "AsiaSelectedSystems.Transit.Subway.Line.Width"]]]]], "offset": ["case", ["ref", "Is.Transit.HighSpeed"], ["world-scale", ["*", ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Line.Offset"], ["ref", "Transit.Line.Offset"]]], ["world-scale", ["*", ["ref", "AsiaSelectedSystems.Transit.Subway.Line.Offset"], ["ref", "Transit.Line.Offset"]]]], "opacity": ["case", ["ref", "Is.Transit.Subway"], ["ref", "AsiaSelectedSystems.Transit.Subway.Outline.Opacity"], 1], "softdepth": ["ref", "SoftDepth.Threshold"]}}, {"id": "public_transit_asia_selected_systems_second_outlines", "layer": "tilezen_transit_lines", "when": ["all", ["==", ["get", "source"], "ipc"], ["ref", "Is.Transit.HighSpeed"], ["ref", "Is.Transit.Line.MergeCriteria.TypeColor"]], "technique": "line", "description": "Public Transit Asia Selected Systems Second Outlines", "attr": {"category": "asia-selected-systems-transit-high-speed-second-outline", "color": ["ref", "Transit.Outline.Color"], "lighting-enabled": ["ref", "Lighting.Enabled"], "ambient": ["ref", "Transit.Line.Ambient.Factor"], "diffuse": ["ref", "Transit.Line.Diffuse.Factor"], "width": ["case", ["<=", ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Second.Outline.Width"], 0], 0, ["case", ["ref", "Transit.HighSpeed.Line.MergeCriteria"], ["world-scale", ["+", ["+", ["*", 2, ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Second.Outline.Width"]], ["*", 2, ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Outline.Width"]]], ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Line.Width"]]], 0]], "offset": ["world-scale", ["*", ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Line.Offset"], ["ref", "Transit.Line.Offset"]]], "softdepth": ["ref", "SoftDepth.Threshold"]}}, {"id": "public_transit_asia_selected_systems_labels", "layer": "tilezen_transit_lines", "when": ["all", ["==", ["get", "source"], "ipc"], ["any", ["ref", "Is.Transit.Subway"], ["ref", "Is.Transit.HighSpeed"]], ["ref", "Is.Transit.Line.MergeCriteria.TypeColor"]], "technique": "text", "description": "Public Transit Asia Selected Systems Labels", "attr": {"category": ["case", ["ref", "Is.Transit.HighSpeed"], "asia-selected-systems-transit-high-speed-labels", "asia-selected-systems-transit-subway-labels"], "minZoomLevel": 10, "margin": ["ref", "Default.Margin"], "persisting-margin-reducing": ["ref", "Default.PersistingMargin.Reducing"], "bold-amount": ["case", ["ref", "Is.Transit.HighSpeed"], ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Label.Style"], ["ref", "AsiaSelectedSystems.Transit.Subway.Label.Style"]], "font": ["ref", "Default.Font"], "shape": "line", "vertical-alignment": "Center", "replaceable": true, "new-label-spread-frames": 10, "fade-time": 0.3, "far-threshold": 0.85, "far-threshold-range": 0.015, "softdepth": ["ref", "SoftDepth.Threshold"], "polyline-padding-px": 2, "dual-language-leading-space": ["ppi-scale", ["ref", "Label.DualLanguage.Leading"], ["ref", "ScalePPI.Labels"]], "anchor-point-density": 40, "color": ["case", ["all", ["ref", "Is.Transit.HasLineColor"], ["ref", "Is.Transit.HighSpeed"]], ["darken", ["to-color", ["ref", "Transit.Line.Color"]], ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Label.Color.Darken"]], ["ref", "Is.Transit.HighSpeed"], ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Fallback.Label.Color"], ["ref", "Is.Transit.HasLineColor"], ["darken", ["to-color", ["ref", "Transit.Line.Color"]], ["ref", "AsiaSelectedSystems.Transit.Subway.Label.Color.Darken"]], ["ref", "AsiaSelectedSystems.Transit.Subway.Fallback.Label.Color"]], "outline-color": ["case", ["ref", "Is.Transit.HighSpeed"], ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Label.Outline.Color"], ["ref", "AsiaSelectedSystems.Transit.Subway.Label.Outline.Color"]], "size": ["case", ["ref", "Is.Transit.HighSpeed"], ["case", ["ref", "Transit.HighSpeed.Line.MergeCriteria"], ["ppi-scale", ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Label.Size"], ["ref", "ScalePPI.Labels"]], 0], ["ppi-scale", ["ref", "AsiaSelectedSystems.Transit.Subway.Label.Size"], ["ref", "ScalePPI.Labels"]]], "outline-width": ["case", ["ref", "Is.Transit.HighSpeed"], ["ppi-scale", ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Label.Outline.Width"], ["ref", "ScalePPI.Labels"]], ["ppi-scale", ["ref", "AsiaSelectedSystems.Transit.Subway.Label.Outline.Width"], ["ref", "ScalePPI.Labels"]]], "world-line-offset": ["case", ["ref", "Is.Transit.HighSpeed"], ["world-scale", ["*", ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Line.Offset"], ["ref", "Transit.Line.Offset"]]], ["world-scale", ["*", ["ref", "AsiaSelectedSystems.Transit.Subway.Line.Offset"], ["ref", "Transit.Line.Offset"]]]], "tracking-space": ["case", ["ref", "Is.Transit.HighSpeed"], ["ppi-scale", ["ref", "AsiaSelectedSystems.Transit.HighSpeed.Label.Tracking"], ["ref", "ScalePPI.Labels"]], ["ppi-scale", ["ref", "AsiaSelectedSystems.Transit.Subway.Label.Tracking"], ["ref", "ScalePPI.Labels"]]]}}, {"id": "japan_public_transit_lines", "extends": "public_transit_lines", "layer": "tilezen_transit_lines", "when": ["==", ["get", "source"], "ipc"], "technique": "line", "description": "Japan Public Transit Lines", "attr": {"category": ["case", ["ref", "Is.Transit.Suburban"], "japan-transit-suburban", ["ref", "Is.Transit.Subway"], "japan-transit-subway", ["ref", "Is.Transit.Regional"], "japan-transit-regional", ["ref", "Is.Transit.Intercity"], "japan-transit-intercity", ["base-attribute-value"]], "minZoomLevel": 7, "color": ["case", ["all", ["ref", "Is.Transit.HasLineColor"], ["ref", "Is.Transit.HighSpeed"]], ["darken", ["to-color", ["ref", "Transit.Line.Color"]], ["ref", "Transit.Line.Color.Darken"]], ["ref", "Is.Transit.HighSpeed"], ["ref", "Transit.HighSpeed.Fallback.Line.Color"], ["ref", "Is.Transit.HasLineColor"], ["darken", ["to-color", ["ref", "Transit.Line.Color"]], ["ref", "Transit.Line.Color.Darken"]], ["ref", "Transit.Fallback.Line.Color"]], "dash-gap-color": ["case", ["ref", "Is.Transit.HighSpeed"], ["ref", "Transit.HighSpeed.SecondLine.Color"], null], "dasharray": ["case", ["ref", "Is.Transit.HighSpeed"], ["make-vector", ["world-discrete-scale", ["ref", "Transit.HighSpeed.Line.Gap.Length"]], ["world-discrete-scale", ["ref", "Transit.HighSpeed.Line.Dash.Length"]], 0, 0], null]}}, {"id": "japan_public_transit_outlines", "extends": "public_transit_outlines", "layer": "tilezen_transit_lines", "when": ["==", ["get", "source"], "ipc"], "technique": "line", "description": "Japan Public Transit Outlines", "attr": {"category": ["case", ["ref", "Is.Transit.Suburban"], "japan-transit-suburban-outline", ["ref", "Is.Transit.Subway"], "japan-transit-subway-outline", ["ref", "Is.Transit.Regional"], "japan-transit-regional-outline", ["ref", "Is.Transit.Intercity"], "japan-transit-intercity-outline", ["base-attribute-value"]], "minZoomLevel": 7, "color": ["case", ["all", ["ref", "Is.Transit.HasLineColor"], ["ref", "Is.Transit.HighSpeed"]], ["darken", ["to-color", ["ref", "Transit.Line.Color"]], ["ref", "Transit.HighSpeed.Outline.Color.Darken"]], ["ref", "Is.Transit.HighSpeed"], ["darken", ["ref", "Transit.HighSpeed.Fallback.Outline.Color"], ["ref", "Transit.HighSpeed.Outline.Color.Darken"]], ["ref", "Transit.Outline.Color"]]}}, {"id": "japan_public_transit_second_outlines", "layer": "tilezen_transit_lines", "when": ["all", ["==", ["get", "source"], "ipc"], ["ref", "Is.Transit.HighSpeed"]], "technique": "line", "description": "Japan Public Transit Second Outlines", "attr": {"category": "japan-transit-high-speed-second-outline", "minZoomLevel": 7, "color": ["ref", "Transit.Outline.Color"], "lighting-enabled": ["ref", "Lighting.Enabled"], "ambient": ["ref", "Transit.Line.Ambient.Factor"], "diffuse": ["ref", "Transit.Line.Diffuse.Factor"], "width": ["case", ["<=", ["ref", "Transit.HighSpeed.Second.Outline.Width"], 0], 0, ["case", ["ref", "Transit.HighSpeed.Line.MergeCriteria"], ["world-scale", ["+", ["+", ["*", 2, ["ref", "Transit.HighSpeed.Second.Outline.Width"]], ["*", 2, ["ref", "Transit.HighSpeed.Outline.Width"]]], ["ref", "Transit.HighSpeed.Line.Width"]]], 0]], "offset": ["world-scale", ["*", ["ref", "Transit.HighSpeed.Line.Offset"], ["ref", "Transit.Line.Offset"]]], "softdepth": ["ref", "SoftDepth.Threshold"]}}, {"id": "japan_public_transit_labels", "extends": "public_transit_labels", "layer": "tilezen_transit_lines", "when": ["==", ["get", "source"], "ipc"], "technique": "text", "description": "Japan Public Transit Labels", "attr": {"category": ["case", ["ref", "Is.Transit.Regional"], "japan-transit-regional-labels", ["ref", "Is.Transit.Intercity"], "japan-transit-intercity-labels", ["ref", "Is.Transit.HighSpeed"], "japan-transit-high-speed-labels", ["base-attribute-value"]], "minZoomLevel": 10, "outline-color": ["case", ["ref", "Is.Transit.HasLineColor"], ["darken", ["to-color", ["ref", "Transit.Line.Color"]], ["ref", "Transit.Label.Outline.Color.Darken"]], ["darken", ["ref", "Transit.Fallback.Label.Outline.Color"], ["ref", "Transit.Fallback.Label.Outline.Color.Darken"]]]}}]}