Learn R Programming

whitebox (version 0.1.0)

clip_raster_to_polygon: Clip raster to polygon

Description

Clips a raster to a vector polygon.

Usage

clip_raster_to_polygon(input, polygons, output,
  maintain_dimensions = FALSE, verbose_mode = FALSE)

Arguments

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.

Value

Returns the tool text outputs.