1

I'd like to use the r.catchment tool from GRASS within QGIS. It looks like this is a tool that hasn't yet been developed into a processing tool under the GRASS commands. Is there some other way to load GRASS tools within QGIS?

2

Yes, beside GRASS processing tools you can use GRASS 7 plugin (available from QGIS 2.12) which integrates GRASS Environment directly to QGIS. You have to activate it in menu Plugins --> Manage and Install Plugins ..., then GRASS menu appears in Plugins menu.

To use this approach you have to be familiar with GRASS and how it works with data (see QGIS documentation). For hydrology analysis you can also use a SAGA tools from processing toolbox.

  • I was afraid of that. I'd prefer not to have to immerse myself in the details of how GRASS does things but it looks like I have no choice. Thanks for pointing me to the the plugin. – spencerrecneps Nov 4 '16 at 21:55
  • 1
    ... he wrote: "which integrates GRASS Environment directly..." - sounds rather harmless :-) – markusN Nov 6 '16 at 19:40
2

To avoid some frustration:

I am afraid, the answer is you currently cannot use r.catchment out of the box from QGIS, because r.catchment is an AddOn and neither Processing nor the QGIS-GRASS-plugin allow for using AddOns.

The only possibility I know of would be, if you add that module to the QGIS-GRASS-plugin yourself. That means: copy the script to the plugin source 1, add a module description (.qgm-file) for it to 2 and activate it in the module tree 3. You can do that in your local installation, and do not have to compile anything. Just reload the modules when you are done...

If you need r.catchment, and esp. if you run hydrological analysis on a regular basis, I would simply dive into GRASS!

Please have a look at:

Adding_New_Tools_to_the_GRASS_Toolbox

how-to-add-my-own-grass-algorithms-to-processing

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.