Hi! Gaspar,
you can do it one way as follows.
1) create a vector of desired area that you would like to extract values for. 2) use v.to rast for converting it into a raster use value = 1 for that raster
3)open mapcalc and put input raster as A and new created raster as B
4) enter formula if(B == 1), A, 0), also name the new raster
5) the new raster shall have the values from the input raster

I hope I got it right for you.
rgs,
Ambrish Dhaka


On 4/14/2011 3:16 AM, Gaspar Reyes Póndigo wrote:
Hello, Dear grass_user. /My first/ forum /participation/ in the grass_user list email.

How to extract values of map raster with r.mapcalc? I need make new map raster based on specific value of other raster.


_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to