{"styles": [{"id": "road_labels_0", "layer": "tilezen_lines", "when": ["all", ["ref", "Is.Roads.Layer"], ["ref", "Is.Street.Category0"], ["!", ["ref", "Is.RailFerry"]], ["ref", "Street.Category0.Label.Display.Enabled"]], "technique": "text", "description": "Street Category 0 Labels", "attr": {"category": "road0-labels", "minZoomLevel": ["ref", "Street.Category0.MinZoomLevel"], "margin": ["ref", "Default.Margin"], "persisting-margin-reducing": ["ref", "Default.PersistingMargin.Reducing"], "font": ["ref", "Default.Font"], "shape": "line", "vertical-alignment": "Dynamic", "replaceable": true, "new-label-spread-frames": 10, "fade-time": 0.3, "far-threshold": 0.85, "far-threshold-range": 0.015, "polyline-padding-px": 2, "dual-language-leading-space": ["ppi-scale", ["ref", "Label.DualLanguage.Leading"], ["ref", "ScalePPI.Labels"]], "softdepth": ["ref", "SoftDepth.Threshold"], "anchor-point-density": ["step", ["zoom"], 5, 8, 20, 16, 40], "line-width": ["case", ["ref", "Is.Unpaved"], ["world-scale", ["ref", "Street.Category0.Unpaved.Width"]], ["ref", "Is.Ramp"], ["world-scale", ["ref", "Street.Category0.Ramp.Width"]], ["ref", "Internal.Street.Category0.LineWidthZoom"]], "color": ["case", ["ref", "Is.Unpaved"], ["ref", "Street.Category0.Label.Unpaved.Color"], ["ref", "Is.Toll.Enabled"], ["ref", "Street.Category0.Label.Toll.Color"], ["ref", "Street.Category0.Label.Color"]], "outline-color": ["case", ["ref", "Is.Unpaved"], ["ref", "Street.Category0.Label.Unpaved.Outline.Color"], ["ref", "Is.Toll.Enabled"], ["ref", "Street.Category0.Label.Toll.Outline.Color"], ["ref", "Street.Category0.Label.Outline.Color"]], "size": ["case", ["ref", "Is.Ramp"], ["ppi-scale", ["ref", "Street.Category0.Label.Ramp.Size"], ["ref", "ScalePPI.Labels"]], ["ppi-scale", ["ref", "Street.Category0.Label.Size"], ["ref", "ScalePPI.Labels"]]], "outline-width": ["ppi-scale", ["ref", "Street.Category0.Label.Outline.Width"], ["ref", "ScalePPI.Labels"]], "case-conversion": ["ref", "Street.Category0.Label.Variant"], "min-world-line-length": ["ref", "Street.Label.MinWorldLineLength"]}}, {"id": "roads_0", "layer": "tilezen_lines", "when": ["all", ["ref", "Is.Roads.Layer"], ["ref", "Is.Street.Category0"], ["!", ["ref", "Is.Japan.HasPolygonalRoads"]], ["!", ["ref", "Is.RailFerry"]], ["!", ["ref", "Is.Ski.Downhill"]]], "technique": "line", "description": "Street Category 0 Line", "attr": {"category": ["ref", "Internal.Street.Category0.RenderPass"], "minZoomLevel": ["ref", "Street.Category0.MinZoomLevel"], "maxZoomLevel": ["case", ["all", ["==", ["ref", "Is.PolygonalRoads.VisibilityCheck"], true], ["==", ["ref", "Is.HasPolygonalRoads"], true]], 17, null], "lighting-enabled": ["ref", "Lighting.Enabled"], "ambient": ["ref", "Street.Category0.Ambient.Factor"], "diffuse": ["ref", "Street.Category0.Diffuse.Factor"], "alpha-blend-type": ["ref", "Alpha.Blend.Type"], "cap": ["case", ["ref", "Is.UnderConstruction"], "butt", null], "color": ["ref", "Internal.Street.Category0.Color"], "dash-gap-color": ["case", ["ref", "Is.UnderConstruction"], ["ref", "Transparent.Color"], ["ref", "Is.OneWay"], ["ref", "Internal.Street.Category0.ArrowColor"], null], "width": ["world-scale", ["ref", "Internal.Street.Category0.RoadWidth"]], "dasharray": ["case", ["ref", "Is.UnderConstruction"], ["make-vector", ["world-discrete-scale", ["ref", "Street.Category0.Construction.Gap.Length"]], ["world-discrete-scale", ["ref", "Street.Category0.Construction.Dash.Length"]], 0, 0], ["all", ["ref", "Is.OneWay"], ["ref", "Street.Arrow.Enabled"]], ["ref", "Internal.Street.Category0.ArrowDashArray"], null], "dash-image": ["case", ["all", ["ref", "Is.OneWay"], ["ref", "Street.Arrow.Enabled"], ["!", ["ref", "Is.UnderConstruction"]]], ["ref", "Street.Arrow.Asset"], null], "softdepth": ["ref", "SoftDepth.Threshold"]}}, {"id": "road_outlines_0", "layer": "tilezen_lines", "when": ["all", ["ref", "Is.Roads.Layer"], ["ref", "Is.Street.Category0"], ["!", ["ref", "Is.Japan.HasPolygonalRoads"]], ["!", ["ref", "Is.RailFerry"]], ["!", ["ref", "Is.Ski.Downhill"]]], "technique": "line", "description": "Street Category 0 Outline", "attr": {"category": ["case", ["ref", "Is.Tunnel"], "tunnel-outline-0", ["any", ["ref", "Is.Not.RoadZLevel"], ["==", ["get", "source"], "ipc"], ["<", ["get", "$storage-level"], 14]], ["case", ["ref", "Is.Bridge"], "bridge-outline-0", ["ref", "Is.Unpaved"], "unpaved-outline-0", ["ref", "Is.Ramp"], "ramp-outline-0", "road-outline-0"], ["all", ["ref", "Is.Unpaved"], ["<=", ["get", "z_level"], -1]], "unpaved-outline-0--1", ["all", ["ref", "Is.Unpaved"], ["==", ["get", "z_level"], 0]], "unpaved-outline-0-0", ["all", ["ref", "Is.Unpaved"], ["==", ["get", "z_level"], 1]], "unpaved-outline-0-1", ["all", ["ref", "Is.Unpaved"], [">=", ["get", "z_level"], 2]], "unpaved-outline-0-2", ["all", ["ref", "Is.Ramp"], ["<=", ["get", "z_level"], -1]], "ramp-outline-0--1", ["all", ["ref", "Is.Ramp"], ["==", ["get", "z_level"], 0]], "ramp-outline-0-0", ["all", ["ref", "Is.Ramp"], ["==", ["get", "z_level"], 1]], "ramp-outline-0-1", ["all", ["ref", "Is.Ramp"], ["==", ["get", "z_level"], 2]], "ramp-outline-0-2", ["all", ["ref", "Is.Ramp"], [">=", ["get", "z_level"], 3]], "ramp-outline-0-3", ["<=", ["get", "z_level"], -1], "road-outline-0--1", ["==", ["get", "z_level"], 0], "road-outline-0-0", ["==", ["get", "z_level"], 1], "road-outline-0-1", ["==", ["get", "z_level"], 2], "road-outline-0-2", [">=", ["get", "z_level"], 3], "road-outline-0-3", "road-outline-0"], "minZoomLevel": ["ref", "Street.Category0.MinZoomLevel"], "maxZoomLevel": ["case", ["all", ["==", ["ref", "Is.PolygonalRoads.VisibilityCheck"], true], ["==", ["ref", "Is.HasPolygonalRoads"], true]], 17, null], "lighting-enabled": ["ref", "Lighting.Enabled"], "ambient": ["ref", "Street.Category0.Ambient.Factor"], "diffuse": ["ref", "Street.Category0.Diffuse.Factor"], "alpha-blend-type": ["ref", "Alpha.Blend.Type"], "cap": ["case", ["any", ["!=", ["get", "z_level"], 0], ["ref", "Is.UnderConstruction"], ["ref", "Is.Bridge"]], "butt", null], "color": ["case", ["all", ["ref", "Is.Toll.Enabled"], ["ref", "Is.Tunnel"]], ["ref", "Street.Category0.TollTunnel.Outline.Color"], ["ref", "Is.Tunnel"], ["ref", "Street.Category0.Tunnel.Outline.Color"], ["ref", "Is.Unpaved"], ["ref", "Street.Category0.Unpaved.Outline.Color"], ["ref", "Is.Toll.Enabled"], ["ref", "Street.Category0.Toll.Outline.Color"], ["ref", "Street.Category0.Outline.Color"]], "dash-gap-color": ["case", ["all", ["ref", "Is.Tunnel"], ["!", ["ref", "Is.UnderConstruction"]]], "#00000000", ["ref", "Is.UnderConstruction"], ["ref", "Transparent.Color"], null], "width": ["case", ["ref", "Is.Unpaved"], ["case", ["<=", ["ref", "Street.Category0.Unpaved.Outline.Width"], 0], 0, ["world-scale", ["+", ["*", 2, ["ref", "Street.Category0.Unpaved.Outline.Width"]], ["ref", "Street.Category0.Unpaved.Width"]]]], ["ref", "Is.Ramp"], ["case", ["<=", ["ref", "Street.Category0.Ramp.Outline.Width"], 0], 0, ["world-scale", ["+", ["*", 2, ["ref", "Street.Category0.Ramp.Outline.Width"]], ["ref", "Street.Category0.Ramp.Width"]]]], ["case", ["<=", ["ref", "Street.Category0.Outline.Width"], 0], 0, ["world-scale", ["+", ["*", 2, ["ref", "Street.Category0.Outline.Width"]], ["ref", "Street.Category0.Width"]]]]], "dasharray": ["case", ["all", ["ref", "Is.Tunnel"], ["!", ["ref", "Is.UnderConstruction"]]], ["ref", "Internal.Street.Tunnel.DashArray"], ["ref", "Is.UnderConstruction"], ["make-vector", ["world-discrete-scale", ["ref", "Street.Category0.Construction.Gap.Length"]], ["world-discrete-scale", ["ref", "Street.Category0.Construction.Dash.Length"]], 0, 0], null], "softdepth": ["ref", "SoftDepth.Threshold"]}}, {"id": "center_lines", "layer": "tilezen_lines", "when": ["all", ["ref", "Is.Roads.Layer"], ["ref", "Is.Street.Category0"], ["!", ["ref", "Is.Japan.HasPolygonalRoads"]], ["!", ["ref", "Is.Ramp"]]], "technique": "line", "description": "Street Category 0 Centerline", "attr": {"category": ["case", ["ref", "Is.Tunnel"], "tunnel-0-center", ["any", ["ref", "Is.Not.RoadZLevel"], ["==", ["get", "source"], "ipc"], ["<", ["get", "$storage-level"], 14]], ["case", ["ref", "Is.Bridge"], "bridge-0-center", ["ref", "Is.Unpaved"], "unpaved-0-center", "road-0-center"], ["all", ["ref", "Is.Unpaved"], ["<=", ["get", "z_level"], -1]], "unpaved-0-center--1", ["all", ["ref", "Is.Unpaved"], ["==", ["get", "z_level"], 0]], "unpaved-0-center-0", ["all", ["ref", "Is.Unpaved"], ["==", ["get", "z_level"], 1]], "unpaved-0-center-1", ["all", ["ref", "Is.Unpaved"], [">=", ["get", "z_level"], 2]], "unpaved-0-center-2", ["<=", ["get", "z_level"], -1], "road-0-center--1", ["==", ["get", "z_level"], 0], "road-0-center-0", ["==", ["get", "z_level"], 1], "road-0-center-1", ["==", ["get", "z_level"], 2], "road-0-center-2", [">=", ["get", "z_level"], 3], "road-0-center-3", "road-0-center"], "minZoomLevel": ["ref", "Street.Category0.MinZoomLevel"], "maxZoomLevel": ["case", ["all", ["==", ["ref", "Is.PolygonalRoads.VisibilityCheck"], true], ["==", ["ref", "Is.HasPolygonalRoads"], true]], 17, null], "lighting-enabled": ["ref", "Lighting.Enabled"], "ambient": ["ref", "Street.Category0.Ambient.Factor"], "diffuse": ["ref", "Street.Category0.Diffuse.Factor"], "alpha-blend-type": ["ref", "Alpha.Blend.Type"], "cap": ["case", ["ref", "Is.UnderConstruction"], "butt", null], "color": ["case", ["all", ["ref", "Is.Toll.Enabled"], ["ref", "Is.Tunnel"]], ["ref", "Street.Category0.TollTunnel.Centerline.Color"], ["ref", "Is.Tunnel"], ["ref", "Street.Category0.Tunnel.Centerline.Color"], ["ref", "Is.Toll.Enabled"], ["ref", "Street.Category0.Toll.Centerline.Color"], ["ref", "Street.Category0.Centerline.Color"]], "dash-gap-color": ["case", ["ref", "Is.UnderConstruction"], ["ref", "Transparent.Color"], null], "width": ["ref", "Internal.Street.Category0.CenterlineWidthZoom"], "dasharray": ["case", ["ref", "Is.UnderConstruction"], ["make-vector", ["world-discrete-scale", ["ref", "Street.Category0.Construction.Gap.Length"]], ["world-discrete-scale", ["ref", "Street.Category0.Construction.Dash.Length"]], 0, 0], null], "softdepth": ["ref", "SoftDepth.Threshold"]}}, {"id": "bridge_extra_outlines_0", "layer": "tilezen_lines", "when": ["all", ["ref", "Is.Roads.Layer"], ["ref", "Is.Street.Category0"], ["!", ["ref", "Is.Japan.HasPolygonalRoads"]], ["ref", "Is.Bridge"], ["!", ["ref", "Is.RailFerry"]]], "technique": "line", "description": "Street Category 0 Bridge Extra Outline", "attr": {"category": ["case", ["any", ["ref", "Is.Not.RoadZLevel"], ["==", ["get", "source"], "ipc"], ["<", ["get", "$storage-level"], 14]], "bridge-outline-0-extra", ["<=", ["get", "z_level"], -1], "bridge-outline-0-extra--1", ["==", ["get", "z_level"], 0], "bridge-outline-0-extra-0", ["==", ["get", "z_level"], 1], "bridge-outline-0-extra-1", ["==", ["get", "z_level"], 2], "bridge-outline-0-extra-2", [">=", ["get", "z_level"], 3], "bridge-outline-0-extra-3", "bridge-outline-0-extra"], "minZoomLevel": ["ref", "Street.Category0.MinZoomLevel"], "maxZoomLevel": ["case", ["all", ["==", ["ref", "Is.PolygonalRoads.VisibilityCheck"], true], ["==", ["ref", "Is.HasPolygonalRoads"], true]], 17, null], "lighting-enabled": ["ref", "Lighting.Enabled"], "ambient": ["ref", "Street.Category0.Ambient.Factor"], "diffuse": ["ref", "Street.Category0.Diffuse.Factor"], "alpha-blend-type": ["ref", "Alpha.Blend.Type"], "cap": "butt", "color": ["case", ["ref", "Is.Toll.Enabled"], ["ref", "Street.Category0.TollBridge.Color"], ["ref", "Street.Category0.Bridge.Color"]], "dash-gap-color": ["ref", "Transparent.Color"], "width": ["case", ["ref", "Is.Ramp"], ["case", ["<=", ["ref", "Street.Category0.Ramp.Outline.Width"], 0], 0, ["world-scale", ["+", ["+", ["*", 2, ["ref", "Street.Category0.Bridge.Outline.Width"]], ["*", 2, ["ref", "Street.Category0.Ramp.Outline.Width"]]], ["ref", "Street.Category0.Ramp.Width"]]]], ["case", ["<=", ["ref", "Street.Category0.Outline.Width"], 0], 0, ["world-scale", ["+", ["+", ["*", 2, ["ref", "Street.Category0.Bridge.Outline.Width"]], ["*", 2, ["ref", "Street.Category0.Outline.Width"]]], ["ref", "Street.Category0.Width"]]]]], "dasharray": ["case", ["ref", "Is.UnderConstruction"], ["make-vector", ["world-discrete-scale", ["ref", "Street.Category0.Construction.Gap.Length"]], ["world-discrete-scale", ["ref", "Street.Category0.Construction.Dash.Length"]], 0, 0], null], "softdepth": ["ref", "SoftDepth.Threshold"]}}]}