This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Read directional graph from Open Street Maps osm format | |
Based on the osm to networkx tool from aflaxman : https://gist.github.com/aflaxman/287370/ | |
Use python3.6 | |
Added : | |
- : Python3.6 compatibility | |
- : Cache for avoiding to download again the same osm tiles | |
- : distance computation to estimate length of each ways (useful to compute the shortest path) |