Comments (14)
Hi,
Thank you very much for reporting this issue. I'm currently travelling so it might be a while before I can get to this. I'll see if I can find time later tonight - but no promises. In the mean time, you might be able to hopefully download the WDPA data manually and import the data from the zip file using wdpa_read()
-- as long as Protected Planet hasn't updated the zip file format too.
from wdpar.
I'm having trouble accessing some parts of the protected planet website using a web browser. For example, when I try viewing the web page for the protected areas of Australia (i.e., https://protectedplanet.net/en/country/AUS), I see the error below.
So, my guess is that there's some issue with protected planet and this, in turn, is causing an issue for wdpar. So hopefullly, once protected planet fix the website, this will resolve the issue for wdpar? If anyone has any other ideas, I'd be happy to explore them? But it seems like we might have to wait for protected planet to fix things on their end.
from wdpar.
Hi, Jeffrey. I can manually download the data of Australia on https://www.protectedplanet.net/country/AUS, but it is only the latest month. Now I want to download the global data for December 2019, but I don't know how to operate it.
Hi @Aisling-Wang, this question is not related to the wdpar package and you should ask it to the UNEP-WCMC peopole who produce the WDPA data.
Anyway, you can download the data you are looking for here: https://pp-import-production.s3-eu-west-1.amazonaws.com/WDPA_Dec2019_Public.zip
from wdpar.
Hello, same problem here. Does it correspond to a modification from the source portal?
from wdpar.
Hi, Jeffrey. I can manually download the data of Australia on https://www.protectedplanet.net/country/AUS, but it is only the latest month. Now I want to download the global data for December 2019, but I don't know how to operate it.
from wdpar.
Thanks
Hi, Jeffrey. I can manually download the data of Australia on https://www.protectedplanet.net/country/AUS, but it is only the latest month. Now I want to download the global data for December 2019, but I don't know how to operate it.
Hi @Aisling-Wang, this question is not related to the wdpar package and you should ask it to the UNEP-WCMC peopole who produce the WDPA data. Anyway, you can download the data you are looking for here: https://pp-import-production.s3-eu-west-1.amazonaws.com/WDPA_Dec2019_Public.zip
Thanks.
from wdpar.
Just to give an update, I think I've found a fix to this problem. I'll try and push a branch with the fix later today so you can see if it works on your computers?
from wdpar.
Hi, thanks!!! I'll need a couple of days to test. I'm currently traveling.
from wdpar.
I think I've got it working now, could you please try installing the fixes
branch and see if it works for you? This can be done using the following code:
remotes::install_github("prioritizr/wdpar@fixes")
from wdpar.
Hi @fBedecarrats and @Aisling-Wang, I just wanted to follow up and see if the updates in the fixes
branch have fixed the wdpa_fetch()
function for you?
from wdpar.
Hi @jeffreyhanson, sorry for the delay. I'm still doing field work ik Senegal. I hope to be able to do it tomorrow.
from wdpar.
No worries @fBedecarrats! Thanks so much for the quick repsonse. I just wanted to make sure my previous message didn't get lost. Hope the field work goes well!
from wdpar.
Hi @jeffreyhanson, Just did the tests and it seems that the fixes work. But what is most weird is that the CRAN version also works now:
# Use CRAN version
install.packages("wdpar")
library(wdpar)
webdriver::install_phantomjs()
lie_raw_data <- wdpa_fetch("Liechtenstein", wait = TRUE)
# [100%] Downloaded 11466840 bytes...
nrow(lie_raw_data)
# [1] 45
# Test fix branch
detach("package:wdpar", unload = TRUE)
remove.packages("wdpar")
remotes::install_github("prioritizr/wdpar@fixes")
library(wdpar)
lie_raw_data <- wdpa_fetch("Liechtenstein", wait = TRUE)
# no download progress message
nrow(lie_raw_data)
# [1] 45
from wdpar.
Brilliant - thanks so much @fBedecarrats!
Yeah, I dunno why the CRAN version is working again. I originally thought the issue with the downloading errors was due to issues with the protected planet website - so maybe they've fixed them now? I dunno. I'll merge the changes in the fix branch, since they seem to be more robust to issues with the protected planet website.
from wdpar.
Related Issues (20)
- It takes forever to eraseoverlap for global dataset. HOT 22
- wdpa_fetch HOT 6
- I used the newest version of wdpar, still have this "side location conflict" HOT 7
- The package not run for previous download data, and do not start a new download data HOT 6
- GEOS version sensitivity HOT 7
- upcoming sf breaks wdpar HOT 6
- JOSS Review: Improve documentation on geo-processing steps and its effects on the original geometries HOT 12
- JOSS Review: Improve Statement of need / description of use-cases HOT 16
- JOSS Review - Add links to references cited in README HOT 3
- JOSS Review warning about out of date local data HOT 6
- JOSS Review: Add small POC about Performance claims HOT 7
- JOSS Review: Add statement about state of the field HOT 4
- wdpa_fetch() no longer works HOT 4
- Dissolve all MPAs in each country HOT 10
- Erase overlaps keeps failing HOT 19
- package overview manual entry
- erase_overlaps problem: many areas are not erased HOT 6
- Error with wdpa_fetch() HOT 2
- Error downloading "global" data with wdpa_fetch HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wdpar.