[GRASS-user] affecting cat of closest feature as pixel value

Markus Neteler neteler at osgeo.org
Fri Jul 10 08:53:24 EDT 2009

On Fri, Jul 10, 2009 at 9:37 AM, Moritz
Lennert<mlennert at club.worldonline.be> wrote:
> Using r.cost with multiple starting points with my students, the question
> came up whether it is possible to use the resulting cumulative cost surface
> to assign each pixel the cat (or other info) of its closest starting point,
> so something like r.grow.distance, but taking into account the cost, not
> necessarily the distance.
> Any ideas ?

(Un)related wish: while you are at it, could you also compare the results
of r.terracost in the Addons repository [1]? If as expected, I would suggest
to replace r.cost with the code of r.terracost in GRASS 7.


[1] The new Addons installer might greatly facilitate the installation

More information about the grass-user mailing list