aoi_align: Align AOI to product

View source: R/aoi_processing.R

aoi_alignR Documentation

Align AOI to product

Description

Cheerfully stolen from raster::alignExtent and adapted to sf bbox objects. This is designed to prevent WCS server-side interpolation when requesting SLGA data.

Usage

aoi_align(aoi = NULL, product = NULL, snap = "out")

Arguments

aoi

'sf' bbox object

product

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

snap

Character; 'near', 'in', or 'out'. Defaults to 'out'.


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