Did anyone notice that the shapefile download URLs look a little odd?
Example:
https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_admin_0_countries.zip
It looks like it has the main http://[hostname] encoded twice. But removing it does actually not work. i.e. this yields a 404: https://www.naturalearthdata.com/download/10m/cultural/ne_10m_admin_0_countries.zip
The main problem with the original URL is that it has a double-slash (after the second ‘http’) which causes all kinds of strange effects, including not being able to work with ‘curl’ for automated download.
Also, turning the double-slash into a single one doesn’t work (which is probably the parsing that’s happening inside curl).
Also 404: https://www.naturalearthdata.com/http/www.naturalearthdata.com/download/10m/cultural/ne_10m_admin_0_countries.zip
Is there an alternative URL that doesn’t have a double-slash, or was anyone able to get around the issue in another way?
Thanks,
Vasco
Vasco,
I just encountered the same problem while using curl, and fixed it by add -LOk via this suggestion (http://askubuntu.com/questions/285976/download-zip-file-with-curl-command).
Hope that helps!
John