{"styles": [{"id": "road_labels_1", "layer": "tilezen_lines", "when": ["all", ["ref", "Is.Roads.Layer"], ["ref", "Is.Street.Category1"], ["!", ["ref", "Is.RailFerry"]], ["ref", "Street.Category1.Label.Display.Enabled"]], "technique": "text", "description": "Street Category 1 Labels", "attr": {"category": "road1-labels", "minZoomLevel": ["ref", "Street.Category1.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.Category1.Unpaved.Width"]], ["ref", "Is.Ramp"], ["world-scale", ["ref", "Street.Category1.Ramp.Width"]], ["ref", "Internal.Street.Category1.LineWidthZoom"]], "color": ["case", ["ref", "Is.Unpaved"], ["ref", "Street.Category1.Label.Unpaved.Color"], ["ref", "Is.Toll.Enabled"], ["ref", "Street.Category1.Label.Toll.Color"], ["ref", "Street.Category1.Label.Color"]], "outline-color": ["case", ["ref", "Is.Unpaved"], ["ref", "Street.Category1.Label.Unpaved.Outline.Color"], ["ref", "Is.Toll.Enabled"], ["ref", "Street.Category1.Label.Toll.Outline.Color"], ["ref", "Street.Category1.Label.Outline.Color"]], "size": ["case", ["ref", "Is.Ramp"], ["ppi-scale", ["ref", "Street.Category1.Label.Ramp.Size"], ["ref", "ScalePPI.Labels"]], ["ppi-scale", ["ref", "Street.Category1.Label.Size"], ["ref", "ScalePPI.Labels"]]], "outline-width": ["ppi-scale", ["ref", "Street.Category1.Label.Outline.Width"], ["ref", "ScalePPI.Labels"]], "case-conversion": ["ref", "Street.Category1.Label.Variant"], "min-world-line-length": ["ref", "Street.Label.MinWorldLineLength"]}}, {"id": "roads_1", "layer": "tilezen_lines", "when": ["all", ["ref", "Is.Roads.Layer"], ["ref", "Is.Street.Category1"], ["!", ["ref", "Is.Japan.HasPolygonalRoads"]], ["!", ["ref", "Is.RailFerry"]], ["!", ["ref", "Is.Ski.Downhill"]]], "technique": "line", "description": "Street Category 1 Line", "attr": {"category": ["ref", "Internal.Street.Category1.RenderPass"], "minZoomLevel": ["ref", "Street.Category1.MinZoomLevel"], "maxZoomLevel": ["case", ["all", ["==", ["ref", "Is.PolygonalRoads.VisibilityCheck"], true], ["==", ["ref", "Is.HasPolygonalRoads"], true]], 17, null], "lighting-enabled": ["ref", "Lighting.Enabled"], "ambient": ["ref", "Street.Category1.Ambient.Factor"], "diffuse": ["ref", "Street.Category1.Diffuse.Factor"], "alpha-blend-type": ["ref", "Alpha.Blend.Type"], "cap": ["case", ["ref", "Is.UnderConstruction"], "butt", null], "color": ["ref", "Internal.Street.Category1.Color"], "dash-gap-color": ["case", ["ref", "Is.UnderConstruction"], ["ref", "Transparent.Color"], ["ref", "Is.OneWay"], ["ref", "Internal.Street.Category1.ArrowColor"], null], "width": ["world-scale", ["ref", "Internal.Street.Category1.RoadWidth"]], "dasharray": ["case", ["ref", "Is.UnderConstruction"], ["make-vector", ["world-discrete-scale", ["ref", "Street.Category1.Construction.Gap.Length"]], ["world-discrete-scale", ["ref", "Street.Category1.Construction.Dash.Length"]], 0, 0], ["all", ["ref", "Is.OneWay"], ["ref", "Street.Arrow.Enabled"]], ["ref", "Internal.Street.Category1.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_1", "layer": "tilezen_lines", "when": ["all", ["ref", "Is.Roads.Layer"], ["ref", "Is.Street.Category1"], ["!", ["ref", "Is.Japan.HasPolygonalRoads"]], ["!", ["ref", "Is.RailFerry"]], ["!", ["ref", "Is.Ski.Downhill"]]], "technique": "line", "description": "Street Category 1 Outline", "attr": {"category": ["case", ["ref", "Is.Tunnel"], "tunnel-outline-1", ["any", ["ref", "Is.Not.RoadZLevel"], ["==", ["get", "source"], "ipc"], ["<", ["get", "$storage-level"], 14]], ["case", ["ref", "Is.Bridge"], "bridge-outline-1", ["ref", "Is.Unpaved"], "unpaved-outline-1", ["ref", "Is.Ramp"], "ramp-outline-1", "road-outline-1"], ["all", ["ref", "Is.Unpaved"], ["<=", ["get", "z_level"], -1]], "unpaved-outline-1--1", ["all", ["ref", "Is.Unpaved"], ["==", ["get", "z_level"], 0]], "unpaved-outline-1-0", ["all", ["ref", "Is.Unpaved"], ["==", ["get", "z_level"], 1]], "unpaved-outline-1-1", ["all", ["ref", "Is.Unpaved"], [">=", ["get", "z_level"], 2]], "unpaved-outline-1-2", ["all", ["ref", "Is.Ramp"], ["<=", ["get", "z_level"], -1]], "ramp-outline-1--1", ["all", ["ref", "Is.Ramp"], ["==", ["get", "z_level"], 0]], "ramp-outline-1-0", ["all", ["ref", "Is.Ramp"], ["==", ["get", "z_level"], 1]], "ramp-outline-1-1", ["all", ["ref", "Is.Ramp"], ["==", ["get", "z_level"], 2]], "ramp-outline-1-2", ["all", ["ref", "Is.Ramp"], [">=", ["get", "z_level"], 3]], "ramp-outline-1-3", ["<=", ["get", "z_level"], -1], "road-outline-1--1", ["==", ["get", "z_level"], 0], "road-outline-1-0", ["==", ["get", "z_level"], 1], "road-outline-1-1", ["==", ["get", "z_level"], 2], "road-outline-1-2", [">=", ["get", "z_level"], 3], "road-outline-1-3", "road-outline-1"], "minZoomLevel": ["ref", "Street.Category1.MinZoomLevel"], "maxZoomLevel": ["case", ["all", ["==", ["ref", "Is.PolygonalRoads.VisibilityCheck"], true], ["==", ["ref", "Is.HasPolygonalRoads"], true]], 17, null], "lighting-enabled": ["ref", "Lighting.Enabled"], "ambient": ["ref", "Street.Category1.Ambient.Factor"], "diffuse": ["ref", "Street.Category1.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.Category1.TollTunnel.Outline.Color"], ["ref", "Is.Tunnel"], ["ref", "Street.Category1.Tunnel.Outline.Color"], ["ref", "Is.Unpaved"], ["ref", "Street.Category1.Unpaved.Outline.Color"], ["ref", "Is.Toll.Enabled"], ["ref", "Street.Category1.Toll.Outline.Color"], ["ref", "Street.Category1.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.Category1.Unpaved.Outline.Width"], 0], 0, ["world-scale", ["+", ["*", 2, ["ref", "Street.Category1.Unpaved.Outline.Width"]], ["ref", "Street.Category1.Unpaved.Width"]]]], ["ref", "Is.Ramp"], ["case", ["<=", ["ref", "Street.Category1.Ramp.Outline.Width"], 0], 0, ["world-scale", ["+", ["*", 2, ["ref", "Street.Category1.Ramp.Outline.Width"]], ["ref", "Street.Category1.Ramp.Width"]]]], ["case", ["<=", ["ref", "Street.Category1.Outline.Width"], 0], 0, ["world-scale", ["+", ["*", 2, ["ref", "Street.Category1.Outline.Width"]], ["ref", "Street.Category1.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.Category1.Construction.Gap.Length"]], ["world-discrete-scale", ["ref", "Street.Category1.Construction.Dash.Length"]], 0, 0], null], "softdepth": ["ref", "SoftDepth.Threshold"]}}, {"id": "bridge_extra_outlines_1", "layer": "tilezen_lines", "when": ["all", ["ref", "Is.Roads.Layer"], ["ref", "Is.Street.Category1"], ["!", ["ref", "Is.Japan.HasPolygonalRoads"]], ["ref", "Is.Bridge"], ["!", ["ref", "Is.RailFerry"]]], "technique": "line", "description": "Street Category 1 Bridge Extra Outline", "attr": {"category": ["case", ["any", ["ref", "Is.Not.RoadZLevel"], ["==", ["get", "source"], "ipc"], ["<", ["get", "$storage-level"], 14]], "bridge-outline-1-extra", ["<=", ["get", "z_level"], -1], "bridge-outline-1-extra--1", ["==", ["get", "z_level"], 0], "bridge-outline-1-extra-0", ["==", ["get", "z_level"], 1], "bridge-outline-1-extra-1", ["==", ["get", "z_level"], 2], "bridge-outline-1-extra-2", [">=", ["get", "z_level"], 3], "bridge-outline-1-extra-3", "bridge-outline-1-extra"], "minZoomLevel": ["ref", "Street.Category1.MinZoomLevel"], "maxZoomLevel": ["case", ["all", ["==", ["ref", "Is.PolygonalRoads.VisibilityCheck"], true], ["==", ["ref", "Is.HasPolygonalRoads"], true]], 17, null], "lighting-enabled": ["ref", "Lighting.Enabled"], "ambient": ["ref", "Street.Category1.Ambient.Factor"], "diffuse": ["ref", "Street.Category1.Diffuse.Factor"], "alpha-blend-type": ["ref", "Alpha.Blend.Type"], "cap": "butt", "color": ["case", ["ref", "Is.Toll.Enabled"], ["ref", "Street.Category1.TollBridge.Color"], ["ref", "Street.Category1.Bridge.Color"]], "dash-gap-color": ["ref", "Transparent.Color"], "width": ["case", ["ref", "Is.Ramp"], ["case", ["<=", ["ref", "Street.Category1.Ramp.Outline.Width"], 0], 0, ["world-scale", ["+", ["+", ["*", 2, ["ref", "Street.Category1.Bridge.Outline.Width"]], ["*", 2, ["ref", "Street.Category1.Ramp.Outline.Width"]]], ["ref", "Street.Category1.Ramp.Width"]]]], ["case", ["<=", ["ref", "Street.Category1.Outline.Width"], 0], 0, ["world-scale", ["+", ["+", ["*", 2, ["ref", "Street.Category1.Bridge.Outline.Width"]], ["*", 2, ["ref", "Street.Category1.Outline.Width"]]], ["ref", "Street.Category1.Width"]]]]], "dasharray": ["case", ["ref", "Is.UnderConstruction"], ["make-vector", ["world-discrete-scale", ["ref", "Street.Category1.Construction.Gap.Length"]], ["world-discrete-scale", ["ref", "Street.Category1.Construction.Dash.Length"]], 0, 0], null], "softdepth": ["ref", "SoftDepth.Threshold"]}}]}