Performs a weighted sum on multiple input rasters after converting each image to a common scale. The tool performs a multi-criteria evaluation (MCE).
wbt_weighted_overlay(
factors,
weights,
output,
cost = NULL,
constraints = NULL,
scale_max = 1,
wd = NULL,
verbose_mode = NULL,
compress_rasters = NULL,
command_only = FALSE
)
Returns the tool text outputs.
Input factor raster files.
Weight values, contained in quotes and separated by commas or semicolons. Must have the same number as factors.
Output raster file.
Boolean array indicating which factors are cost factors, contained in quotes and separated by commas or semicolons. Must have the same number as factors.
Input constraints raster files.
Suitability scale maximum value (common values are 1.0, 100.0, and 255.0).
Changes the working directory. Default: NULL
will use the value in WhiteboxTools settings, see wbt_wd()
for details.
Sets verbose mode. If verbose mode is FALSE
, tools will not print output messages. Default: NULL
will use the value in WhiteboxTools settings, see wbt_verbose()
for details.
Sets the flag used by 'WhiteboxTools' to determine whether to use compression for output rasters. Default: NULL
will use the value in WhiteboxTools settings, see wbt_compress_rasters()
for details.
Return command that would be executed by system()
rather than running tool. Default: FALSE
.