Bug report #13003

processing: add a special case for r.drain

Added by Giovanni Manghi over 4 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assignee:Victor Olaya
Category:Processing/GRASS
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

Description

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

History

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

  • Status changed from Open to In Progress

Hello,

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

#2 Updated by Giovanni Manghi over 3 years ago

Médéric RIBREUX wrote:

Hello,

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 3 years ago

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

Pull-request was merged

Also available in: Atom PDF