[GRASS-dev] [bug #5136] (grass) r.drain: fails to trace slantwise

Request Tracker grass-bugs at intevation.de
Thu Sep 14 18:04:27 EDT 2006


this bug's URL: http://intevation.de/rt/webrt?serial_num=5136
-------------------------------------------------------------------------

Subject: r.drain: fails to trace slantwise

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 2006-09-13

r.drain traces properly only if the cells are adjacent by sides. Cells adjacent at a slant will be ignored. Eg., if a following raster is the input:

  A  B  C  
A 90 90 90
B 81 90 90
C 90 82 90
D 90 90 83

the output of "r.drain coordinate=A,B" is a single cell located at A,B. While I expect the output to be a line consisted of 3 cells: A,B B,C and C,D.

Maciek


-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list