Skip to content

Commit

Permalink
Merge pull request #102 from mapzen/344-add-winter-sports-pois
Browse files Browse the repository at this point in the history
Add racetracks as a kind of roads.
  • Loading branch information
zerebubuth committed Dec 9, 2015
2 parents 17fe1d4 + c2e2cb0 commit c6b6a77
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 c6b6a77

Please sign in to comment.