View source: R/qgis_roundrastervalues.R
qgis_roundrastervalues | R Documentation |
QGIS Algorithm provided by QGIS (native c++) Round raster (native:roundrastervalues). This algorithm rounds the cell values of a raster dataset according to the specified number of decimals. Alternatively, a negative number of decimal places may be used to round values to powers of a base n (specified in the advanced parameter Base n). For example, with a Base value n of 10 and Decimal places of -1 the algorithm rounds cell values to multiples of 10, -2 rounds to multiples of 100, and so on. Arbitrary base values may be chosen, the algorithm applies the same multiplicative principle. Rounding cell values to multiples of a base n may be used to generalize raster layers. The algorithm preserves the data type of the input raster. Therefore byte/integer rasters can only be rounded to multiples of a base n, otherwise a warning is raised and the raster gets copied as byte/integer raster
qgis_roundrastervalues(
INPUT = qgisprocess:::qgis_default_value(),
BAND = qgisprocess:::qgis_default_value(),
ROUNDING_DIRECTION = qgisprocess:::qgis_default_value(),
DECIMAL_PLACES = qgisprocess:::qgis_default_value(),
BASE_N = qgisprocess:::qgis_default_value(),
CREATE_OPTIONS = qgisprocess:::qgis_default_value(),
OUTPUT = qgisprocess:::qgis_default_value(),
...,
.complete_output = .complete_output_option(),
.quiet = .quiet_option(),
.messages = .message_option()
)
INPUT |
|
BAND |
|
ROUNDING_DIRECTION |
|
DECIMAL_PLACES |
|
BASE_N |
|
CREATE_OPTIONS |
|
OUTPUT |
|
... |
further parameters passed to |
.complete_output |
logical specifying if complete out of |
.quiet |
logical specifying if parameter |
.messages |
logical specifying if messages from |
OUTPUT - outputRaster - Output raster
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.