[GRASS-dev] Re: [GRASS GIS] #1597: r.topidx ERROR current region resolution

GRASS GIS trac at osgeo.org
Mon Feb 27 15:35:34 EST 2012


#1597: r.topidx ERROR current region resolution
----------------------+-----------------------------------------------------
 Reporter:  madi      |       Owner:  grass-dev@…              
     Type:  defect    |      Status:  new                      
 Priority:  normal    |   Milestone:  6.5.0                    
Component:  Raster    |     Version:  svn-develbranch6         
 Keywords:  r.topidx  |    Platform:  Linux                    
      Cpu:  x86-64    |  
----------------------+-----------------------------------------------------

Comment(by neteler):

 The code in question is in file_io.c:
 {{{
     if (window.ew_res < inhead.ew_res || window.ns_res < inhead.ns_res)
         G_fatal_error(_("Current region resolution [%.2fx%.2f] lower than
 input map resolution [%.2fx%.2f]! Needs to be at least identical or the
 current region resolution lower than the input map resolution"),
                       window.ew_res, window.ns_res, inhead.ew_res,
                       inhead.ns_res);
 }}}

 I suspect that GRASS_EPSILON should be used here.

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



More information about the grass-dev mailing list