Skip to content

Commit

Permalink
label unpaved roads; make ice roads non routable
Browse files Browse the repository at this point in the history
  • Loading branch information
ligfietser committed Jan 24, 2017
1 parent 5347370 commit 31b7b63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion styles/generic new/lines
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,11 @@ highway=*
& surface!=* & tracktype!=* & smoothness!=* & sac_scale!=*
{ add mkgmap:unpaved=1 }

highway ~ '.*(trunk|primary|secondary|tertiary|unclassified|residential|minor|road).*' & mkgmap:unpaved=1 { add mkgmap:road-speed = '-1' } [0x10002 resolution 21 continue with_actions]
highway ~ '.*(trunk|primary|secondary|tertiary|unclassified|residential|minor|road).*' & mkgmap:unpaved=1 { add mkgmap:road-speed = '-1' ; addlabel 'unpaved' } [0x10002 resolution 21 continue with_actions]
highway ~ '.*(byway|living_street|service).*' & mkgmap:unpaved=1 [0x10002 resolution 23 continue with_actions]

highway=* & ice_road=yes { addlabel 'ice road' } [0x10002 resolution 24]

# Convert generic path to most specific
highway=footway & snowplowing!=no
& (bicycle=designated|bicycle=official|mtb=designated)
Expand Down

0 comments on commit 31b7b63

Please sign in to comment.