aoi_convert: Convert AOI

Description Usage Arguments Value

View source: R/aoi_processing.R

Description

Converts an AOI from a variety of possible input types to an 'sf' style bbox.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
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)

Arguments

aoi

Numeric vector of bounding coordinates in xmin, ymin, xmax, ymax order; or an 'sf' or 'raster' object from which they can be derived.

Value

'sf' bbox object with same crs as input.


slga documentation built on June 12, 2021, 9:07 a.m.