OSMnx: A Python Package to Work with Graph-Theoretic OpenStreetMap Street Networks

Journal of Open Source Software, 2 (12), 2017, DOI:10.21105/joss.00215

4 Pages Posted: 16 Jun 2017

See all articles by Geoff Boeing

Geoff Boeing

University of Southern California - Sol Price School of Public Policy

Date Written: March 17, 2017

Abstract

OSMnx is a Python package for downloading OpenStreetMap street network data and then constructing it into NetworkX graphs. OSMnx can simplify and correct the network’s topology automatically to ensure that nodes actually exclusively represent intersections and dead-ends. Once the network is constructed and corrected, OSMnx can calculate shortest paths from one node to another. It can also calculate various network measures relevant to urban design and transportation as well as statistical physics, including intersection density, average intersection degree, edge density, average street segment length, circuity, clustering coefficients, betweenness centrality, closeness centrality, PageRank, and many more. Its built-in visualization capabilities leverage matplotlib to easily plot routes, one-way streets, dead-ends, high/low connectivity intersections, and figure-ground diagrams of street networks and urban form.

Keywords: python, openstreetmap, OSMnx, networks, network analysis, urban planning, urban design, urban form, urban morphology, GIS, geospatial

Suggested Citation

Boeing, Geoff, OSMnx: A Python Package to Work with Graph-Theoretic OpenStreetMap Street Networks (March 17, 2017). Journal of Open Source Software, 2 (12), 2017, DOI:10.21105/joss.00215. Available at SSRN: https://ssrn.com/abstract=2985763

Geoff Boeing (Contact Author)

University of Southern California - Sol Price School of Public Policy ( email )

Los Angeles, CA 90089-0626
United States

Here is the Coronavirus
related research on SSRN

Paper statistics

Downloads
121
Abstract Views
593
rank
244,611
PlumX Metrics