[GRASS-dev] [GRASS GIS] #172: r.recode truncates last character in rules file.

GRASS GIS trac at osgeo.org
Fri May 16 16:54:16 EDT 2008


#172: r.recode truncates last character in rules file.
----------------------------+-----------------------------------------------
 Reporter:  bgullatt        |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect          |      Status:  new                      
 Priority:  major           |   Milestone:  6.3.1                    
Component:  default         |     Version:  6.3.0 RCs                
 Keywords:  r.recode rules  |  
----------------------------+-----------------------------------------------
 When running r.recode (wingrass63rc5 & qgis0.10.0) the last character in
 the rules file gets truncated such that it scales the recode by a factor
 of 10. Work around is to add a zero. Found this when using r.recode to
 convert from fcell(float) to cell(int) for compatability with existing
 application built on grass4x.

 Tested at command line rather than rules file and got correct values.
 Problem is in rules file processing.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/172>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list