[GRASS-user] Distance layer

Moritz Lennert mlennert at club.worldonline.be
Fri Oct 27 12:28:03 EDT 2006


Nomad Rain wrote:
> Hello GRASS group!
> 
> Currently  I  try  to  make  an  environmental  application - a script
> implementing  one  of  the  atmospheric polution models. The algorithm
> demands  to  include the function which returns the value depending on
> distance from the polution source.
> 
> Thus,  I want to calculate the layer of distances (first map) from the
> only pollution source (point on second map).
> 
> I cannot find the command which can automaticaly return the value of
> distance between two pixels on two maps.
> 
> Does anybody know how to do it (find the distance betw. 2 pixels)?
> 
> I use grass-6.2.0RC2

r.distance ?

There was some discussion about a potential problem with r.distance

http://grass.itc.it/pipermail/grass5/2006-October/026333.html

Markus Neteler wrote:
> r.distance happily calculates the distance even if
> one object is within the other



Moritz




More information about the grass-user mailing list