sp_buffer: Function to include or exclude an area of a spatial object.

View source: R/sp_buffer.R

sp_bufferR Documentation

Function to include or exclude an area of a spatial object.

Description

Function to include or exclude an area of a spatial object.

Usage

sp_buffer(sp, features = TRUE, width = 1, end_style = "round")

Arguments

sp

Spatial object.

features

Should the geometries of all features within sp be buffered? Default is TRUE.

width

Width of buffer. width's units is in sp's projection system.

end_style

End style of the buffered geometry, one of "round", "flat", or "square".

Value

Spatial object.

Author(s)

Stuart K. Grange


skgrange/gissr documentation built on June 20, 2024, 12:02 a.m.