Tools for the extraction of OpenStreetMap (OSM) street network data. Intended to be used in tandem with Pandana and UrbanAccess libraries to extract street network nodes and edges.
OSMnet offers tools to download street network data from OpenStreetMap and extract a graph network comprised of nodes and edges to be used in Pandana street network accessibility calculations.
Let us know what you are working on or if you think you have a great use case
by tweeting us at
@urbansim or post on the UrbanSim forum.
Please report any bugs you encounter via GitHub issues.
Contributing to OSMnet
If you have improvements or new features you would like to see in OSMnet:
- Open a feature request via GitHub issues.
- Contribute your code from a fork or branch by using a Pull Request and request a review so it can be considered as an addition to the codebase.
conda installation is forthcoming.
OSMnet can be installed via PyPI:
pip install osmnet
To install use the
develop command rather than
install. Make sure you
are using the latest version of the code base by using git’s
inside the cloned repository.
To install OSMnet follow these steps:
- Git clone the OSMnet repo
- in the cloned directory run:
python setup.py develop
To update to the latest version:
git pull inside the cloned repository
Documentation for OSMnet can be found here.