osmnx1.9.4
Published
Download, model, analyze, and visualize street networks and other geospatial features from OpenStreetMap
pip install osmnx
Package Downloads
Authors
Project URLs
Requires Python
<3.13,>=3.8
Dependencies
- geopandas
<0.15,>=0.12
- networkx
<3.4,>=2.5
- numpy
<1.27,>=1.20
- pandas
<2.3,>=1.1
- requests
<2.33,>=2.27
- shapely
<2.1,>=2.0
- scipy
<1.14,>=1.5; extra == "entropy"
- scikit-learn
<1.6,>=0.23; extra == "neighbors"
- scipy
<1.14,>=1.5; extra == "neighbors"
- gdal
; extra == "raster"
- rasterio
<1.4,>=1.3; extra == "raster"
- matplotlib
<3.9,>=3.5; extra == "visualization"
OSMnx (v1 maintenance branch)
OSMnx is a Python package to easily download, model, analyze, and visualize street networks and other geospatial features from OpenStreetMap. You can download and model walking, driving, or biking networks with a single line of code then analyze and visualize them. You can just as easily work with urban amenities/points of interest, building footprints, transit stops, elevation data, street orientations, speed/travel time, and routing.
OSMnx 2.0 is in beta: read the migration guide.
Citation
If you use OSMnx in your work, please cite the paper:
Boeing, G. (2024). Modeling and Analyzing Urban Networks and Amenities with OSMnx. Working paper. https://geoffboeing.com/publications/osmnx-paper/
Getting Started
First read the Getting Started guide for an introduction to the package and FAQ.
Then work through the OSMnx Examples Gallery for step-by-step tutorials and sample code.
Installation
Follow the Installation guide to install OSMnx.
Support
If you have any trouble, consult the User Reference. The OSMnx repository is hosted on GitHub. If you have a "how-to" or usage question, please ask it on StackOverflow, as we reserve the repository's issue tracker for bug tracking and feature development.
License
OSMnx is open source and licensed under the MIT license. OpenStreetMap's open data license requires that derivative works provide proper attribution. Refer to the Getting Started guide for usage limitations.