Handle.Spatial | R Documentation |
Cropped and masking the original SpatRaster ('BASE') using supplied SpatExtent or shapefile ('Shape') and retaining all pixels which are even just partially covered.
Handle.Spatial(BASE, Shape)
BASE |
A SpatRaster within which coverage should be identified |
Shape |
Either a SPatExtent or an sf polygon(-collection) whose coverage of the raster object is to be found. |
A SpatRaster.
data("Jotunheimen_ras")
data("Jotunheimen_poly")
Mask.Shape(Jotunheimen_ras, Jotunheimen_poly)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.