This function calculates the minimum bounding box of a group of objects
calc_obb(x, y, geo = FALSE)
A list with the bounding box coordinates, its height, width, and the orientation of the longest side in degrees.
A vector of x (or longitude) coordinates.
A vector of y (or latitude) coordinates.
A logical value indicating whether the locations are defined by geographic coordinates (pairs of longitude/latitude values). Default: FALSE.
Marina Papadopoulou, m.papadopoulou.rug@gmail.com