Pandora-IsoMemo / DSSM

Pandora & IsoMemo spatiotemporal modeling (DSSM)
https://pandora-isomemo.github.io/DSSM/
GNU General Public License v3.0
4 stars 1 forks source link

Retirement of rgdal & rgeos: Problem with local development #228

Closed jan-abel-inwt closed 1 month ago

jan-abel-inwt commented 2 months ago

In the DSSM project, we currently use the rgdal and rgeos packages. However, both packages were retired at the end of 2023 as documented here. These packages are no longer available on CRAN, which poses a challenge for local development.

We only utilize the gecentroid() function from the rgeos package. I propose replacing it with the st_centroid() function from the sf package, which is more modern and actively maintained. This change would help us reduce our dependency on outdated packages and streamline our development process.

https://gis.stackexchange.com/questions/43543/how-to-calculate-polygon-centroids-in-r-for-non-contiguous-shapes

arunge commented 1 month ago

@jan-abel-inwt Beta and main version are synchron again, so packages rgdal and rgeos were removed from both version. I am closing here. Feel free to re-open if something is missing.