R/qgis_rasterlayerstatistics.R
qgis_rasterlayerstatistics.Rd
QGIS Algorithm provided by QGIS (native c++) Raster layer statistics (native:rasterlayerstatistics). This algorithm computes basic statistics from the values in a given band of the raster layer.
qgis_rasterlayerstatistics(
INPUT = qgisprocess:::qgis_default_value(),
BAND = qgisprocess:::qgis_default_value(),
OUTPUT_HTML_FILE = qgisprocess:::qgis_default_value(),
...,
.complete_output = .complete_output_option(),
.quiet = .quiet_option(),
.messages = .message_option()
)
raster
- Input layer. Path to a raster layer.
band
- Band number. Integer value representing an existing raster band number.
fileDestination
- Statistics. Path for new file.
further parameters passed to qgisprocess::qgis_run_algorithm()
logical specifying if complete out of qgisprocess::qgis_run_algorithm()
should be used (TRUE
) or first output (most likely the main) should read (FALSE
). Default value is TRUE
.
logical specifying if parameter .quiet
for qgisprocess::qgis_run_algorithm()
Default value is TRUE
.
logical specifying if messages from qgisprocess::qgis_run_algorithm()
should be printed (TRUE
) or not (FALSE
). Default value is FALSE
.
COUNT - outputNumber - Count of non-NoData pixels
MAX - outputNumber - Maximum value
MEAN - outputNumber - Mean value
MIN - outputNumber - Minimum value
OUTPUT_HTML_FILE - outputHtml - Statistics
RANGE - outputNumber - Range
STD_DEV - outputNumber - Standard deviation
SUM - outputNumber - Sum
SUM_OF_SQUARES - outputNumber - Sum of the squares