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?

  • Thank you @PolyGeo for the edit. But the title is syntactically/grammatically now incorrect. At least, my poor English tells me, it should read: either "Exposing a GRASS GIS add-on in QGIS Processing framework?" or "Exposing GRASS GIS add-ons in QGIS Processing framework?". – Nikos Alexandris Apr 19 '19 at 12:48
  • The title is a summary of your question. It can normally be summarized in fewer characters (for search engine optimization and duplicate suggestions) by not insisting on a fully formed sentence. – PolyGeo Apr 19 '19 at 12:59
  • @PolyGeo I see. But I still think it should be grammatically correct. – Nikos Alexandris Apr 19 '19 at 13:01

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, privacy policy and cookie policy

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