Learn R Programming

slga (version 1.2.0)

validate_aoi: Validate AOI

Description

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

Usage

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.