Skip to content
Prev 24265 / 29559 Next

installing rgdal when gdal is in a non-standard location

On Thu, 14 Apr 2016, Hodgess, Erin wrote:

            
You'll need something like:

--with-gdal-config=/Library/Frameworks/GDAL.framework/unix/bin/gdal-config
  --with-proj-include=/Library/Frameworks/PROJ.framework/unix/include
  --with-proj-lib=/Library/Frameworks/PROJ.framework/unix/lib

(these values were for OSX some time ago, but the three values should be 
enough). For GDAL, the path to gdal-config is all that is needed. This is 
from system.file("README", package="rgdal"), but as you don't have rgdal 
installed, it's harder to find.

Hope this helps,

Roger