← Back to all sparks
R

rosm

ANALYTICS
Velocity0.0

Plot Open Street Map and Other Tiles in R

rosm 0.3.0 silently deprecates its entire API and rebuilds on wk and curl

mappingopenstreetmapraster-tilesr-packageapi-rewrite
Current state
rosm downloads and stitches raster map tiles from OpenStreetMap and similar sources for use in R. After six years without a release, 0.3.0 deprecated the whole previous API, dropped the rgdal dependency, and introduced a replacement built on wk geometry and curl's multi-download interface. The follow-up 0.3.1 is documentation and CI work, plus test skips for Bing and Stamen URLs that no longer resolve.
Where it's heading
The package is being brought back from dormancy on modern foundations rather than extended. rgdal's retirement forced the issue, and the maintainer used it to replace the download path with concurrent curl requests and to hand geometry handling to wk. What follows is consolidation: dead built-in tile sources are being tested around rather than replaced, which leaves the source registry as the obvious unfinished edge.
Prediction
The dead Bing and Stamen endpoints are currently skipped rather than fixed, so the next release most likely prunes or re-points the built-in tile source list and continues retiring the silently deprecated functions.

Recent moves

  1. 6mo ago

    Documentation syntax and CI cleanup after the rewrite

    Fixes outdated documentation syntax, updates GitHub Actions, and skips tests for the built-in Bing Maps and Stamen URLs that no longer load. Housekeeping on top of 0.3.0 three days earlier, though the skipped tests quietly confirm two shipped tile sources are dead.

    View source ↗
  2. 6mo ago

    Entire previous API deprecated; new wk and curl backend

    ⚡ SPARK

    The release that resets the package: the whole prior API is silently deprecated, rgdal is dropped, and a new API arrives built on wk and curl's multi-download interface, with rebuilt tests and CI. Everything in the current state of rosm dates from here.

    View source ↗
  3. 7y ago

    Fix cancellation during tile stitching

    Addresses several issues with cancelling tile stitching mid-run. The last release before the package went quiet for six years.

    View source ↗
  4. 9y ago

    Downloads move to curl; foreach dependency removed

    Backend rework that drops foreach and moves downloads to curl for stability. The same instinct that drives 0.3.0 — shed a heavy dependency, put fetching on a better footing — arriving nine years earlier.

    View source ↗
  5. 10y ago

    Faster tile merging and overlay helpers

    Speeds up tile merging via foreach and adds helpers for overlaying points, lines and polygons on a fetched basemap. Broadens the package from tile retrieval toward finished map output.

    View source ↗
  6. 10y ago

    osm.raster() exports tiles as RasterStack objects

    Adds osm.raster(), which returns OSM tiles as raster objects that can be reprojected and written to disk. This is what turned rosm from a plotting convenience into a data source other GIS workflows could consume.

    View source ↗