st_multibuffer: Simulate thick margin to a landscape

Description Usage Arguments Details

View source: R/st_functions.R

Description

Add buffer around each objects of a sf file

Usage

1
2
3
4
5
6
7
8
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


briskaR documentation built on Dec. 11, 2021, 9:23 a.m.