Exposing GRASS GIS add-on in QGIS Processing framework?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















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?










share|improve this question

























  • 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
    15 hours ago













  • 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
    15 hours ago











  • @PolyGeo I see. But I still think it should be grammatically correct.

    – Nikos Alexandris
    15 hours ago


















1















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?










share|improve this question

























  • 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
    15 hours ago













  • 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
    15 hours ago











  • @PolyGeo I see. But I still think it should be grammatically correct.

    – Nikos Alexandris
    15 hours ago














1












1








1








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?










share|improve this question
















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?







qgis grass qgis-processing add-ons






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 17 hours ago









PolyGeo

54k1782246




54k1782246










asked 17 hours ago









Nikos AlexandrisNikos Alexandris

1,0641528




1,0641528













  • 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
    15 hours ago













  • 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
    15 hours ago











  • @PolyGeo I see. But I still think it should be grammatically correct.

    – Nikos Alexandris
    15 hours ago



















  • 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
    15 hours ago













  • 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
    15 hours ago











  • @PolyGeo I see. But I still think it should be grammatically correct.

    – Nikos Alexandris
    15 hours ago

















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
15 hours ago







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
15 hours ago















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
15 hours ago





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
15 hours ago













@PolyGeo I see. But I still think it should be grammatically correct.

– Nikos Alexandris
15 hours ago





@PolyGeo I see. But I still think it should be grammatically correct.

– Nikos Alexandris
15 hours ago










1 Answer
1






active

oldest

votes


















3














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



Overview




  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




  • Processing Toolbox and the normal GRASS GIS provider: https://i.imgur.com/3QZ4bB9.png

  • QGIS Plugin in the 'natcapes_qgis' repository: https://i.imgur.com/UArlt36.png

  • Install (the above mentioned QGIS) Plugin from ZIP: https://i.imgur.com/Q2sXNdw.png

  • Plugin installed, provider activated: https://i.imgur.com/LdmpaWF.png

  • The interface to r.estimap.recreation: https://i.imgur.com/uJbMSpw.png






share|improve this answer


























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "79"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f319331%2fexposing-grass-gis-add-on-in-qgis-processing-framework%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














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



    Overview




    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




    • Processing Toolbox and the normal GRASS GIS provider: https://i.imgur.com/3QZ4bB9.png

    • QGIS Plugin in the 'natcapes_qgis' repository: https://i.imgur.com/UArlt36.png

    • Install (the above mentioned QGIS) Plugin from ZIP: https://i.imgur.com/Q2sXNdw.png

    • Plugin installed, provider activated: https://i.imgur.com/LdmpaWF.png

    • The interface to r.estimap.recreation: https://i.imgur.com/uJbMSpw.png






    share|improve this answer






























      3














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



      Overview




      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




      • Processing Toolbox and the normal GRASS GIS provider: https://i.imgur.com/3QZ4bB9.png

      • QGIS Plugin in the 'natcapes_qgis' repository: https://i.imgur.com/UArlt36.png

      • Install (the above mentioned QGIS) Plugin from ZIP: https://i.imgur.com/Q2sXNdw.png

      • Plugin installed, provider activated: https://i.imgur.com/LdmpaWF.png

      • The interface to r.estimap.recreation: https://i.imgur.com/uJbMSpw.png






      share|improve this answer




























        3












        3








        3







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



        Overview




        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




        • Processing Toolbox and the normal GRASS GIS provider: https://i.imgur.com/3QZ4bB9.png

        • QGIS Plugin in the 'natcapes_qgis' repository: https://i.imgur.com/UArlt36.png

        • Install (the above mentioned QGIS) Plugin from ZIP: https://i.imgur.com/Q2sXNdw.png

        • Plugin installed, provider activated: https://i.imgur.com/LdmpaWF.png

        • The interface to r.estimap.recreation: https://i.imgur.com/uJbMSpw.png






        share|improve this answer















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



        Overview




        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




        • Processing Toolbox and the normal GRASS GIS provider: https://i.imgur.com/3QZ4bB9.png

        • QGIS Plugin in the 'natcapes_qgis' repository: https://i.imgur.com/UArlt36.png

        • Install (the above mentioned QGIS) Plugin from ZIP: https://i.imgur.com/Q2sXNdw.png

        • Plugin installed, provider activated: https://i.imgur.com/LdmpaWF.png

        • The interface to r.estimap.recreation: https://i.imgur.com/uJbMSpw.png







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 15 hours ago

























        answered 17 hours ago









        Nikos AlexandrisNikos Alexandris

        1,0641528




        1,0641528






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f319331%2fexposing-grass-gis-add-on-in-qgis-processing-framework%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            數位音樂下載

            When can things happen in Etherscan, such as the picture below?

            格利澤436b