Converts an AOI from a variety of possible input types to an `sf` style bbox.
aoi_convert(aoi = NULL)# S3 method for numeric
aoi_convert(aoi = NULL)
# S3 method for Raster
aoi_convert(aoi = NULL)
# S3 method for Extent
aoi_convert(aoi = NULL)
# S3 method for sf
aoi_convert(aoi = NULL)
# S3 method for sfc
aoi_convert(aoi = NULL)
# S3 method for sfg
aoi_convert(aoi = NULL)
# S3 method for s2_geography
aoi_convert(aoi = NULL)
Numeric vector of bounding coordinates in xmin, ymin, xmax, ymax order; or an `sf` or `raster` object from which they can be derived.
`sf` bbox object with same crs as input.