[GRASS-user] Distance map with defined path
Moritz Lennert
mlennert at club.worldonline.be
Fri Jul 10 11:09:24 EDT 2009
On 10/07/09 14:00, Margherita Di Leo wrote:
> Hi Milton,
> Thank you for answering,
> I corrently use r.watershed to obtain my flow direction matrix
> (drainage). I'm searching for a module in which I can put this
> 'drainage' in input, and a raster (or vector) with the river network in
> input, to obtain in output a matrix in wich in each cell there is the
> distance from the river, calculated on the basis of the path defined in
> 'drainage'.
Maybe by setting all cells other than the drainage paths to null ? Or by
using a mask which only leaves the drainage paths ? I don't know how
r.grow.distance handles null cells ?
In vector space you could maybe use v.distance upload=to_along...
Moritz
More information about the grass-user
mailing list