boundingBox: Rectangle area around points

Description Usage Arguments Details Value Author(s) References

View source: R/optimalBoundingBox.R

Description

Creates optimal rectangle bounding box around points

Usage

1
boundingBox(points, buffer = 0, epsg = 4326)

Arguments

points

a sf object, points

buffer

buffer distance between the points and the rectangle; defaults 0

epsg

projection of the output polygon

Details

The code is based on a Rotating Caliper Algorithm and mostly copy and pasted (see reference)

Value

sf polygon

Author(s)

Marvin Ludwig

References

http://dwoll.de/rexrepos/posts/diagBounding.html


envima/Rsenal2 documentation built on Oct. 16, 2020, 7:14 p.m.