This function is deprecated because the functionality has been incorporated
into the improved sfext::st_bbox_asp()
function which uses a similar set
of parameters.
Get bbox from sf or bbox object adjusted to match an aspect ratio
Takes an area as an sf
or bbox
object and returns a bounding
box that matches the aspect ratio provided to asp
and contains the
area or bounding box provided. Common aspect ratios include "1:1" (1), "4:6"
(0.666), "8.5:11", "16:9" (1.777). The asp parameter supports both numeric
values and character strings with ratios matching the format of
"width:height".