Hi Markus Netler,<br><br>Using r.mapcalc with an if() condition might work but how can we give a condition without knowing anything about pixels(like.. where it is located and height.. etc).<br>i am doing this for to assign height values to some pixels where i do not know the buildings location in a raster map graphically.<br>
<br>I think we are on the way to the solution. next step would be the solution.<br><br>thanks,<br>nani. <br><br><br><div class="gmail_quote">On Sun, Apr 17, 2011 at 8:06 AM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Sat, Apr 16, 2011 at 10:36 PM, vinod kumar <<a href="mailto:nani.kunithi@gmail.com">nani.kunithi@gmail.com</a>> wrote:<br>
> Hi Markus Neteler,<br>
><br>
> yes, importing pixel values with <a href="http://r.in" target="_blank">r.in</a> ascii and patch into existing into<br>
> raster is simple easy for particular pixel,<br>
> but if we want to assign a height value to more pixels, for example<br>
> assigning height value to buildings in a<br>
> particular area in raster map is difficult as we don't no to which pixel<br>
> value we have to assign height value and<br>
> checking each pixel value is difficult.<br>
<br>
</div>Now I understand a bit more: so use r.mapcalc with an if() condition.<br>
<font color="#888888"><br>
Markus<br>
</font></blockquote></div><br>