[GRASS-dev] GRASS & QGIS: the future

Paolo Cavallini cavallini at faunalia.it
Fri Apr 18 03:27:40 PDT 2014


Hi Radim,

Il 18/04/2014 11:31, Radim Blazek ha scritto:
> I have upgraded  the vector provider to GRASS 7, layers may be added
> by drag from browser. The raster and the plugin are disabled. Be
> careful about multiple versions on the same system
> (LD_LIBRARY_PATH..., check with ldd if does not work).

Thanks for this. If I understand well, this means:
* we can load GRASS7 vectors through QGIS browser
* we cannot load GRASS7 rasters
* the qgis-grass-plugin is not functional with GRASS7

BTW, GRASS6 vectors apparently cannot be loaded from QGIS browser as a
whole.

This, coupled with several serious regressions I found, may mean that
GRASS support in QGIS is essentially broken, and things may only get
worse with the arrival of GRASS7, if nobody works to fix it.
Am I too pessimistic?

> 1) add a requirement that GRASS 7 used with QGIS must be compiled with
> -fexceptions

this IMVHO does not seem feasible for all OS and distros.

> 2) add a requirement that a patch (it is a single line comment in
> fact) must be applied to GRASS 7 to make it usable with QGIS

same as above

> 3) use setjmp()/longjmp()
> 
> 4) let QGIS crash whenever GRASS lib function fails

this is obviously unacceptable.

The most likely solution seems to use GRASS only through Processing.
This also has a number of major limitations, however.

All the best.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html


More information about the grass-dev mailing list