calc_gfc_tiles: Calculate the GFC product tiles needed for a given AOI

View source: R/calc_gfc_tiles.R

calc_gfc_tilesR Documentation

Calculate the GFC product tiles needed for a given AOI

Description

Intersects an AOI with the GFC product grid to determine what tiles are need to cover the AOI.

Usage

calc_gfc_tiles(aoi)

Arguments

aoi

an Area of Interest (AOI) as a SpatialPolygons* or sf object. If the AOI is not in the WGS84 geographic coordinate system, it will be reprojected to WGS84.

Value

a sf of the GFC tiles needed to cover the AOI

Examples

tiles <- calc_gfc_tiles(test_poly)
plot(tiles)
plot(test_poly, lt=2, add=TRUE)

gfcanalysis documentation built on Oct. 11, 2023, 5:15 p.m.