[GRASS-dev] [GRASS GIS] #2400: r.reclass.area: add option to use r.clump's -d flag

GRASS GIS trac at osgeo.org
Sun Aug 24 12:39:54 PDT 2014


#2400: r.reclass.area: add option to use r.clump's -d flag
----------------------------+-----------------------------------------------
 Reporter:  peifer          |       Owner:  grass-dev@…              
     Type:  enhancement     |      Status:  new                      
 Priority:  normal          |   Milestone:  7.0.0                    
Component:  Python          |     Version:  svn-trunk                
 Keywords:  r.reclass.area  |    Platform:  All                      
      Cpu:  Unspecified     |  
----------------------------+-----------------------------------------------

Comment(by peifer):

 Maybe I am just plain stupid, but my simple idea was that r.reclass.area
 should have an option to use r.clump's rather recently introduced -d flag.
 Only in cases where the map is NOT pre-clumped, of course.  Updated
 descriptions could be:

 -c
     Input map is already clumped. Flags -c and -d are mutually exclusive.

 -d
     Area size of generated clumps includes diagonally neighboring cells.
 Flags -d and -c are mutually exclusive.

 The above enhancement would avoid that one has to pre-clump separately, in
 case one is interested in diagonal neighbors.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2400#comment:4>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list