osmnxr: Download, Model and Analyze 'OpenStreetMap' Street Networks

A 'tidyverse'-friendly toolkit, inspired by the 'OSMnx' 'Python' library, to download, model, simplify, analyze and visualize street networks and other geospatial features from 'OpenStreetMap'. Build routable graphs from a place name, address, point or bounding box; simplify topology; compute shortest paths, isochrones and urban metrics (intersection density, circuity, street-orientation entropy, centrality); and export to 'sf', 'sfnetworks' and 'MapLibre'. Heavy graph computation is performed by a bundled 'Rust' core.

Version: 0.1.1
Depends: R (≥ 4.2)
Imports: cli, glue, httr2 (≥ 1.0.0), purrr, rlang (≥ 1.1.0), sf, tibble
Suggests: dodgr, ggplot2, jsonlite, knitr, rmarkdown, sfnetworks, testthat (≥ 3.0.0), tidygraph, units, xml2
Published: 2026-07-05
DOI: 10.32614/CRAN.package.osmnxr (may not be active yet)
Author: Andre Leite [aut, cre], Marcos Wasilew [aut], Hugo Vasconcelos [aut], Carlos Amorin [aut], Diogo Bezerra [aut], StrategicProjects [cph, fnd], The extendr authors [cph] (Bundled Rust crates extendr-api, extendr-ffi, extendr-macros), David Tolnay [cph] (Bundled Rust crates proc-macro2, quote, syn, paste, readonly, unicode-ident), Alex Crichton [cph] (Bundled Rust crate proc-macro2), Marvin Loebel [cph] (Bundled Rust crate lazy_static), Aleksey Kladov [cph] (Bundled Rust crate once_cell), Unicode, Inc. [cph] (Bundled Rust crate unicode-ident (Unicode-3.0 data tables))
osmnxr author details
Maintainer: Andre Leite <leite at castlab.org>
BugReports: https://github.com/StrategicProjects/osmnxr/issues
License: MIT + file LICENSE
URL: https://github.com/StrategicProjects/osmnxr, https://strategicprojects.github.io/osmnxr/
NeedsCompilation: yes
SystemRequirements: Cargo (Rust's package manager), rustc
Language: en-US
Materials: README, NEWS
CRAN checks: osmnxr results

Documentation:

Reference manual: osmnxr.html , osmnxr.pdf
Vignettes: Accessibility analysis (source, R code)
Features and points of interest (source, R code)
Figure-ground diagrams (source, R code)
Getting started with osmnxr (source, R code)
Interoperability and export (source, R code)
Routing and isochrones (source, R code)
Street orientation (source, R code)
Urban metrics (source, R code)

Downloads:

Package source: osmnxr_0.1.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=osmnxr to link to this page.

mirror server hosted at Truenetwork, Russian Federation.