Learn R Programming

slga (version 1.2.0)

aoi_tile: Tile AOI

Description

If an AOI is Large, chop it up so that a series of GETs can be sent.

Usage

aoi_tile(aoi = NULL, product = NULL, size = 1)

Arguments

aoi

sf bbox already converted from user input and aligned to requested product.

size

Number, max side length of tiles in decimal degrees. Default 1.

Value

a list of bounding boxes subdividing the area of interest. Return list is aligned to product and tiles that don't overlap are discarded.