Thanks for figuring it out Barry. I informed Robert about it.
Cheers,
Loïc
On 30/01/2017 08:19, Barry Rowlingson wrote:
> On Sun, Jan 29, 2017 at 7:26 PM, Loïc Dutrieux
> wrote:
>> world <- getData(name = 'countries')
>
> The world countries file download function has a hardcoded version in it:
>
>> raster:::.countries
> function (download, path, ...)
> {
> filename <- paste(path, "countries.RData", sep = "")
> if (!file.exists(filename)) {
> if (download) {
> theurl <-
> paste("http://biogeo.ucdavis.edu/data/gadm2.6/countries_gadm26.rds;,
> sep = "")
>
>
> and everything else is _gadm28 now. The getData function pastes the
> version number "28" into URLS for individual country data.
>
> Suggest you download
> http://biogeo.ucdavis.edu/data/gadm2.8/countries_gadm28.rds manually
> for now and ping Robert Hijmans with a bug report
>
> Barry
>
> Email secured by Check Point
>
___
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo