Skip to content
Back to formatted view

Raw Message

Message-ID: <alpine.LFD.2.20.1604141754380.5976@reclus.nhh.no>
Date: 2016-04-14T15:57:42Z
From: Roger Bivand
Subject: installing rgdal when gdal is in a non-standard location
In-Reply-To: <FF9DB805FC41CC4E95825A50F6806302B49EE808@columbia.uhd.campus>

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

> Hello!
>
> I'm trying to install rgdal and I have already installed gdal.  gdal is 
> in a non-standard location, since I don't have administrative rights on 
> this system.
>
> I've seen how to use the configure.args with proj, but don't see 
> anything for gdal.

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

>
> Sorry for the dumb question!
>
> Thanks,
> Erin
>
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

-- 
Roger Bivand
Department of Economics, Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; fax +47 55 95 91 00
e-mail: Roger.Bivand at nhh.no
http://orcid.org/0000-0003-2392-6140
https://scholar.google.no/citations?user=AWeghB0AAAAJ&hl=en
http://depsy.org/person/434412