Having QGIS and GRASS GIS 7 installed, how can I expose a GRASS GIS add-on, which has been installed using g.extension, in QGIS' Processing framework?


1 Answer 1


QGIS core developer Nyal Dawson explained a best-practice approach in this e-mail thread.


  1. Subclass QGIS' class Grass7AlgorithmProvider

  2. Set the value of descriptionFolder to the path of the add-on in question

  3. Override the methods for logo, descriptions, name etc.

An example of it, implemented by Panagiotis Mavrogiorgos is https://gitlab.com/natcapes/natcapes_qgis, which literally exposes the https://gitlab.com/natcapes/r.estimap.recreation GRASS GIS add-on under Processing.

Finally, it would be nice to have an update for https://issues.qgis.org/issues/21322 -- essentially, an update of the "documentation" file https://github.com/qgis/QGIS/blob/master/python/plugins/processing/algs/grass7/grass7.txt.

Related Screenshots


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.