validate_aoi: Validate AOI

View source: R/aoi_processing.R

validate_aoiR Documentation

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.


obrl-soil/slga documentation built on Feb. 3, 2024, 4:31 a.m.