wbt_reclass: Reclass

Description Usage Arguments Value

View source: R/gis_analysis.R

Description

Reclassifies the values in a raster image.

Usage

1
2
3
4
5
6
7
8
wbt_reclass(
  input,
  output,
  reclass_vals,
  assign_mode = FALSE,
  wd = NULL,
  verbose_mode = FALSE
)

Arguments

input

Input raster file.

output

Output raster file.

reclass_vals

Reclassification triplet values (new value; from value; to less than), e.g. '0.0;0.0;1.0;1.0;1.0;2.0'.

assign_mode

Optional Boolean flag indicating whether to operate in assign mode, reclass_vals values are interpreted as new value; old value pairs.

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.