[GRASS-user] change the cell value of a geotiff

maven apache apachemaven0 at gmail.com
Wed Jan 20 09:23:23 EST 2010


2010/1/20 Milton Cezar Ribeiro <miltinho.astronauta at gmail.com>

> Hey "someone", don't push..
>
Sorry. I was worred.

>
> r.mapcalc "NewMap=if(OldMap==999,null(),OldMap)"
>

:(
I have seen the docs,but I am not sure the usage of it.

My raster map is aa in the grass, and the to be changed value is 12.1,I want
to change it to null,so can you build the commond for me ,:(
Thanks.

>
> bests
>
> milton
> 2010/1/20 maven apache <apachemaven0 at gmail.com>
>
>> Hi:
>>
>> I have a geotiff now, and some cells have a not-expected value, so I want
>> to Interpolation them, and I notice that there is a command named
>> r.fillnull, however the cell to be changed is not null, so I want to :
>> 1) change the special  cell value to null
>> 2) use the r.fillnull to Interpolation.
>>
>> The problem is I do not know how to do the step 1 with grass, anyone can
>> do me a favor?
>>
>> Thanks.
>>
>> _______________________________________________
>> grass-user mailing list
>> grass-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-user
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100120/6048e7af/attachment-0001.html


More information about the grass-user mailing list