Learn R Programming

uavRmp (version 0.6.2)

minBB: Rectangle flight area around points

Description

Creates optimal rectangle area around points

Usage

minBB(points, buffer = 0, epsg = 25832)

Value

SpatialPoints: Corners of the flight area

Arguments

points

a sf object, points you want to fly over

buffer

buffer distance between the points and the rectangle; defaults 0

epsg

reference system

Author

Marvin Ludwig

Details

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

References

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