View source: R/aoi_processing.R
aoi_convert | R Documentation |
Converts an AOI from a variety of possible input types to an 'sf' style bbox.
aoi_convert(aoi = NULL)
## S3 method for class 'numeric'
aoi_convert(aoi = NULL)
## S3 method for class 'Raster'
aoi_convert(aoi = NULL)
## S3 method for class 'Extent'
aoi_convert(aoi = NULL)
## S3 method for class 'sf'
aoi_convert(aoi = NULL)
## S3 method for class 'sfc'
aoi_convert(aoi = NULL)
## S3 method for class 'sfg'
aoi_convert(aoi = NULL)
## S3 method for class 's2_geography'
aoi_convert(aoi = NULL)
aoi |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.