mask_raster_to_polygon.Rd
Mask raster to polygon
mask_raster_to_polygon(raster_object, polygon)
raster_object | character. An object of class RasterLayer. |
---|---|
polygon | character. A polygon to define spatial boundary of raster value counts (e.g. a given city's watersheds) |
masks a raster file against a chosen polygon.
Sean Turner (sean.turner@pnnl.gov)