wbt_filter_raster_features_by_area: Filter raster features by area

Description Usage Arguments Value

View source: R/gis_analysis.R

Description

Removes small-area features from a raster.

Usage

1
2
3
4
5
6
7
8
wbt_filter_raster_features_by_area(
  input,
  output,
  threshold,
  background = "zero",
  wd = NULL,
  verbose_mode = FALSE
)

Arguments

input

Input raster file.

output

Output raster file.

threshold

Remove features with fewer grid cells than this threshold value.

background

Background value.

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.