Bug report #13003

processing: add a special case for r.drain

Added by Giovanni Manghi over 8 years ago. Updated over 7 years ago.

Assignee:Victor Olaya
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:21080


This module computes least cost paths for draining water.

The start point can be seeded as a list of coordinates AND/OR with points layers.

The problem about using the point layers is that GRASS expect is as GRASS Input layers where Processing pass the input as an ogr layers, so the module fails.

The use of input vector layers must be added in the Processing logic as a special case.

Related issues

Related to QGIS Application - Bug report #13004: GRASS module r.drain won't start in Processing Closed 2015-06-19


#1 Updated by Médéric RIBREUX over 7 years ago

  • Status changed from Open to In Progress


there is a PR for this !
It should fix the bug...

#2 Updated by Giovanni Manghi over 7 years ago

Médéric RIBREUX wrote:


there is a PR for this !
It should fix the bug...

I have noticed that at least with GRASS7 the module was already working (on qgis 2.14) with input/start points from vector layers... did you changed something more in your PR (beside adding the missing parameters)? Cheers!

#3 Updated by Alexander Bruy over 7 years ago

  • Resolution set to fixed/implemented
  • Status changed from In Progress to Closed

Pull-request was merged

Also available in: Atom PDF