srtm

Downloading SRTM data with raster package?

孤街醉人 提交于 2019-12-23 12:11:52
问题 I'm trying to get SRTM data with " raster " package in R, but as soon as I'm choosing SRTM in getData command, I would get the following error: library(raster) srtm <- getData('SRTM', lon=16, lat=48) trying URL 'ftp://xftp.jrc.it/pub/srtmV4/tiff/srtm_40_03.zip' trying URL 'http://hypersphere.telascience.org/elevation/cgiar_srtm_v4/tiff/zip/srtm_40_03.ZIP' downloaded 572 bytes Error in .SRTM(..., download = download, path = path) : file not found In addition: Warning messages: 1: In utils: