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

Laurent C. lrntct at gmail.com
Tue Feb 21 12:01:07 PST 2017


Rich,

I would use v.in.ascii, v.to.rast and then r.patch.

Laurent

2017-02-21 13:42 GMT-06:00 Rich Shepard <rshepard at appl-ecosys.com>:
>   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
>
>
>
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list