Learn R Programming

briskaR (version 1.0.4)

st_multibuffer: Simulate thick margin to a landscape

Description

Add buffer around each objects of a sf file

Usage

st_multibuffer(
  sf,
  dist = 50,
  nQuadSegs = 30,
  endCapStyle = "ROUND",
  joinStyle = "ROUND",
  mitreLimit = 1
)

Arguments

sf

object of class sfg, sfg or sf

dist

numeric; buffer distance for all, or for each of the elements in x; in case dist is a units object, it should be convertible to arc_degree if x has geographic coordinates, and to st_crs(x)$units otherwise

nQuadSegs

integer; number of segments per quadrant (fourth of a circle), for all or per-feature

endCapStyle

character; style of line ends, one of 'ROUND', 'FLAT', 'SQUARE'

joinStyle

character; style of line joins, one of 'ROUND', 'MITRE', 'BEVEL'

mitreLimit

numeric; limit of extension for a join if joinStyle 'MITRE' is used (default 1.0, minimum 0.0)

Details

see package st_buffer for details