outerBuffer: Draw convex hull around polygons

View source: R/polygons.R

outerBufferR Documentation

Draw convex hull around polygons

Description

Draws a convex hull around vertice points of a polygon shapefile, creating a single polygon. If a buffer distance is supplied, will buffer the convex hull inwards or outwards depending on the sign of the distance value.

Usage

outerBuffer(x, b = NULL)

Arguments

x

A ⁠SpatialPolygons*⁠ object

b

Optional. Distance to buffer. If the value is negative, the buffer will be drawn inwards.

Value

A SpatialPolygons object.

Author(s)

Ceres Barros and Alex Chubaty

See Also

raster::buffer()


achubaty/amc documentation built on June 10, 2025, 1:10 p.m.