[Gdal-dev] what does gdal-grass provide?

Markus Neteler neteler at itc.it
Thu Feb 3 12:36:36 EST 2005


On Thu, Feb 03, 2005 at 09:10:35AM -0700, Jack Varga wrote:
> What exactly does gdal-grass provide?  How/where do I get the latest 
> version (assuming I need it)?
> 
> I'm experiencing odd behavior in qgis 0.6.0 when trying to load grass 
> vector data and I was told that's because I compiled gdal with 
> libgrass(51) and not with grass directly.  Its the old 'which came first 
> syndrome, the chicken (gdal) or the egg (grass).  That is, you need gdal 
> to build grass, but you need grass to build gdal, unless, (at least I 
> thought), you build gdal with libgrass.


The procedure is:

- compile GDAL without GRASS support
- compile GRASS 6 with GDAL support (in fact, you cannot avoid it :-)
- compile GDAL/GRASS plugin (for raster support)

- compile QGIS with GRASS support (contains a GRASS 6 vector driver)

- launch GRASS 6
- lauch QGIS within GRASS, enable plugin, load r/v maps

Use it. See a screenshot here:

 http://grass.itc.it/grass60/screenshots/gui.php
 
> FWIW, in case this helps anyone, (or someone knows better than I), the 
> symptom one will see in this scenario is qgis crashes with...
> 
> error_routine (fatal = 1): GISRC - variable not set

This indicates that you didn't use the plugin and probably didn't
run QGIS within GRASS.

Hope this helps

 Markus




More information about the Gdal-dev mailing list