This community has settled on one standard and three key C++ libraries:
R, Python, Julia, QGIS, ArcGIS, PostGIS, etc all use this.
spatial
)sp
and raster
rgdal
(2003) interfaced GDAL and PROJrgeos
(2011) interfaced GEOSmaptools
was a collection of various useful thingsmaps
and mapproj
sp
predates simple features, and mirrors shapefilessf
came out in 2016 and supports simple features in Rtidyverse
and ggplot2
stars
(2018) provided classes for the raster side and data cubesterra
(2020) uses S4 classes for raster and vector, and succeeds raster
rgdal
, rgeos
and maptools
retired.Call()
, rather than Rcpp
or similarsf
) simplifies life, a lot.stars
(2018) and terra
(2020)raster
dropped dependency on rgdal
and rgeos
(Sept 2022), using terra
insteadsp
(worried people who were not affected!)rgdal
and rgeos
dependencies of sp
in favour of sf
in june 2023https://link.springer.com/article/10.1007/s10109-020-00336-0
fiesta
(USDA) developed gdalraster
, which provides a low-level GDAL interface for RURSA
now imports sf
, and suggests gdalraster
, terra
, and stars
pkgapi
was very useful: what is a package using? (S4 methods reporting patchy)If you want to retire one or more heavily used CRAN packages and limit damage to CRAN: