R/qgis_rasterlayeruniquevaluesreport.R
qgis_rasterlayeruniquevaluesreport.RdQGIS Algorithm provided by QGIS (native c++) Raster layer unique values report (native:rasterlayeruniquevaluesreport). Returns the count and area of each unique value in a given raster layer. This algorithm returns the count and area of each unique value in a given raster layer. The area calculation is done in the area unit of the layer's CRS.
qgis_rasterlayeruniquevaluesreport(
INPUT = qgisprocess:::qgis_default_value(),
BAND = qgisprocess:::qgis_default_value(),
OUTPUT_HTML_FILE = qgisprocess:::qgis_default_value(),
OUTPUT_TABLE = 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 - Unique values report. Path for new file.
sink - Unique values table. Path for new vector layer.
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.
CRS_AUTHID - outputString - CRS authority identifier
EXTENT - outputString - Extent
HEIGHT_IN_PIXELS - outputNumber - Height in pixels
NODATA_PIXEL_COUNT - outputNumber - NoData pixel count
OUTPUT_HTML_FILE - outputHtml - Unique values report
OUTPUT_TABLE - outputVector - Unique values table
TOTAL_PIXEL_COUNT - outputNumber - Total pixel count
WIDTH_IN_PIXELS - outputNumber - Width in pixels