[GRASS-dev] Access to GRASS GIS addons

Nikos Alexandris nik at nikosalexandris.net
Mon Oct 15 03:10:28 PDT 2018

Here a working solution (as explained/provided by Stefan) for the
"Processing Toolbox". Note, below "grass-ltr" maybe any grass 7.x
version, like grass-7.4.svn

1. Copy a GRASS GIS addon, say `r.example` under

2. Copy a Windows Batch file named after the addon, of course with the
extension of the file being `.bat` under
C:\OSGeo4W64\apps\grass\grass-7.4.svn\bin\ # r.estimap.bat
whose content should be:
@"%GRASS_PYTHON%" "%GISBASE%/scripts/<AddonName>.py" %*

3. For the description of the UI, copy `r.example.txt` under

The above steps will make the addon listed under the list of GRASS GIS
algorithms, inside the Processing toolbox.

4. There is another thing (yet to test): perhaps a file name r_example.py
is required under

in C:\OSGeo4W64\apps\qgis\python\plugins\processing\algs\grass7\ext

Looking at existing files there-in, they are not the "same" and I guess
it's going to be required (to understand what and how) in order to get
an addon running as expected.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20181015/4be213ad/attachment.sig>

More information about the grass-dev mailing list