aoi_align: Align AOI to product

Description Usage Arguments

View source: R/aoi_processing.R

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

1
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'.


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