RE: [GRASS-user] r.drain documentation - updated

2008-02-20 Thread Patton, Eric
Stefano: On the other hand I can't understand why in the man page the section entitled BUG says: r.drain currently finds only the lowest point (the cell having the smallest category value) in the input file that can be reached through directly adjacent cells that are less than or equal in

Re: [GRASS-user] r.drain documentation

2008-02-15 Thread Hamish
Stefano Negri wrote: I'm a bit confused about r.drain (I'm working with Debian's backport version 6.2.1). I have noticed that if you give as input in the coordinate parameter a point that stands on the region's edge, r.drain won't move from there: it would output a map with that same single

Re: [GRASS-user] r.drain documentation

2008-02-15 Thread stefano negri
Thanks for your answers Eric and Hamish. I had already made sure with d.rast.num and I have double checked now on a toy map (a slope on a 100x100 grid): even if there are lower value cells beside a border cell, it won't move from there. Stefano. 2008/2/15, Hamish [EMAIL PROTECTED]: Stefano

RE: [GRASS-user] r.drain documentation

2008-02-15 Thread Patton, Eric
I'm a bit confused about r.drain (I'm working with Debian's backport version 6.2.1). I have noticed that if you give as input in the coordinate parameter a point that stands on the region's edge, r.drain won't move from there: it would output a map with that same single point. Is this a bug? On

Re: [GRASS-user] r.drain documentation

2008-02-15 Thread Maris Nartiss
Hi, You are right - r.drain will NOT give sane results at region boundary. Here is snippet from filldir.c:107: /* determine the flow direction in each cell. On outer rows and columns * the flow direction is always directly out of the map */ It's a questionable what action r.drain should take if