[GRASS5] [bug #267] (grass) r.reclass: does not accept FP in rules

Request Tracker grass-bugs at intevation.de
Tue May 15 07:39:53 EDT 2001


this bug's URL: http://intevation.de/rt/webrt?serial_num=267
-------------------------------------------------------------------------

Subject: r.reclass: does not accept FP in rules

r.reclass: does not accept FP in rules

sample:                                                                 
-------------snip------------------                                 
r.mapcalc test='(float(tmp_b))'   #to be sure, that input is float  
                                                            
r.reclass input=test output=tmp_out <<EOF                           
1=1                                                                  
2=4                                                                   
3=0.50                                                             
4=0.25                                                           
5=0.10                                                               
EOF                                                             
                                                                
ERROR: 3=0.50                                               
- invalid reclass rule   


However, FP support is implemented. The rules parser needs to be
revisited.

(Reported by Dieter Lehmann) 

 Markus


-------------------------------------------- Managed by Request Tracker

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list