Description Usage Arguments Value Author(s) See Also Examples
download_srtm
Download the SRTM maps and unzip them into the specified folder. Helper function to get_elevation_srtm()
1 | download_srtm(url_file, destfile, exdir_srtm_hgt = "SRTM")
|
url_file |
Url where the SRTM maps are stored |
destfile |
Given name of the file of the downloaded map |
exdir_srtm_hgt |
Default: "SRTM/". Folder where the maps are downloaded and unzipped. The zip file is deleted and only the .hgt files are kept |
Nothing to return.
Javier Saez Gallego
1 2 3 4 | library(SRTM)
download_srtm(url_file = SRTM_files_info$full_path[1],
destfile = SRTM_files_info$name_file[1] )
# See downloaded file in SRTM/N00E006.hgt
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.