if (FALSE) {
library(sf)
options(timeout = 600)
polygon_path = system.file("datasets/search_area.gpkg", package = "rgugik")
polygon = read_sf(polygon_path)
req_df = ortho_request(polygon)
tile_download(req_df[1, ]) # download the first image only
req_df = DEM_request(polygon)
tile_download(req_df[1, ]) # download the first DEM only
}
Run the code above in your browser using DataLab