[GRASS-user] Finding the value of a point in a raster map

Glynn Clements glynn at gclements.plus.com
Thu Sep 2 15:03:25 EDT 2010


vbkhp wrote:

> I am writing a r.mapcalc instruction, and I would like to find the
> value of a point in the map (other than the point that the window is
> currently at).
> More precisely, in a raster dem I would like to calculate the
> difference between the height of one point and the rest of the map. 

Use r.what to query the value at specific point, then insert ther
result into the r.mapcalc expression as a constant.

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


More information about the grass-user mailing list