Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaria Volvenkova <d.volvenkova@corp.mail.ru>2017-10-20 15:18:26 +0300
committerVladimir Byko-Ianko <bykoianko@gmail.com>2017-10-20 18:03:27 +0300
commitc2d255281c18654fd8e5928c839758da94ff73c3 (patch)
tree793590b80847b15fbdee029c8d64c1cd92d2281b
parentc2f3314a05463d2ec65a4d26ae08c05ad976fdaa (diff)
Updated type of shape id in transit graph.
-rwxr-xr-xtools/python/transit/transit_graph_generator.py3
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)