geo-registry

terra::rasterize

How terra runs Rasterize: terra::rasterize.

About this implementation
Engine terra
Tool name terra::rasterize
Interface r
Implements Rasterize
Documentation Not stated
Effects modifies input: no, network: no
Notes S4 generic: parameters gathered from all its methods; each method takes a subset.
Status active

Parameters

Name Type Required Default Choices Note
x any yes Not stated Not stated Not stated
y any yes Not stated Not stated Not stated
... dots no Not stated Not stated further arguments passed on
values any no 1 Not stated Not stated
fun any yes Not stated Not stated Not stated
background any no NA Not stated Not stated
update any no FALSE Not stated Not stated
by any no NULL Not stated Not stated
filename any no "" Not stated Not stated
overwrite any no FALSE Not stated Not stated
wopt any no list() Not stated Not stated
field any no "" Not stated Not stated
touches any no FALSE Not stated Not stated
cover any no FALSE Not stated Not stated

How it maps to the operation

Operation parameter Parameter here Note
layer x Not stated
resolution Not stated y is a template raster; make one with rast(x, resolution = res).
value values Not stated
field field Not stated
all_touched touches Not stated

Differences from the operation

  • Cells outside every feature get background (default NA).

Harvested by the r-packages harvester from engine version 1.9.50. Names can change when an engine is harvested again.