Skip to content

Commit

Permalink
move to new amazon hosted urls to address #48, also seems to fix 1 ea…
Browse files Browse the repository at this point in the history
…rlier test fail
  • Loading branch information
andysouth committed Oct 11, 2021
1 parent 2467d41 commit 3395e91
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions R/ne_file_name.r
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,16 @@ ne_file_name <- function(scale = 110,


if (full_url)
file_name <- paste0('http://www.naturalearthdata.com/http//',
'www.naturalearthdata.com/download/',scale,'m/',category,'/',
file_name,'.zip' )

# file_name <- paste0('http://www.naturalearthdata.com/http//',
# 'www.naturalearthdata.com/download/',scale,'m/',category,'/',
# file_name,'.zip' )

# 2021-10-11 changing to new Amazon addresses
# e.g. https://naturalearth.s3.amazonaws.com/110m_cultural/ne_110m_admin_0_countries.zip
file_name <- paste0('https://naturalearth.s3.amazonaws.com/',
scale,'m_',category,'/',
file_name,'.zip' )

return(file_name)

}

0 comments on commit 3395e91

Please sign in to comment.