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.
1 2 3 4 5 6 7 8 | download_tiles(
locations,
z = 0,
prj,
expand = NULL,
verbose = getOption("verbose"),
...
)
|
z |
The zoom level to return. The HAND tiles only use |
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
|
bbx |
a |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.