splitRaster | R Documentation |
Split raster into cells
splitRaster(x, y, buffer = TRUE, out.dir = tempdir())
x |
RasterLayer. |
y |
SpatialPolygonsDataFrame, polygon grid (as created using gridRaster()), |
buffer |
TRUE/FALSE, if to create a small buffer around the polygon to avoid missing values at the polygon border when merging back together. |
out.dir |
string, output directory; default to tempdir(). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.