landfireVSI | R Documentation |
virtual file system
landfire_vsi()
opens a request LANDFIRE GeoTIFF using the GDAL virtual file system
(VSI).
landfireVSI(landfire_api)
landfire_api |
A |
The GDAL virtual file system allows you to read in LANDFIRE products without having to download the file to your local machine within 60 minutes of the request or if the file already exists on your local machine without having to unzip it.
SpatRaster object of the requested LANDFIRE product/s
## Not run:
aoi <- c("-113.79", "42.148", "-113.56", "42.29")
email <- "email@example"
rast <- landfireAPIv2(products = "240EVC",
aoi = aoi, email = email,
method = "none") |>
landfireVSI()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.