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