Skip to content
Prev 748 / 29559 Next

file format error with R and GRASS61

On 19-Jan-06, at 16:30, Kirk R. Wythers wrote:

            
...
Great to hear that you got it working!

The procedure Roger was referring to for making everyone play  
correctly is slightly different, however, assuming I'm interpreting  
your message correctly.  So to make sure it's archived in the mailing  
list, here's what I've gathered is now the way to go (same idea for  
getting GRASS support fully functional in QGIS, by the way):

- build and install GDAL WITHOUT GRASS support
- build and install GRASS
- download the separate gdal-grass plugin that is available at the  
gdal site
(as of this writing, that's http://www.gdal.org/dl/gdal- 
grass-1.3.1.1.tar.gz )
and compile that, and the make install process in that directory will  
insert just
the GRASS driver into your existing GDAL tree

Then GDAL called from 3rd applications, e.g. R or QGIS, should be  
able to read GRASS rasters.

I don't know/can't remember whether this essentially does the same  
thing as what you did
(i.e. I'm assuming you've recompiled the full GDAL after GRASS with  
GRASS functionality turned on), or if there's a functional  
difference.  In any case, it's simpler, and is designed
to avoid circular dependency problems.

Cheers,
Scott Mitchell

----
Scott Mitchell, Assistant Professor, Carleton University
Department of Geography & Environmental Studies, Loeb A209
Mailing:  Loeb B349, 1125 Colonel By Dr., Ottawa, ON K1S 5B6 Canada
1-613-520-2600 x2695 Fax: 613-520-4301 Scott_Mitchell at carleton.ca