[GRASS-user] r.reclass probs with negative values

Jarek Jasiewicz jarekj at amu.edu.pl
Mon Nov 13 13:55:17 EST 2006


Glynn Clements napisał(a):
> Malte Halbey-Martin wrote:
>
>   
>> Hi Grass Users out there,
>> certainly something total easy, but is there a way to reclassify 
>> negative values with r.reclass?
>>
>> fp: Data range is -0.2180119007825851440429688 to 
>> 0.1608885973691940307617188
>>  > -0.2180119007825851440429688 thru 0.001 = 1 label
>> -0.718012 rounded up to 0
>> 0.501000 rounded up to 0
>>
>> Does r.reclass only work with integer or positive values? I couldn't 
>> find anything about that in the manual.
>>     
>
> Only integer maps can be reclassed.
>
>   
yes, it is the problem, map shall be multipied by for example 1000000 
then reclasified




More information about the grass-user mailing list