download_srtm: 'download_srtm' Download the SRTM maps and unzip them into...

Description Usage Arguments Value Author(s) See Also Examples

Description

download_srtm Download the SRTM maps and unzip them into the specified folder. Helper function to get_elevation_srtm()

Usage

1
download_srtm(url_file, destfile, exdir_srtm_hgt = "SRTM")

Arguments

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

Value

Nothing to return.

Author(s)

Javier Saez Gallego

See Also

SRTM

Examples

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

jsga/SRTM_maps_in_R documentation built on May 20, 2019, 1:14 p.m.