From 829ca49678ec33b75de96e83f7dd93ccfd3a8a65 Mon Sep 17 00:00:00 2001 From: Ilya Zverev Date: Tue, 17 Oct 2017 20:18:38 +0300 Subject: [PATCH] Disregard stations for stop_area creation, fixes #2 --- stop_areas/make_stop_areas.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stop_areas/make_stop_areas.py b/stop_areas/make_stop_areas.py index 9403732..70a8333 100755 --- a/stop_areas/make_stop_areas.py +++ b/stop_areas/make_stop_areas.py @@ -100,6 +100,8 @@ def add_stop_areas(src): for el in src: if 'tags' not in el: continue + if 'station' in el['tags']: + continue if (el['tags'].get('railway', None) not in ('subway_entrance', 'platform') and el['tags'].get('public_transport', None) not in ('platform', 'stop_position')): continue