Clips a raster to a shapefile A user-written function from Carsten Neumann: https://stat.ethz.ch/pipermail/r-sig-geo/2013-July/018912.html
1 | clip_raster(raster, shape)
|
raster |
raster to clip |
shape |
shapefile to use as clip boundary |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.