[GRASSLIST:1881] Re: distance between points in a raster map

Markus Neteler neteler at geog.uni-hannover.de
Sun May 27 05:43:26 EDT 2001


On Fri, May 25, 2001 at 01:18:40PM +0000, Francois Delclaux wrote:
> Hi,
> 
> I'm looking for calculating a raster map for which each pixel
> 
> is the distance to a only one specified point (or pixel).
> 
> I would enjoy if someone has a solution (command, script,
> 
> mapcalc procedure) for this quite simple problem.

Hi Francois,

probably r.distance is what you are looking for?

http://www.geog.uni-hannover.de/grass/gdp/html_grass5/html/r.distance.html

In combination with r.clump you could re-number each pixel for
individual distance queries.

Regards

 Markus Neteler




More information about the grass-user mailing list