Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix layering order for highway=construction by adding z-order for construction=* values #4055

Closed
wants to merge 12 commits into from
Closed
28 changes: 27 additions & 1 deletion openstreetmap-carto.lua
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,33 @@ local roads_info = {
cycleway = {z = 100, roads = false},
steps = {z = 90, roads = false},
platform = {z = 90, roads = false},
construction = {z = 10, roads = false}
construction = {z = 33, roads = false}
},
construction = {
motorway = {z = 38, roads = false},
trunk = {z = 37, roads = false},
primary = {z = 36, roads = false},
secondary = {z = 35, roads = false},
tertiary = {z = 34, roads = false},
residential = {z = 33, roads = false},
unclassified = {z = 33, roads = false},
road = {z = 33, roads = false},
living_street = {z = 32, roads = false},
pedestrian = {z = 31, roads = false},
raceway = {z = 30, roads = false},
motorway_link = {z = 24, roads = false},
trunk_link = {z = 23, roads = false},
primary_link = {z = 22, roads = false},
secondary_link = {z = 21, roads = false},
tertiary_link = {z = 20, roads = false},
service = {z = 15, roads = false},
track = {z = 11, roads = false},
path = {z = 10, roads = false},
footway = {z = 10, roads = false},
bridleway = {z = 10, roads = false},
cycleway = {z = 10, roads = false},
steps = {z = 9, roads = false},
platform = {z = 9, roads = false},
},
railway = {
rail = {z = 440, roads = true},
Expand Down