[GRASS-user] r.drain problem when flow reach the border

Markus Metz markus.metz.giswork at gmail.com
Sun Dec 23 10:32:50 PST 2012


On Sun, Dec 23, 2012 at 7:07 PM, Milton Cezar Ribeiro
<miltinho.astronauta at gmail.com> wrote:
> Dear all,
>
> I am running a least cost path analysis combining r.cost and r.drain.
> But on some cases, when the least cost path between source and target
> reach the border of my map, r.drain stop on that position, and target
> point isn´t reached.

This is correct because at the borders, the direction can not be
determined, the path could lead out of the current region, you can not
tell.

Running on other softwares the algorithms the
> source and target is connected using edges without problem.

If in doubt, I would call it a bug in that other software.

>
> Any hint are welcome.

Try to expand the current region

Markus M


More information about the grass-user mailing list