[GRASS-user] assign heigght value to pixel(x,y)

Markus Neteler neteler at osgeo.org
Sun Apr 17 02:06:24 EDT 2011


On Sat, Apr 16, 2011 at 10:36 PM, vinod kumar <nani.kunithi at gmail.com> wrote:
> Hi Markus Neteler,
>
> yes, importing pixel values with r.in ascii and patch into existing into
> raster is simple easy for particular pixel,
> but if we want to assign a height value to more pixels, for example
> assigning height value to buildings in a
> particular area in raster map is difficult as we don't no to which pixel
> value we have to assign height value and
> checking each pixel value is difficult.

Now I understand a bit more: so use r.mapcalc with an if() condition.

Markus


More information about the grass-user mailing list