Re: [R-sig-Geo] simple topography in r

2021-11-16 Thread ani jaya
Hello Mr. Akos, Thank you for your suggestion and yes I am following this page to use the getData() function, https://www.gis-blog.com/r-raster-data-acquisition/ and I did plot what I want. Thank you. library(raster) dem<-getData("alt", country="AUS") aus <- getData('GADM' , country="AUS",

Re: [R-sig-Geo] simple topography in r

2021-11-16 Thread Bede-Fazekas Ákos
Dear Ani, Package 'raster' has a function called getData(), which can download SRTM tiles. Then you can simply plot() them. Or you can use package 'elevatr'. But I'm sure there are many other alternative solutions. HTH, Ákos Bede-Fazekas Centre for Ecological Research, Hungary 2021.11.16.