[GRASS-user] Change value of a specific raster cell

Rich Shepard rshepard at appl-ecosys.com
Tue Feb 21 11:42:00 PST 2017


   What is the appropriate r.mapcalc command to change the value of the
raster cell at a specified coordinate? Cell resolution is 1m x 1m.

   For a specified coordinate pair (east,north) I want to change the value
from 158.7290 to 160.0. The expression would be 'value = 160.0', but needs
to be applied to only a single cell.

   Do I build a one-cell mask, change the value in the mask, then apply the
mask's cell value to the whole map?

Rich







More information about the grass-user mailing list