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

parks_and_protected_lands data #114

Closed
msedaghatpour opened this issue Nov 16, 2024 · 1 comment
Closed

parks_and_protected_lands data #114

msedaghatpour opened this issue Nov 16, 2024 · 1 comment

Comments

@msedaghatpour
Copy link

I am having trouble downloading any of the park and protected lands data.

All of these:

p1 <- ne_download(scale = 10, type = "parks_and_protected_lands_line", category = "cultural")
p1 <- ne_download(scale = 10, type = "parks_and_protected_lands_line", category = "cultural")
p1 <- ne_download(scale = 10, type = "parks_and_protected_lands_point", category = "cultural")
p1 <- ne_download(scale = 10, type = "parks_and_protected_lands_scale_rank", category = "cultural")

Give this error:

trying URL 'https://naturalearth.s3.amazonaws.com/10m_cultural/ne_10m_parks_and_protected_lands_line.zip'
download failed
Warning messages:
1: In utils::download.file(file.path(address), zip_file <- tempfile()) :
  cannot open URL 'https://naturalearth.s3.amazonaws.com/10m_cultural/ne_10m_parks_and_protected_lands_line.zip': HTTP status was '404 Not Found'
2: In check_data_exist(scale = scale, category = category, type = type) :
  parks_and_protected_lands_line seems not to be in the list for category=cultural maybe try the other category of c('cultural', 'physical')

This however works fine:
p1 <- ne_download(scale = 10, type = "admin_1_seams", category = "cultural")

@PMassicotte
Copy link
Contributor

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