[GRASS-dev] [GRASS GIS] #1888: r.terraflow won't run

GRASS GIS trac at osgeo.org
Tue Feb 19 03:39:08 PST 2013


#1888: r.terraflow won't run
--------------------------------+-------------------------------------------
 Reporter:  pvanbosgeo          |       Owner:  grass-dev@…              
     Type:  defect              |      Status:  new                      
 Priority:  normal              |   Milestone:  7.0.0                    
Component:  wxGUI               |     Version:  svn-trunk                
 Keywords:  r.terraflow, forms  |    Platform:  Unspecified              
      Cpu:  Unspecified         |  
--------------------------------+-------------------------------------------

Comment(by annakrat):

 The problem is that r.terraflow option ''d8cut'' has default value
 'infinity'. The gui expects float and not string. Inside r.terraflow
 answer infinity means

 {{{
 static const flowaccumulation_type MAX_ACCU = 1e+15;
 }}}

 I am not sure how to handle this special case. We can test 'infinity'
 string and set maximum value of the Float Spin instead (which is currently
 1e9, but it can be increased).

 Anna

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



More information about the grass-dev mailing list