geo-registry

sf::st_buffer

How sf runs Buffer: sf::st_buffer.

About this implementation
Engine sf
Tool name sf::st_buffer
Interface r
Implements Buffer
Documentation Not stated
Effects modifies input: no, network: no
Notes Not stated
Status active

Parameters

Name Type Required Default Choices Note
x any yes Not stated Not stated Not stated
dist any yes Not stated Not stated Not stated
nQuadSegs any no 30 Not stated Not stated
endCapStyle any no "ROUND" Not stated Not stated
joinStyle any no "ROUND" Not stated Not stated
mitreLimit any no 1 Not stated Not stated
singleSide any no FALSE Not stated Not stated
... dots no Not stated Not stated further arguments passed on

How it maps to the operation

Operation parameter Parameter here Note
layer x Not stated
distance dist Not stated
unit Not stated always crs-units. Projected data: CRS units. Longitude/latitude data with sf_use_s2() on (the default): metres, through S2.
dissolve Not stated always no. Call st_union on the result.
segments nQuadSegs Not stated

Differences from the operation

  • Default nQuadSegs is 30 segments per quarter circle (Columbus 8).
  • On longitude/latitude data with S2 the buffer is built from S2 cells, so its outline differs from a GEOS buffer; nQuadSegs, end caps and joins only apply with GEOS.

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