download_rst | R Documentation |
Download rasters from the MAP geoserver to a specifed location. If file already exists it will read it instead.
download_rst(dataset_id, extent, year, file_name, file_path)
dataset_id |
ID for dataset on MAP geoserver |
extent |
desired raster extent |
year |
desired year to download |
file_name |
file name (excluding extension) to save raster to |
file_path |
path to save raster to |
SpatRaster
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.