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.

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.

See also

Author

Ceres Barros and Alex Chubaty