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


Keywords
GIS, Networks, OpenStreetMap, Routing, geography, geospatial, mapping, networkx, osm, osmnx, overpass-api, python, spatial, spatial-analysis, spatial-data, street-networks, transport, transportation, urban, urban-planning
License
MIT
Install
pip install osmnx==1.9.1

Documentation

PyPI Version PyPI Downloads Anaconda Downloads Documentation Status Build Status Coverage Status

OSMnx

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 coming soon: read the migration guide.

Citation

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

Boeing, G. 2017. "OSMnx: New Methods for Acquiring, Constructing, Analyzing, and Visualizing Complex Street Networks." Computers, Environment and Urban Systems 65, 126-139.

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.