Calculate the GFC product tiles needed for a given AOI

Description

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

Usage

1

Arguments

aoi

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

Value

a SpatialPolygonsDataFrame of the GFC tiles needed to cover the AOI

Examples

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