Skip to main content

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

Project description


PyPI Version PyPI Downloads Anaconda 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.

OSMnx 2.0 is in beta: read the migration guide.


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.

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.


Follow the Installation guide to install OSMnx.


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.


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.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

osmnx-1.9.3.tar.gz (91.5 kB view hashes)

Uploaded Source

Built Distribution

osmnx-1.9.3-py3-none-any.whl (107.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page