geo-registry

terra::buffer

How terra runs Buffer: terra::buffer.

About this implementation
Engine terra
Tool name terra::buffer
Interface r
Implements Buffer
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
... dots no Not stated Not stated further arguments passed on
width any yes Not stated Not stated Not stated
background any no 0 Not stated Not stated
include any no TRUE Not stated Not stated
filename any no "" Not stated Not stated
quadsegs any no 10 Not stated Not stated
capstyle any no "round" Not stated Not stated
joinstyle any no "round" Not stated Not stated
mitrelimit any no NA Not stated Not stated
singlesided any no FALSE Not stated Not stated

How it maps to the operation

Operation parameter Parameter here Note
layer x Not stated
distance width Not stated
unit Not stated always crs-units. Projected data: CRS units. Longitude/latitude data: metres.
dissolve Not stated always no. Call aggregate on the result.
segments quadsegs Not stated

Differences from the operation

  • Default quadsegs is 10 (Columbus 8); quadsegs, cap and join styles are ignored for longitude/latitude data.
  • On a SpatRaster, buffer marks the cells within the distance of non-NA cells instead.

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