gboeing/osmnx

Download, model, analyze, and visualize street networks and other geospatial features from OpenStreetMap.

Python

5,870

4,574 commits

updated Jul 31, 2026

See the code

README

OSMnx

PyPI Version PyPI Downloads Documentation Status Build Status Coverage Status

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.

Citation

If you use OSMnx in your work, please cite the paper:

Boeing, G. (2025). Modeling and Analyzing Urban Networks and Amenities with OSMnx. Geographical Analysis 57 (4), 567-577. doi:10.1111/gean.70009

Getting Started

First read the Getting Started guide for an introduction to the package and FAQ.

Then work through the 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.

geography
geospatial
gis
mapping
networks
networkx
openstreetmap
osm
osmnx
overpass-api
python
routing
spatial
spatial-analysis
spatial-data
street-networks
transport
transportation
urban
urban-planning

gboeing/osmnx

Download, model, analyze, and visualize street networks and other geospatial features from OpenStreetMap.

Python

5,870

4,574 commits

updated Jul 31, 2026

See the code

README

OSMnx

PyPI Version PyPI Downloads Documentation Status Build Status Coverage Status

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.

Citation

If you use OSMnx in your work, please cite the paper:

Boeing, G. (2025). Modeling and Analyzing Urban Networks and Amenities with OSMnx. Geographical Analysis 57 (4), 567-577. doi:10.1111/gean.70009

Getting Started

First read the Getting Started guide for an introduction to the package and FAQ.

Then work through the 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.

geography
geospatial
gis
mapping
networks
networkx
openstreetmap
osm
osmnx
overpass-api
python
routing
spatial
spatial-analysis
spatial-data
street-networks
transport
transportation
urban
urban-planning

Project health

Overall

5.6/10

Maintained

10/10

Code review

0/10
OpenSSF Scorecard

PyPI

Latest release

2.1.1 · Jul 21, 2026

Releases this year

3

Significant stargazers

(top 24 of 39)

Matt Le

91 followers · starred Jan 2017

Joshua Carp

325 followers · starred Nov 2024

Thomas J. Fan

686 followers · starred Jan 2018

Agriya Khetarpal

163 followers · starred Dec 2025