Skip to content
Snippets Groups Projects
Commit d978e077 authored by markn92's avatar markn92
Browse files

wip

parent 23bdf8b0
No related branches found
No related tags found
No related merge requests found
...@@ -73,3 +73,7 @@ def to_coordinates(G, path): ...@@ -73,3 +73,7 @@ def to_coordinates(G, path):
return list(map(get_coordinates, path)) return list(map(get_coordinates, path))
def get_coordinates(G, n):
lat = G.nodes[n]['lat']
lon = G.nodes[n]['lon']
return lon, lat
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment