Learn R Programming

slga (version 1.1.1)

aoi_align: Align AOI to product

Description

Cheerfully stolen from coderaster::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'.