Skip to content
/ IduEdu Public

Creation and manipulation of city networks from OpenStreetMap.

Notifications You must be signed in to change notification settings

DDonnyy/IduEdu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IduEdu

Code style: black PyPI version

IduEdu is an open-source Python library for the creation and manipulation of complex city networks from OpenStreetMap.

Features and how to use

  1. 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.
  2. Adjacency matrix - Calculate adjacency matrix based on the provided graph and edge weight type (time_min or length_meter).

Installation

IduEdu can be installed with pip:

pip install IduEdu

Configuration changes

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')