Skip to content

Version 0.1.3

Choose a tag to compare

@paleolimbot paleolimbot released this 06 Dec 22:04
· 120 commits to master since this release

Submit to CRAN 2015-12-06 (accepted). Add function osm.raster() supporting export of OSM tiles as RasterStack objects (see issue #1).

We're excited to announce a new release of the rosm package! A feature request was posted to export the images created by rosm as a raster package object, opening up possibilities for reprojecting and writing to disk OSM tiles for use in your favourite GIS. Thanks to Timothée Giraud, maintainer of the cartography package for suggesting and writing the base code for this update. Ready to get started? The syntax is just like osm.plot() but with a few options like projection and filename that reproject/write your images using the raster package. Try this:

library(prettymapr)
library(rosm)
library(raster)

ns <- searchbbox("nova scotia", source="google")
rasterobj <- osm.raster(ns)
plotRGB(rasterobj)

Up next in the update queue? Faster fusing of tiles enabling the creation of high-resolution geotiffs of your favourite OSM tile maps.

rosm_0.1.3-manual.pdf