download_tiles: Get HAND Tiles from an AWS S3 Bucket

Description Usage Arguments

View source: R/hand_tiles.R

Description

This function uses AWS S3 to retrieve HAND rasters from the geotiff folder. It accepts a sf::st_bbox object as input and returns a single raster object covering that extent.

Usage

1
2
3
4
5
6
7
8
download_tiles(
  locations,
  z = 0,
  prj,
  expand = NULL,
  verbose = getOption("verbose"),
  ...
)

Arguments

z

The zoom level to return. The HAND tiles only use z = 0.

prj

PROJ.4 string for input bbox

expand

A numeric value of a distance, in meters, used to expand the bounding box that is used to fetch the tiles. This can be used for features that fall close to the edge of a tile and additional area around the feature is desired. Default is NULL.

verbose

Verbose output

...

Extra configuration parameters to be passed to httr::GET. Common usage is to adjust timeout. This is done as config=timeout(x) where x is a numeric value in seconds. Multiple configuration functions may be passed as a vector.

bbx

a sf::st_bbox object that is used to select x,y,z tiles.


mikejohnson51/FloodMapping documentation built on April 7, 2021, 5:19 p.m.