[GRASS-dev] [GRASS GIS] #2348: r.stream.order Error finding nodes.

GRASS GIS trac at osgeo.org
Sat Jun 21 17:14:25 PDT 2014


#2348: r.stream.order Error finding nodes.
----------------------------+-----------------------------------------------
 Reporter:  hcho            |       Owner:  grass-dev@…              
     Type:  defect          |      Status:  new                      
 Priority:  normal          |   Milestone:  7.1.0                    
Component:  Raster          |     Version:  svn-trunk                
 Keywords:  r.stream.order  |    Platform:  All                      
      Cpu:  All             |  
----------------------------+-----------------------------------------------
 When a cell has five tributaries, ram_number_of_tribs (or
 seg_number_of_tribs) doesn't complain (trib > 5 in line 17), but
 ram_stream_topology raises a fatal error with the same counting logic
 (trib > 4 in line 89). I think 5 incoming tributaries, 1 outgoing and 2
 non-stream cells should be fine here too.

 IMHO, lines 89 and 308 should also be trib > 5 for consistency.

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



More information about the grass-dev mailing list