wbt_clip_raster_to_polygon {whitebox} | R Documentation |
Clips a raster to a vector polygon.
wbt_clip_raster_to_polygon( input, polygons, output, maintain_dimensions = FALSE, wd = NULL, verbose_mode = FALSE )
input |
Input raster file. |
polygons |
Input vector polygons file. |
output |
Output raster file. |
maintain_dimensions |
Maintain input raster dimensions?. |
wd |
Changes the working directory. |
verbose_mode |
Sets verbose mode. If verbose mode is False, tools will not print output messages. |
Returns the tool text outputs.