Closed ricschuster closed 4 years ago
Hi,
I haven't seen that error message before. In general, I wouldn't really recommend trying to clean the global dataset with this package as none of the functions are parallel and can take a long time to run with such a large dataset. I would generally recommend trying out https://github.com/jeffreyhanson/global-protected-areas instead which uses ESRI ArcMap.
That being said, if you plan on rasterizing the protected area boundaries then you probably don't need to get rid of overlapping geometries, so you could skip this step using:
wdpa <- wdpa_clean(wdpa_raw, crs = proj4string(base_raster), erase_overlaps = FALSE)
Thanks very much Jeff! Will check out the global-protected-areas repo for sure.
Thanks for this awesome package Jeff!
Downloading the global dataset works fine.
When I run the following with a crs setting of
proj4string(base_raster)
= _"+proj=eck4 +lon_0=0 +x_0=0 +y_0=0 +ellps=WGS84 +units=m +nodefs"I'm getting this error message:
I will rerun without setting crs now, but wanted to bring this to your attention. Thanks, Richard