-
Notifications
You must be signed in to change notification settings - Fork 367
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
Browsing the naciscdn download URLs directly #903
Comments
We're having this issue also. |
I'm seeing the same thing. I'm trying to download NE data on a server (which is surely what most people do, right?)/ At https://www.naturalearthdata.com/downloads/110m-cultural-vectors/ I can right click the URL and copy it, and then try and download it, this happens:
This is "at best unexpected". Why not just link to the actual download location? For completeness this works:
|
If you know what you're looking for programmatically-speaking, the format of the URL is described here: #246 (comment) There's also the S3 bucket at https://naturalearth.s3.amazonaws.com/ which lists everything (which isn't easily clickable, but may be useful with some S3-ish library), except as noted in the other issue, it doesn't have the latest release specifically tagged. |
Thanks @QuLogic ! Ideally I would like to have someway of seeing the useful information of the website together with the correct link. The main reason is that I use this site when teaching geoviz to students and it's a bit confusing for them that the links on the web page don't work programmatically. They don't know enough at this point to manually specify the URL. |
If I go to https://www.naturalearthdata.com/downloads/10m-cultural-vectors/ and right click the "Download states and provinces" link to copy the URL:
I get a url that looks like this:
I have noticed that this url does not work for programmatic access (for example, attempting to download the file via geopandas raises
HTTPError: HTTP Error 406: Not Acceptable
). Instead I need to use a URL in this format:I noticed that I can get this URL by checking the redirects in the
Network
section of the browser console, and right clicking to copy the value of the naciscdn entry:However, I wonder if there is anywhere I can browse the naciscdn URLs directly instead of going through the browser console/manually editing the url? I really like the clarity and description of the web page, and it would be convenient is simply right clicking the download link would give a URL that also works for programmatic access, but I understand there might be some technical limitations hindering that.
The text was updated successfully, but these errors were encountered: