Skip to content

Commit

Permalink
Add "construction=" values to z-order table so highway=construction l…
Browse files Browse the repository at this point in the history
…ayers properly

This change is in openstreetmap-carto.lua, so it will take effect for new features and after database reload
  • Loading branch information
jeisenbe committed Jan 17, 2019
1 parent 6684f0a commit 810448b
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion openstreetmap-carto.lua
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,32 @@ 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},
},
railway = {
rail = {z = 440, roads = true},
Expand Down

0 comments on commit 810448b

Please sign in to comment.