[GRASS-dev] [GRASS GIS] #1836: r.reclass.eq reports r.reclass rules file missing

GRASS GIS trac at osgeo.org
Sun Dec 16 16:28:54 PST 2012


#1836: r.reclass.eq reports r.reclass rules file missing
---------------------+------------------------------------------------------
 Reporter:  cwren    |       Owner:  grass-dev@…              
     Type:  defect   |      Status:  new                      
 Priority:  normal   |   Milestone:  7.0.0                    
Component:  Default  |     Version:  svn-trunk                
 Keywords:           |    Platform:  MSWindows 7              
      Cpu:  x86-64   |  
---------------------+------------------------------------------------------

Comment(by glynn):

 Replying to [ticket:1836 cwren]:
 > r.reclass.eq gives an error referring to a missing rules file and fails
 to produce an output.

 It's actually r.rescale.eq, not r.reclass.eq.

 It hasn't been updated since r.reclass' rules= option became mandatory.
 r.rescale was fixed with r45358; r.rescale.eq needs the same treatment.

 BTW, there's no need to sprintf() the string into a buffer; using a string
 literal will work.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1836#comment:2>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list