[Qgis-developer] QGIS and GRASS 7.0.0

Vaclav Petras wenzeslaus at gmail.com
Wed Feb 25 17:00:52 PST 2015


On Wed, Feb 25, 2015 at 2:45 AM, Radim Blazek <radim.blazek at gmail.com>
wrote:

> > it would be good if you can include GRASS Addons, too. There is a lot of
> > requests for installing/running GRASS Addons from QGIS, e.g. at
> > gis.stackexchange.com.
>
> How can I get list of installed GRASS Addons?


For basic list you can just use `g.extension -a` [1]. wxGUI is using more
complex approach implemented in UpdateGRASSAddOnCommands function [2]. One
reason for higher complexity is handling calls of Python scripts on MS
Windows (which would use some code review).

[1]
https://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/core/toolboxes.py?rev=64678#L475
[2]
https://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/core/globalvar.py?rev=64678#L136
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150225/fea2e9ff/attachment.html>


More information about the Qgis-developer mailing list