Creates a vector minimum bounding rectangle around vector features.
wbt_minimum_bounding_box(
input,
output,
criterion = "area",
features = TRUE,
wd = NULL,
verbose_mode = FALSE,
compress_rasters = FALSE
)
Input vector file.
Output vector polygon file.
Minimization criterion; options include 'area' (default), 'length', 'width', and 'perimeter'.
Find the minimum bounding rectangles around each individual vector feature.
Changes the working directory.
Sets verbose mode. If verbose mode is False, tools will not print output messages.
Sets the flag used by WhiteboxTools to determine whether to use compression for output rasters.
Returns the tool text outputs.