Download and Import Open Street Map Data Extracts
Overview
Match, download, convert and import Open Street Map data extracts obtained from several providers.
MAJOR CHANGES
- The default directory used to store
.osm.pbfand.gpkgfiles downloaded or created by this package has changed fromtempdir()totools::R_user_dir("osmextract", "data")(#302). - Bump minimum R version to 4.1.0 because that's a requirement for one of our indirect dependencies (i.e. svglite). This also ensures that we can properly use
tools::R_user_dir()since that function was introduced in R 4.0.0 (#302). - Updated the behaviour of
oe_get()and related functions (oe_get_boundary(),oe_get_network(), ...) when asf/sfc/bboxis provided as input forplace. Ifboundaryis notNA, it is automatically set to matchplaceso only the relevant portion of the extract is processed (#313). Thanks to @juanfonsecaLS1. - The CONFIG file used by
oe_vectortranslateis now always in synch with the one provided bysforGDAL. A fall-back is provided in case of problems (#261).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK12 OK2026-04-25
Show 1 earlier changeHide 1 earlier change
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 22 (1 internal)includes a package overview page
- Examples that run
- 81%13 run in a plain check · 3 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 86%
- Median days to close, 50 most recently updated closed issues
- 45
- Median days to close, 50 most recently updated closed PRs
- 2
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
17 development-tooling and community-health practices detected across 8 families in the upstream repository
Checks run against github.com/ropensci/osmextract on 2026-10-11.
The R CMD check workflow runs on Linux and macOS
GitHub Pages site last deployed 2026-10-05 · The repository has a site deploy workflow
pkgdown site last built 2026-10-05
Show all practicesHide 4 practices
This repository shows signs of AI coding tools.
- GitHub Copilotfirst seen 2026-04-10Commits: 2 by its own account
Dependencies
Installing osmextract adds 17 packages (14 with compiled code, 20 MB of source tarballs). Heaviest: sf 9.3 MB, s2 2.8 MB, Rcpp 1.8 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.6.0Latest
- RR 4.5.0 released · 2025-04-11
- 0.5.32025-04-09 · diff ↗
- 0.5.22024-11-22 · diff ↗
- 0.5.12024-04-30 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.5.0
- RR 4.3.0 released · 2023-04-21
- 0.4.12022-08-26 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.4.02021-10-27 · diff ↗
- 0.3.1
- 0.3.02021-06-10 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.2.12021-02-15 · diff ↗
Show 2 earlier eventsHide 2 earlier events
- 0.2.02021-02-11
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-02-11
- Total releases
- 11 / 5 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 2.3 MB / 4 files
- Download size
- 3.4 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("osmextract")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.