bufferField: Create a buffer shapefile within the target geometry

bufferFieldR Documentation

Create a buffer shapefile within the target geometry

Description

This function produces a buffer within the target geometry by a specified value.

Usage

bufferField(shape, value = c(-1), field = NULL, cex = 1)

Arguments

shape

SpatVector. The target geometry to be buffered. Object of class.

value

value of the buffer - measured in mapunits. Must be numeric and negative.

field

SpatVector. If input, field cropped by target geometry included in output. If field=NULL, only the buffer will be generated.

cex

point size. Please check help("points").

Details

bufferField

Value

If field=NULL, the buffer SpatVector is returned. If field provided, list with two elements is returned:

  • newShape is the buffer SpatVector.

  • newField is the field cropped using the buffered shape, also a SpatVector.


filipematias23/cleanRfield documentation built on Aug. 6, 2023, 12:26 a.m.