OSMnx is a Python package for quickly and easily downloading, modeling, analyzing, and visualizing street networks and other spatial data from OpenStreetMap. Here’s a quick round-up of recent updates to OSMnx. I’ll try to keep this up to date as a single reference source. A lot of new features have appeared in the past few months, and people have been asking about what’s new and what’s possible. You can:
- Download and model street networks or other networked infrastructure anywhere in the world with a single line of code
- Download any other spatial geometries, place boundaries, building footprints, or points of interest as a GeoDataFrame
- Download by city name, polygon, bounding box, or point/address + network distance
- Download drivable, walkable, bikeable, or all street networks
- Download node elevations and calculate edge grades (inclines)
- Impute missing speeds and calculate graph edge travel times
- Simplify and correct the network’s topology to clean-up nodes and consolidate intersections
- Fast map-matching of points, routes, or trajectories to nearest graph edges or nodes
- Save networks to disk as shapefiles, geopackages, and GraphML
- Save/load street network to/from a local .osm xml file
- Conduct topological and spatial analyses to automatically calculate dozens of indicators
- Calculate and visualize street bearings and orientations
- Calculate and visualize shortest-path routes that minimize distance, travel time, elevation, etc
- Visualize street networks as a static map or interactive leaflet web map
- Visualize travel distance and travel time with isoline and isochrone maps
- Plot figure-ground diagrams of street networks and building footprints
Here are some research projects and publications using OSMnx for spatial network analysis:
- OSMnx: New Methods for Acquiring, Constructing, Analyzing, and Visualizing Complex Street Networks
- A Multi-Scale Analysis of 27,000 Urban Street Networks: Every US City, Town, Urbanized Area, and Zillow Neighborhood
- Urban Spatial Order: Street Network Orientation, Configuration, and Entropy
- Planarity and Street Network Representation in Urban Form Analysis
- Spatial Information and the Legibility of Urban Form: Big Data in Urban Morphology
- Street Network Models and Measures for Every U.S. City, County, Urbanized Area, Census Tract, and Zillow-Defined Neighborhood
- Urban Street Network Analysis in a Computational Notebook
- Methods and Measures for Analyzing Complex Street Networks and Urban Form
- Exploring Urban Form Through OpenStreetMap Data: A Visual Introduction
- The Morphology and Circuity of Walkable and Drivable Street Networks
And here are some blog posts running through features, findings, and how-to:
- OSMnx: Python for Street Networks
- What’s New with OSMnx
- What’s New With OSMnx, Part 2
- OSMnx Summer Wrap-Up
- Urban Street Network Orientation
- Square-Mile Street Network Visualization
- Urban Form Figure-Ground Diagrams
- Urban Form Analysis with OpenStreetMap Data
- Urban Street Network Centrality
- Isochrone Maps with OSMnx + Python
- OSMnx and Street Network Elevation Data
- Street Network Orientation
- Comparing City Street Orientations
- City Street Orientations around the World
- New Article: OSMnx in CEUS
- R-tree Spatial Indexing with Python
- Network-Based Spatial Clustering
- New Article: Urban Street Networks in EP-B
- New Chapter: Street Network Morphology
- New Article: Planar Models of Street Networks
- US Street Network Models and Measures
- Street Network Analysis in a Docker Container
Finally, you can check out the OSMnx documentation or the usage examples for more info.
12 replies on “OSMnx Features Round-Up”
[…] Each sector in the rose diagram corresponds to a street orientation. The length of the sector is a measure of the number or frequency of streets with that particular orientation.Source: geoffboeing.com […]
[…] recently published in Environment and Planning B: Urban Analytics and City Science. This study uses OSMnx to download and analyze 27,000 street networks from OpenStreetMap at metropolitan, municipal, and […]
[…] length ratio – then measures how nonplanar street networks are in cities around the world using OSMnx. For more, read the […]
[…] heard feedback from some folks over the past few months who would like to play around with OSMnx for street network analysis, transport modeling, and urban design—but can’t because they […]
[…] For more, check out the article or read more about OSMnx. […]
[…] What is OSMnx? What does it do? Here’s a succinct overview. […]
[…] of stroke services in a metropolitan area. This workflow is demonstrated in R and Python (including OSMnx), and features static mapping and interactive web mapping to explore the region. For more info, […]
[…] My new article “Spatial Information and the Legibility of Urban Form: Big Data in Urban Morphology” has been published in the International Journal of Information Management (download free PDF). It builds on recent work by Crooks et al, presenting workflows to integrate data-driven and narrative approaches to urban morphology in today’s era of ubiquitous urban big data. It situates this theoretically in the visual culture of planning to present a visualization-mediated interpretative process of data-driven urban morphology, focusing on transportation infrastructure via OSMnx. […]
[…] For more info, check out the documentation, the usage examples, or the OSMnx features round-up. […]
[…] Settlement Layer, I modeled and analyzed the street networks of every urban area in the world using OSMnx and OpenStreetMap raw data. In total, I modeled over 160 million street network nodes and over 320 […]
[…] programa de Boeing visualiza isso como quatro barras longas, com várias barras mais curtas representando a minoria de ruas do bairro […]
[…] of streets pointing in that particular direction. These beautiful visualizations, created by Geoff Boeing, reveal the hidden patterns of our cities’ street […]