[GRASS-dev] [GRASS GIS] #2296: r.stream.* - unify some functions (avoid code duplication)

GRASS GIS trac at osgeo.org
Sat May 17 13:18:55 PDT 2014


#2296: r.stream.* - unify some functions (avoid code duplication)
-------------------------+--------------------------------------------------
 Reporter:  hellik       |       Owner:  grass-dev@…              
     Type:  enhancement  |      Status:  new                      
 Priority:  major        |   Milestone:  7.0.0                    
Component:  Raster       |     Version:  svn-trunk                
 Keywords:  r.stream.*   |    Platform:  All                      
      Cpu:  All          |  
-------------------------+--------------------------------------------------
 the r.stream.*-modules were recently added to trunk.

 to avoid code duplication, some functions should be unified over these
 modules in a lib(?) because following files are the same over all
 r.stream.*-modules:

 {{{
 http://trac.osgeo.org/grass/browser/grass/trunk/raster/r.stream.channel/io.c
 http://trac.osgeo.org/grass/browser/grass/trunk/raster/r.stream.distance/io.c
 http://trac.osgeo.org/grass/browser/grass/trunk/raster/r.stream.order/io.c
 http://trac.osgeo.org/grass/browser/grass/trunk/raster/r.stream.segment/io.c
 http://trac.osgeo.org/grass/browser/grass/trunk/raster/r.stream.snap/io.c
 http://trac.osgeo.org/grass/browser/grass/trunk/raster/r.stream.stats/io.c
 http://trac.osgeo.org/grass/browser/grass-
 addons/grass7/raster/r.stream.basins/io.c
 }}}

 {{{
 http://trac.osgeo.org/grass/browser/grass/trunk/raster/r.stream.channel/io.h
 http://trac.osgeo.org/grass/browser/grass/trunk/raster/r.stream.distance/io.h
 http://trac.osgeo.org/grass/browser/grass/trunk/raster/r.stream.order/io.h
 http://trac.osgeo.org/grass/browser/grass/trunk/raster/r.stream.segment/io.h
 http://trac.osgeo.org/grass/browser/grass/trunk/raster/r.stream.snap/io.h
 http://trac.osgeo.org/grass/browser/grass/trunk/raster/r.stream.stats/io.h
 http://trac.osgeo.org/grass/browser/grass-
 addons/grass7/raster/r.stream.basins/io.h
 }}}

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



More information about the grass-dev mailing list