Support platform_edge

This commit is contained in:
Ilya Zverev 2018-04-07 14:57:49 +03:00
parent a3576ec54c
commit ae6e29fbff

View file

@ -244,7 +244,7 @@ class StopArea:
def is_platform(el):
if 'tags' not in el:
return False
if el['tags'].get('railway') == 'platform':
if el['tags'].get('railway') in ('platform', 'platform_edge'):
return True
if el['tags'].get('public_transport') == 'platform':
return True