我现在正在使用 R 包raster
。最近我将我的系统更新到 Windows 10,我使用备份 R 包文件安装回我的所有包。
现在在使用raster
包时,尤其是当我使用时:
getData('SRTM', lon= Longitiude, lat =Latitude)
我收到以下错误:
trying URL 'ftp://xftp.jrc.it/pub/srtmV4/tiff/srtm_50_08.zip'
downloaded 263 bytes
Error in .SRTM(..., download = download, path = path) : file not found
In addition: Warning message:
In utils::unzip(zipfilename, exdir = dirname(zipfilename)) :
error 1 in extracting from zip file
我通读了几篇文章,说该网址不再可访问,这是真的,只需访问链接即可检查。
然而getData
,功能应该移动到下一个可以自动访问的链接,但它没有这样做。有没有办法告诉它寻找其他链接。