Skip to content
Prev 26602 / 29559 Next

CRAN releases of sp, rgdal and rgeos

On Tue, 12 Jun 2018, Vijay Lulla wrote:

            
Neither sp/rgdal nor sf plan to accomodate the proj.h interface until the 
GDAL barn-raising project is completed. Even then, most software using 
proj will have to support the proj_api.h and the proj.h APIs because many 
platforms are bound to move at the speed of the slowest package using 
proj. The proj_api.h API does use the new mechanisms internally, but it 
isn't obvious how or whether proj.h pipelines should be exposed (GRASS has 
a prototype implementation).

If you work in geodetics and need sub-cm precision, this may matter; in 
which case please follow the GDAL barn-raising project and provide use 
cases where the proj.h API is required. The main difference is that the 
proj_api.h API always transforms to the WGS84 datum first then transforms 
to the target datum (many to one then one to many). When this was chosen 
1984 was not so long ago; the new proj.h API suggests transforming along a 
pipeline from source to target datum without going through WGS84 (many to 
many).

If your question is about how to install rgdal from source on OSX, you may 
need to ensure that you only have one version of proj installed, or use 
configure arguments and load path modifications on your own 
responsibility.