[GRASS-user] Set raster value for specific cell

Nikos Alexandris nik at nikosalexandris.net
Thu May 16 06:34:11 PDT 2013


Johannes Radinger wrote:
> is there a simple way to set the value of a specific raster cell (e.g.
> defined by the coordinate of its cell center). One way could be to define a
> point by the coordinates (e.g. v.in.ascii) and then to convert the point to
> raster (v.to.rast) and use the mapcalculator to modify the original raster
> with the help of this new-point raster...
 
> ...But is there a simpler way to "call" the raster-cell directly?

Just for the records, there is also d.rast.edit, very handy for hand-crafting 
pixel values :-)

Regards, Nikos


More information about the grass-user mailing list