wbt_clip_raster_to_polygon: Clip raster to polygon

Description Usage Arguments Value

View source: R/gis_analysis.R

Description

Clips a raster to a vector polygon.

Usage

1
2
3
4
5
6
7
8
wbt_clip_raster_to_polygon(
  input,
  polygons,
  output,
  maintain_dimensions = FALSE,
  wd = NULL,
  verbose_mode = FALSE
)

Arguments

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.

Value

Returns the tool text outputs.


whitebox documentation built on Sept. 7, 2020, 3 p.m.