Description Usage Arguments Details Value Author(s) References
View source: R/optimalBoundingBox.R
Creates optimal rectangle bounding box around points
1 | boundingBox(points, buffer = 0, epsg = 4326)
|
points |
a sf object, points |
buffer |
buffer distance between the points and the rectangle; defaults 0 |
epsg |
projection of the output polygon |
The code is based on a Rotating Caliper Algorithm and mostly copy and pasted (see reference)
sf polygon
Marvin Ludwig
http://dwoll.de/rexrepos/posts/diagBounding.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.