diff options
author | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2017-10-20 15:18:26 +0300 |
---|---|---|
committer | Vladimir Byko-Ianko <bykoianko@gmail.com> | 2017-10-20 18:03:27 +0300 |
commit | c2d255281c18654fd8e5928c839758da94ff73c3 (patch) | |
tree | 793590b80847b15fbdee029c8d64c1cd92d2281b | |
parent | c2f3314a05463d2ec65a4d26ae08c05ad976fdaa (diff) |
Updated type of shape id in transit graph.
-rwxr-xr-x | tools/python/transit/transit_graph_generator.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/python/transit/transit_graph_generator.py b/tools/python/transit/transit_graph_generator.py index 43d9b4b280..491e55e4e1 100755 --- a/tools/python/transit/transit_graph_generator.py +++ b/tools/python/transit/transit_graph_generator.py @@ -258,8 +258,7 @@ class TransitGraphBuilder: for point in curve_points: polyline.append({'x': point[0], 'y': point[1]}) - shape = {'stop1_id': id1, - 'stop2_id': id2, + shape = {'id': {'stop1_id': id1, 'stop2_id': id2}, 'polyline': polyline} self.shapes.append(shape) |