gdal_rasterize: QGIS algorithm Rasterize (vector to raster)

View source: R/gdal_rasterize.R

gdal_rasterizeR Documentation

QGIS algorithm Rasterize (vector to raster)

Description

QGIS Algorithm provided by GDAL Rasterize (vector to raster) (gdal:rasterize)

Usage

gdal_rasterize(
  INPUT = qgisprocess::qgis_default_value(),
  FIELD = qgisprocess::qgis_default_value(),
  BURN = qgisprocess::qgis_default_value(),
  USE_Z = qgisprocess::qgis_default_value(),
  UNITS = qgisprocess::qgis_default_value(),
  WIDTH = qgisprocess::qgis_default_value(),
  HEIGHT = qgisprocess::qgis_default_value(),
  EXTENT = qgisprocess::qgis_default_value(),
  NODATA = qgisprocess::qgis_default_value(),
  OPTIONS = qgisprocess::qgis_default_value(),
  DATA_TYPE = qgisprocess::qgis_default_value(),
  INIT = qgisprocess::qgis_default_value(),
  INVERT = qgisprocess::qgis_default_value(),
  EXTRA = qgisprocess::qgis_default_value(),
  OUTPUT = qgisprocess::qgis_default_value(),
  ...,
  .complete_output = .complete_output_option(),
  .quiet = .quiet_option(),
  .messages = .message_option()
)

Arguments

INPUT

source - Input layer. Path to a vector layer.

FIELD

field - Field to use for a burn-in value. The name of an existing field. ; delimited list of existing field names.

BURN

number - A fixed value to burn. A numeric value.

USE_Z

boolean - Burn value extracted from the "Z" values of the feature. 1 for true/yes. 0 for false/no.

UNITS

enum of ("Pixels", "Georeferenced units") - Output raster size units. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.

WIDTH

number - Width/Horizontal resolution. A numeric value.

HEIGHT

number - Height/Vertical resolution. A numeric value.

EXTENT

extent - Output extent. A comma delimited string of x min, x max, y min, y max. E.g. '4,10,101,105'. Path to a layer. The extent of the layer is used..

NODATA

number - Assign a specified nodata value to output bands. A numeric value.

OPTIONS

string - Additional creation options. String value.

DATA_TYPE

enum of ("Byte", "Int16", "UInt16", "UInt32", "Int32", "Float32", "Float64", "CInt16", "CInt32", "CFloat32", "CFloat64") - Output data type. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.

INIT

number - Pre-initialize the output image with value. A numeric value.

INVERT

boolean - Invert rasterization. 1 for true/yes. 0 for false/no.

EXTRA

string - Additional command-line parameters. String value.

OUTPUT

rasterDestination - Rasterized. Path for new raster layer.

...

further parameters passed to qgisprocess::qgis_run_algorithm()

.complete_output

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.

.quiet

logical specifying if parameter .quiet for qgisprocess::qgis_run_algorithm() Default value is TRUE.

.messages

logical specifying if messages from qgisprocess::qgis_run_algorithm() should be printed (TRUE) or not (FALSE). Default value is FALSE.

Details

Outputs description

  • OUTPUT - outputRaster - Rasterized


JanCaha/r_package_qgis documentation built on March 7, 2023, 7:17 a.m.