Skip to content

Instantly share code, notes, and snippets.


Loïc Messal Tofull

View GitHub Profile
Tofull /
Last active Nov 3, 2020 — forked from aflaxman/gist:287370
networkx-osm import open street map data as a networkx graph
Read directional graph from Open Street Maps osm format
Based on the osm to networkx tool from aflaxman :
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)