{"styles": [{"id": "japan_polygonal_roads", "layer": "tilezen_polygons", "when": ["all", ["ref", "Is.PolygonalRoads.Layer"], ["==", ["get", "source"], "ipc"], ["any", ["ref", "Is.PolygonalRoads.Expressway.All"], ["ref", "Is.PolygonalRoads.National"], ["ref", "Is.PolygonalRoads.MajorSecondary"], ["ref", "Is.PolygonalRoads.MajorTertiary"], ["ref", "Is.PolygonalRoads.Other.All"], ["ref", "Is.PolygonalRoads.RestrictedArea"]]], "technique": "polygon", "description": "Polygonal Roads", "attr": {"category": ["case", ["ref", "Is.PolygonalRoads.Expressway.All"], "expressway", ["ref", "Is.PolygonalRoads.National"], "national_road", ["ref", "Is.PolygonalRoads.MajorSecondary"], "major_road_secondary", ["ref", "Is.PolygonalRoads.MajorTertiary"], "major_road_tertiary", ["ref", "Is.PolygonalRoads.Other.All"], "other_road", ["ref", "Is.PolygonalRoads.RestrictedArea"], "restricted_road", null], "lighting-enabled": ["ref", "Lighting.Enabled"], "ambient": ["case", ["ref", "Is.PolygonalRoads.Expressway.Toll"], ["ref", "Street.Category0.Ambient.Factor"], ["ref", "Is.PolygonalRoads.Expressway"], ["ref", "Street.Category0.Ambient.Factor"], ["ref", "Is.PolygonalRoads.UrbanExpressway.Toll"], ["ref", "Street.Category0.Ambient.Factor"], ["ref", "Is.PolygonalRoads.UrbanExpressway"], ["ref", "Street.Category0.Ambient.Factor"], ["ref", "Is.PolygonalRoads.National"], ["ref", "Street.Category1.Ambient.Factor"], ["ref", "Is.PolygonalRoads.MajorSecondary"], ["ref", "Street.Category2.Ambient.Factor"], ["ref", "Is.PolygonalRoads.MajorTertiary"], ["ref", "Street.Category3.Ambient.Factor"], ["ref", "Is.PolygonalRoads.Other"], ["ref", "Street.Category4.Ambient.Factor"], ["ref", "Is.PolygonalRoads.Other.Toll"], ["ref", "Street.Category4.Ambient.Factor"], ["ref", "Is.PolygonalRoads.RestrictedArea"], ["ref", "Base.Ambient.Factor"], ["ref", "Base.Ambient.Factor"]], "diffuse": ["case", ["ref", "Is.PolygonalRoads.Expressway.Toll"], ["ref", "Street.Category0.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.Expressway"], ["ref", "Street.Category0.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.UrbanExpressway.Toll"], ["ref", "Street.Category0.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.UrbanExpressway"], ["ref", "Street.Category0.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.National"], ["ref", "Street.Category1.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.MajorSecondary"], ["ref", "Street.Category2.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.MajorTertiary"], ["ref", "Street.Category3.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.Other"], ["ref", "Street.Category4.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.Other.Toll"], ["ref", "Street.Category4.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.RestrictedArea"], ["ref", "Base.Diffuse.Factor"], ["ref", "Base.Diffuse.Factor"]], "opacity": ["case", ["any", ["ref", "Is.PolygonalRoads.Expressway.All"], ["ref", "Is.PolygonalRoads.National"], ["ref", "Is.PolygonalRoads.MajorSecondary"], ["ref", "Is.PolygonalRoads.MajorTertiary"], ["ref", "Is.PolygonalRoads.Other.All"], ["ref", "Is.PolygonalRoads.RestrictedArea"]], ["ref", "PolygonalRoads.Opacity"], ["ref", "Global.Polygon.Opacity"]], "softdepth": ["ref", "SoftDepth.Threshold"], "color": ["case", ["ref", "Is.PolygonalRoads.Expressway.Toll"], ["ref", "PolygonalRoads.Expressway.Toll.Color"], ["ref", "Is.PolygonalRoads.Expressway"], ["ref", "PolygonalRoads.Expressway.Color"], ["ref", "Is.PolygonalRoads.UrbanExpressway.Toll"], ["ref", "PolygonalRoads.UrbanExpressway.Toll.Color"], ["ref", "Is.PolygonalRoads.UrbanExpressway"], ["ref", "PolygonalRoads.UrbanExpressway.Color"], ["ref", "Is.PolygonalRoads.National"], ["ref", "PolygonalRoads.National.Color"], ["ref", "Is.PolygonalRoads.MajorSecondary"], ["ref", "PolygonalRoads.MajorSecondary.Color"], ["ref", "Is.PolygonalRoads.MajorTertiary"], ["ref", "PolygonalRoads.MajorTertiary.Color"], ["ref", "Is.PolygonalRoads.Other"], ["ref", "PolygonalRoads.Other.Service.Color"], ["ref", "Is.PolygonalRoads.Other.Toll"], ["ref", "PolygonalRoads.Other.Toll.Color"], ["ref", "Is.PolygonalRoads.RestrictedArea"], ["ref", "PolygonalRoads.RestrictedArea.Color"], null]}}, {"id": "japan_polygonal_roads_outlines", "layer": "tilezen_polygons_outlines", "when": ["all", ["ref", "Is.PolygonalRoads.Layer"], ["==", ["get", "source"], "ipc"], ["any", ["ref", "Is.PolygonalRoads.National"], ["ref", "Is.PolygonalRoads.MajorSecondary"], ["ref", "Is.PolygonalRoads.MajorTertiary"], ["ref", "Is.PolygonalRoads.Other.All"], ["ref", "Is.PolygonalRoads.RestrictedArea"]]], "technique": "line", "description": "Polygonal Roads Outlines", "attr": {"category": ["case", ["ref", "Is.PolygonalRoads.National"], "national_road-outline", ["ref", "Is.PolygonalRoads.MajorSecondary"], "major_road_secondary-outline", ["ref", "Is.PolygonalRoads.MajorTertiary"], "major_road_tertiary-outline", ["ref", "Is.PolygonalRoads.Other.All"], "other_road-outline", ["ref", "Is.PolygonalRoads.RestrictedArea"], "restricted_road-outline", null], "opacity": ["case", ["any", ["ref", "Is.PolygonalRoads.National"], ["ref", "Is.PolygonalRoads.MajorSecondary"], ["ref", "Is.PolygonalRoads.MajorTertiary"], ["ref", "Is.PolygonalRoads.Other.All"], ["ref", "Is.PolygonalRoads.RestrictedArea"]], ["ref", "PolygonalRoads.Opacity"], ["ref", "Global.Polygon.Opacity"]], "lighting-enabled": ["ref", "Lighting.Enabled"], "ambient": ["case", ["ref", "Is.PolygonalRoads.Expressway.Toll"], ["ref", "Street.Category0.Ambient.Factor"], ["ref", "Is.PolygonalRoads.Expressway"], ["ref", "Street.Category0.Ambient.Factor"], ["ref", "Is.PolygonalRoads.UrbanExpressway.Toll"], ["ref", "Street.Category0.Ambient.Factor"], ["ref", "Is.PolygonalRoads.UrbanExpressway"], ["ref", "Street.Category0.Ambient.Factor"], ["ref", "Is.PolygonalRoads.National"], ["ref", "Street.Category1.Ambient.Factor"], ["ref", "Is.PolygonalRoads.MajorSecondary"], ["ref", "Street.Category2.Ambient.Factor"], ["ref", "Is.PolygonalRoads.MajorTertiary"], ["ref", "Street.Category3.Ambient.Factor"], ["ref", "Is.PolygonalRoads.Other"], ["ref", "Street.Category4.Ambient.Factor"], ["ref", "Is.PolygonalRoads.Other.Toll"], ["ref", "Street.Category4.Ambient.Factor"], ["ref", "Is.PolygonalRoads.RestrictedArea"], ["ref", "Street.Category4.Ambient.Factor"], ["ref", "Base.Ambient.Factor"]], "diffuse": ["case", ["ref", "Is.PolygonalRoads.Expressway.Toll"], ["ref", "Street.Category0.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.Expressway"], ["ref", "Street.Category0.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.UrbanExpressway.Toll"], ["ref", "Street.Category0.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.UrbanExpressway"], ["ref", "Street.Category0.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.National"], ["ref", "Street.Category1.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.MajorSecondary"], ["ref", "Street.Category2.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.MajorTertiary"], ["ref", "Street.Category3.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.Other"], ["ref", "Street.Category4.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.Other.Toll"], ["ref", "Street.Category4.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.RestrictedArea"], ["ref", "Street.Category4.Diffuse.Factor"], ["ref", "Base.Diffuse.Factor"]], "color": ["case", ["ref", "Is.PolygonalRoads.National"], ["ref", "PolygonalRoads.National.Outline.Color"], ["ref", "Is.PolygonalRoads.MajorSecondary"], ["ref", "PolygonalRoads.MajorSecondary.Outline.Color"], ["ref", "Is.PolygonalRoads.MajorTertiary"], ["ref", "PolygonalRoads.MajorTertiary.Outline.Color"], ["ref", "Is.PolygonalRoads.Other.All"], ["ref", "PolygonalRoads.Other.Outline.Color"], ["ref", "Is.PolygonalRoads.RestrictedArea"], ["ref", "PolygonalRoads.RestrictedArea.Outline.Color"], ["ref", "PolygonalRoads.Outline.Color"]], "width": ["case", ["ref", "Is.PolygonalRoads.National"], ["world-scale", ["ref", "PolygonalRoads.National.Outline.Width"]], ["ref", "Is.PolygonalRoads.MajorSecondary"], ["world-scale", ["ref", "PolygonalRoads.MajorSecondary.Outline.Width"]], ["ref", "Is.PolygonalRoads.MajorTertiary"], ["world-scale", ["ref", "PolygonalRoads.MajorTertiary.Outline.Width"]], ["ref", "Is.PolygonalRoads.Other.All"], ["world-scale", ["ref", "PolygonalRoads.Other.Outline.Width"]], ["ref", "Is.PolygonalRoads.RestrictedArea"], ["world-scale", ["ref", "PolygonalRoads.RestrictedArea.Outline.Width"]], ["world-scale", ["ref", "PolygonalRoads.Outline.Width"]]]}}, {"id": "japan_polygonal_tunnels", "layer": "tilezen_lines", "when": ["all", ["ref", "Is.PolygonalRoads.Layer"], ["ref", "Is.Decorative.DashedLine"], ["==", ["get", "source"], "ipc"]], "technique": "line", "description": "polygonal_roads_tunnel", "attr": {"category": "polygonal_roads_tunnel", "lighting-enabled": ["ref", "Lighting.Enabled"], "ambient": ["ref", "Base.Ambient.Factor"], "diffuse": ["ref", "Base.Diffuse.Factor"], "minZoomLevel": ["case", ["ref", "Is.Decorative.DashedLine"], 15, null], "alpha-blend-type": ["ref", "Alpha.Blend.Type"], "dash-gap-color": "#00000000", "dasharray": ["ref", "Internal.PolygonalRoads.Tunnel.DashArray"], "cap": "butt", "color": ["ref", "PolygonalRoads.Tunnel.Color"], "width": ["world-scale", ["ref", "PolygonalRoads.Tunnel.Width"]], "softdepth": ["ref", "SoftDepth.Threshold"]}}, {"id": "japan_polygonal_roads_arrows", "layer": "tilezen_lines", "when": ["all", ["==", ["get", "source"], "ipc"], ["ref", "Is.Roads.Layer"], ["ref", "Is.Japan.HasPolygonalRoads"], ["ref", "Is.OneWay"], ["ref", "Street.Arrow.Enabled"], ["any", ["ref", "Is.Street.Category0"], ["ref", "Is.Street.Category1"], ["ref", "Is.Street.Category2"], ["ref", "Is.Street.Category3"], ["ref", "Is.Street.Category4"]]], "technique": "line", "description": "Japan Polygonal Roads Arrows", "attr": {"category": "japan-polygonal-roads-arrows", "lighting-enabled": ["ref", "Lighting.Enabled"], "ambient": ["case", ["ref", "Is.PolygonalRoads.Expressway.Toll"], ["ref", "Street.Category0.Ambient.Factor"], ["ref", "Is.PolygonalRoads.Expressway"], ["ref", "Street.Category0.Ambient.Factor"], ["ref", "Is.PolygonalRoads.UrbanExpressway.Toll"], ["ref", "Street.Category0.Ambient.Factor"], ["ref", "Is.PolygonalRoads.UrbanExpressway"], ["ref", "Street.Category0.Ambient.Factor"], ["ref", "Is.PolygonalRoads.National"], ["ref", "Street.Category1.Ambient.Factor"], ["ref", "Is.PolygonalRoads.MajorSecondary"], ["ref", "Street.Category2.Ambient.Factor"], ["ref", "Is.PolygonalRoads.MajorTertiary"], ["ref", "Street.Category3.Ambient.Factor"], ["ref", "Is.PolygonalRoads.Other"], ["ref", "Street.Category4.Ambient.Factor"], ["ref", "Is.PolygonalRoads.Other.Toll"], ["ref", "Street.Category4.Ambient.Factor"], ["ref", "Is.PolygonalRoads.RestrictedArea"], ["ref", "Street.Category4.Ambient.Factor"], ["ref", "Base.Ambient.Factor"]], "diffuse": ["case", ["ref", "Is.PolygonalRoads.Expressway.Toll"], ["ref", "Street.Category0.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.Expressway"], ["ref", "Street.Category0.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.UrbanExpressway.Toll"], ["ref", "Street.Category0.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.UrbanExpressway"], ["ref", "Street.Category0.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.National"], ["ref", "Street.Category1.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.MajorSecondary"], ["ref", "Street.Category2.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.MajorTertiary"], ["ref", "Street.Category3.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.Other"], ["ref", "Street.Category4.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.Other.Toll"], ["ref", "Street.Category4.Diffuse.Factor"], ["ref", "Is.PolygonalRoads.RestrictedArea"], ["ref", "Street.Category4.Diffuse.Factor"], ["ref", "Base.Diffuse.Factor"]], "width": ["case", ["ref", "Is.Street.Category0"], ["world-scale", ["ref", "Internal.Street.Category0.RoadWidth"]], ["ref", "Is.Street.Category1"], ["world-scale", ["ref", "Internal.Street.Category1.RoadWidth"]], ["ref", "Is.Street.Category2"], ["world-scale", ["ref", "Internal.Street.Category2.RoadWidth"]], ["ref", "Is.Street.Category3"], ["world-scale", ["ref", "Internal.Street.Category3.RoadWidth"]], ["ref", "Is.Street.Category4"], ["world-scale", ["ref", "Internal.Street.Category4.RoadWidth"]], null], "color": ["case", ["ref", "Is.Street.Category0"], ["fade-out", ["ref", "Internal.Street.Category0.ArrowColor"], 1], ["ref", "Is.Street.Category1"], ["fade-out", ["ref", "Internal.Street.Category1.ArrowColor"], 1], ["ref", "Is.Street.Category2"], ["fade-out", ["ref", "Internal.Street.Category2.ArrowColor"], 1], ["ref", "Is.Street.Category3"], ["fade-out", ["ref", "Internal.Street.Category3.ArrowColor"], 1], ["ref", "Is.Street.Category4"], ["fade-out", ["ref", "Internal.Street.Category4.ArrowColor"], 1], null], "dasharray": ["case", ["all", ["ref", "Is.OneWay"], ["ref", "Street.Arrow.Enabled"], ["ref", "Is.Street.Category0"]], ["ref", "Internal.Street.Category0.ArrowDashArray"], ["all", ["ref", "Is.OneWay"], ["ref", "Street.Arrow.Enabled"], ["ref", "Is.Street.Category1"]], ["ref", "Internal.Street.Category1.ArrowDashArray"], ["all", ["ref", "Is.OneWay"], ["ref", "Street.Arrow.Enabled"], ["ref", "Is.Street.Category2"]], ["ref", "Internal.Street.Category2.ArrowDashArray"], ["all", ["ref", "Is.OneWay"], ["ref", "Street.Arrow.Enabled"], ["ref", "Is.Street.Category3"]], ["ref", "Internal.Street.Category3.ArrowDashArray"], ["all", ["ref", "Is.OneWay"], ["ref", "Street.Arrow.Enabled"], ["ref", "Is.Street.Category4"]], ["ref", "Internal.Street.Category4.ArrowDashArray"], null], "dash-gap-color": ["case", ["all", ["ref", "Is.OneWay"], ["ref", "Is.Street.Category0"]], ["ref", "Internal.Street.Category0.ArrowColor"], ["all", ["ref", "Is.OneWay"], ["ref", "Is.Street.Category1"]], ["ref", "Internal.Street.Category1.ArrowColor"], ["all", ["ref", "Is.OneWay"], ["ref", "Is.Street.Category2"]], ["ref", "Internal.Street.Category2.ArrowColor"], ["all", ["ref", "Is.OneWay"], ["ref", "Is.Street.Category3"]], ["ref", "Internal.Street.Category3.ArrowColor"], ["all", ["ref", "Is.OneWay"], ["ref", "Is.Street.Category4"]], ["ref", "Internal.Street.Category4.ArrowColor"], null], "dash-image": ["case", ["all", ["ref", "Is.OneWay"], ["ref", "Street.Arrow.Enabled"], ["!", ["ref", "Is.UnderConstruction"]]], ["ref", "Street.Arrow.Asset"], null], "softdepth": ["ref", "SoftDepth.Threshold"]}}]}