validate_aoi: Validate AOI

Description Usage Arguments Value

View source: R/aoi_processing.R

Description

Checks that an area of interest is of appropriate projection, size, and extent, aligns AOI to requested product, tiles if large.

Usage

1
validate_aoi(aoi = NULL, product = NULL)

Arguments

aoi

Numeric; bounding coordinates or an 'sf' or 'raster' object from which they can be derived.

product

Character, one of the options from column 'Short_Name' in slga_product_info.

Value

sf style bbox or list of same, aligned to requested product.


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