IduEdu is an open-source Python library for the creation and manipulation of complex city networks from OpenStreetMap.
- Graphs from OSM/Polygon/Name - Functions for building a graph of roads, pedestrians and public transport based on OpenStreetMap (OSM), as well as creating an intermodal (public transport + pedestrians) graph.
- Adjacency matrix - Calculate adjacency matrix based on the provided graph and edge weight type (time_min or length_meter).
IduEdu can be installed with pip
:
pip install IduEdu
from iduedu import config
config.set_timeout(10) # Timeout for overpass queries
config.change_logger_lvl('INFO') # To mute all debug msgs
config.set_enable_tqdm(False) # To mute all tqdm's progress bars
config.set_overpass_url('http://your.overpass-api.de/interpreter/URL')