[GRASS-user] The algorithm r.cost is not working
Markus Metz
markus.metz.giswork at googlemail.com
Tue Feb 14 06:39:26 EST 2012
On Tue, Feb 14, 2012 at 11:56 AM, Elisa Solano Villareal
<villareal at fbk.eu> wrote:
> Hi there,
>
> I have a question, I am working with r.cost algotithm but is not running for my whole spatial data but when a put just a piece of the map it works.
>
> The main problem is that the algorithm does not finish, but it seems as keeping running 112%, 115%,120%...
>
> My version is 6.4 and the bigest cost raster size is 6085, 6823 for the starting points are 1727.
r.cost has changed a bit lately, in particular since GRASS version
6.4.0. Please use 6.4.2 if possible. The cost surface used as input
for r.cost must have only positive values, negative values will cause
infinite loops. Please make sure your input cost surface has only
positive values. If the problem persists, it would be great if you
could provide a sample script and/or sample data to reproduce the
problem. At least in 6.4.2 r.cost is working fine.
>
> Grass showed also this message: Dev note: Adapted sites library used for vector points. (module should be updated to GRASS 6 vector library). As the matter of fact, we are no sure if it is the real problem.
No, this is not a problem.
Markus M
More information about the grass-user
mailing list