vector_polygons_to_raster: Vector polygons to raster

Description Usage Arguments Value

Description

Converts a vector containing polygons into a raster.

Usage

1
2
vector_polygons_to_raster(input, output, field = "FID", nodata = TRUE,
  cell_size = NULL, base = NULL, verbose_mode = FALSE)

Arguments

input

Input vector polygons file.

output

Output raster file.

field

Input field name in attribute table.

nodata

Background value to set to NoData. Without this flag, it will be set to 0.0.

cell_size

Optionally specified cell size of output raster. Not used when base raster is specified.

base

Optionally specified input base raster file. Not used when a cell size is specified.

verbose_mode

Sets verbose mode. If verbose mode is False, tools will not print output messages.

Value

Returns the tool text outputs.


whitebox documentation built on Sept. 7, 2020, 3 p.m.