Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't download lakes data due to link issue in ne_download()? #3

Closed
landLogic opened this issue Nov 20, 2020 · 3 comments
Closed

Can't download lakes data due to link issue in ne_download()? #3

landLogic opened this issue Nov 20, 2020 · 3 comments

Comments

@landLogic
Copy link

landLogic commented Nov 20, 2020

I am brand new to rnaturalearth. I finally got the rnaturalearthhires package installed: I think it is the http in the url vs the https url where I can go and find a zip file of the data:

No data: http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/physical/ne_110m_lakes.zip

Data available: https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/physical/ne_110m_lakes.zip

I used:

lakes110 <- ne_download(scale = 110, type = 'lakes', category = 'physical')
Result:
trying URL 'http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/physical/ne_110m_lakes.zip'
Error in utils::download.file(file.path(address), zip_file <- tempfile()) :
cannot open URL 'http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/physical/ne_110m_lakes.zip'
In addition: Warning message:
In utils::download.file(file.path(address), zip_file <- tempfile()) :
cannot open URL 'http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/physical/ne_110m_lakes.zip': HTTP status was '500 Internal Server Error'

I hope I have asked this in the correct place. Thanks for your time.

@landLogic
Copy link
Author

spudunk in cambec/earth seemed to have the same issue: cambecc/earth#97 (comment)

@andysouth
Copy link
Contributor

Thanks @landLogic and apologies for delay. There was a problem with the NaturalEarth website a couple of weeks ago that caused downloads to fail. Is it OK for you now ?

@landLogic
Copy link
Author

@andysouth Thanks Andy, Yes it is working now! Great fun too.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants