raster,OpenStreetMap-method | R Documentation |
Create a RasterLayer from an OpenStreetMap
## S4 method for signature 'OpenStreetMap'
raster(x, ...)
x |
an OpenStreetMap |
... |
unused |
## Not run:
library(raster)
longBeachHarbor <- openmap(c(33.760525217369974,-118.22052955627441),
c(33.73290566922855,-118.17521095275879),14,'bing')
ras <- raster(longBeachHarbor)
plotRGB(ras)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.