张志坤
2011-Jun-23 00:27 UTC
[R-sig-Debian] Help: how to install "rgdal package" on Ubuntu desktop?
Dear groups: I have tried to install rgdal in my Ubuntu, but it is not as straight as installing "sp". It demand the pre-installed GDAL and proj.4. I searched the source code in http://trac.osgeo.org/proj/ and http://trac.osgeo.org/gdal/wiki/DownloadSource. but don't know how to compile them. Who will give me a hint? Thanks a lot. Ethan Chang Centers for Disease Control & Prevention Wei Guo Bei Lu #52 Tangshan, 063000 PR China Tel: 86(0315)2726308 Fax:86(0315)2726309
Lee Hachadoorian
2011-Jun-23 05:15 UTC
[R-sig-Debian] Help: how to install "rgdal package" on Ubuntu desktop?
On 06/22/2011 08:27 PM, ??? wrote:> Dear groups: > I have tried to install rgdal in my Ubuntu, but it is not as straight > as installing "sp". It demand the pre-installed GDAL and proj.4. > I searched the source code in http://trac.osgeo.org/proj/ and > http://trac.osgeo.org/gdal/wiki/DownloadSource. but don't know how to > compile them.Ethan, You need the development packages of GDAL and proj4. Probably easier to install from repository than from source. Try: $ sudo apt-get install libgdal1-dev libproj-dev $ sudo R> install.packages("rgdal")Best, --Lee -- Lee Hachadoorian PhD Student, Geography Program in Earth & Environmental Sciences CUNY Graduate Center