Skip to content
Prev 12481 / 15075 Next

CRAN OSX rgdal binaries 1.3-3 and 1.3-4

The CRAN OSX rgdal binaries 1.3-3 and 1.3-4 do not include PROJ datum 
metadata files. To check whether your OSX binary rgdal has the PROJ 
datum metadata files, try:

library(rgdal)
projNAD()

If they are not present, consider running this snippet:

pkg <- "rgdal"
exdir <- file.path(system.file(package=pkg), "proj")
list.files(exdir)
tf <- tempfile()
fl <- "http://download.osgeo.org/proj/proj-datumgrid-1.7.zip"
download.file(fl, tf)
unzip(tf, exdir=exdir)
list.files(exdir)

Hope this helps,

Roger