[GRASSLIST:1878] Re: distance between points in a raster map
Malcolm Williamson
malcolm at cast.uark.edu
Fri May 25 09:32:00 EDT 2001
Create a raster layer where each cell is given the value of your cell resolution
(such as "30" for 30 meteres). Run r.cost over this layer, using your specified
point as the starting point. Although the current flavor of r.cost is a little
odd (adding the averaged value of the current cell plus the cell it is spreading
to), this shouldn't be a problem with a cost surface of identical values.
Best regards,
-Malcolm Williamson
CAST - University of Arkansas
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.
>
> Yours
>
> --
> Francois DELCLAUX
> ------------------------------------------------------------
> UMR HydroSciences Montpellier
> BP 5045 34032 Montpellier Cedex FRANCE
> http://www.mpl.ird.fr/hydrologie/mevhysa
> mailto: delclaux at msem.univ-montp2.fr
> Tel : (33) (0)4 67 14 90 11 Fax : (33) (0)4 67 14 47 74
> ------------------------------------------------------------
More information about the grass-user
mailing list