Skip to content

Commit

Permalink
Add racetracks as a kind of roads.
Browse files Browse the repository at this point in the history
  • Loading branch information
zerebubuth committed Dec 9, 2015
1 parent 17fe1d4 commit c2e2cb0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions TileStache/Goodies/VecTiles/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ def _road_kind(properties):
return 'aerialway'
if highway == 'motorway_junction':
return 'exit'
leisure = properties.get('leisure')
if leisure == 'track':
# note: racetrack rather than track, as track might be confusing
# between a track for racing and a track as in a faint trail.
return 'racetrack'
return 'minor_road'


Expand Down

0 comments on commit c2e2cb0

Please sign in to comment.