[GRASS-dev] New module: r.grow.distance

Glynn Clements glynn at gclements.plus.com
Tue Jul 22 17:04:40 EDT 2008


I have added a new module, r.grow.distance, which generates a map
where the value of each cell is the distance to the nearest non-null
cell in the input map (similar to r.cost with a constant cost, except
that you get real circles rather than approximations).

Suggestions for a better name are welcome; r.distance was already
taken.

Unlike r.buffer, it doesn't require loading the entire map into
memory, so (in conjuction with r.recode) it may also be useful as an
alternative to r.buffer for large maps.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list