Skip to content

osmextract

0.6.0Package record

Download and Import Open Street Map Data Extracts

1packages dependsuggested by 2
17.3Kdownloads / year
83.9%test coverage
13/13flavors OK

Overview

About

Match, download, convert and import Open Street Map data extracts obtained from several providers.

Changes in 0.6.0

MAJOR CHANGES

  • The default directory used to store .osm.pbf and .gpkg files downloaded or created by this package has changed from tempdir() to tools::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 a sf/sfc/bbox is provided as input for place. If boundary is not NA, it is automatically set to match place so only the relevant portion of the extract is processed (#313). Thanks to @juanfonsecaLS1.
  • The CONFIG file used by oe_vectortranslate is now always in synch with the one provided by sf or GDAL. A fall-back is provided in case of problems (#261).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.9 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 0.6.0
README· In the repository, left out of the releaseVignettesYes · 4 · dynamicNEWSYes · 100% structured · mentions 0.6.0Citation fileNoWebsiteYes · pkgdown
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

17.3K
CRAN downloads in the past year
Rank #3,247 · ~47/day · ~1.4K/mo
Daily download trend is not available in this view yet.
1.3K30 days
3.6K90 days
17.3K1 year
Compare downloads with other packages →
Also on223 r2u8 autocran141 c2d4u

Repository

195Stars
16Forks
29Open issues
2Open PRs
12Releases
1,188Commits
11Commit identities
osmosm-pbfrstatsropen-datageofabrik-zonegeo
License file reads as GPL-3.0 · 1,188 commits · Last activity 2026-10-18 · -0.5% stars, 30d · Default branch at 0.7.0, ahead of CRAN 0.6.0 (checked 2026-10-11) · Discussions: 13 posts
Responsiveness
How these are sampled
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

2025-09-22 · 1792026-09-22 · 195
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux and macOS

Governance and community (4)
Code of conduct (inherited from ropensci)Contributing guideIssue templatesPR template
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-05 · The repository has a site deploy workflow

pkgdown site last built 2026-10-05

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 4 practices
Reproducibility and dev environment (2)
data-raw/Dev Container
CRAN release process (1)
cran-comments.md
Research and citation (1)
codemeta.json
Lint, format, editor (2)
lintrRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • GitHub Copilotfirst seen 2026-04-10
    Commits: 2 by its own account
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 4.1.0
Imports (5)
sfutilstoolshttrjsonlite
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (5)
Author, Maintainer since 0.2.0 (2021)
Contributor
Reviewer
Salva reviewed the package (v. 0.1) for rOpenSci, see <https://github.com/ropensci/software-review/issues/395>
Reviewer
Nicholas reviewed the package (v. 0.1) for rOpenSci, see <https://github.com/ropensci/software-review/issues/395>
Releases (11)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.6.0Latest
    record
    2026-04-14 · current release · diff ↗ ·
    added 1 export
    get_default_osmconf_ini
  • R
    R 4.5.0 released · 2025-04-11
  • 0.5.3
    record
    2025-04-09 · diff ↗
  • 0.5.2
    record
    2024-11-22 · diff ↗
  • 0.5.1
    record
    2024-04-30 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.5.0
    record
    2023-08-11 · diff ↗ ·
    added 3 exports
    oe_clean, oe_get_boundary, read_poly
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.1
    record
    2022-08-26 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4.0
    record
    2021-10-27 · diff ↗
  • 0.3.1
    record
    2021-07-27 · diff ↗ ·
    added 1 export
    oe_get_network
  • 0.3.0
    record
    2021-06-10 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.1
    record
    2021-02-15 · diff ↗
Show 2 earlier eventsHide 2 earlier events
  • 0.2.0
    record
    2021-02-11
  • R
    R 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
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("osmextract")
Gilardi, A., Fernández, S., Lovelace, R., Potter, N., & Rowlingson, B. (2026). osmextract: Download and Import Open Street Map Data Extracts (Version 0.6.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for osmextract version 0.6.0 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy