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

GRASS GIS trac at osgeo.org
Sun Sep 7 08:17:38 PDT 2014


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

Comment(by peifer):

 Replying to [comment:10 annakrat]:
 > The zipcodes are already clumped, or?

 It doesn't look like: zipcodes has 13 distinct cat values. r.clump
 generates 16 clumps and r.clump -d generates 14 clumps.

 Maybe zipcodes isn't a good example map for r.reclass.area in the first
 place, because when following the man page: some area of zip code 27606 is
 lost during the clumping (without the innocent user being aware of this
 risk, I would assume).
 {{{
 |27606|RALEIGH. . . . . . . . . .|  6626.420| # Size in ha in original
 zipcodes map
 |27606|RALEIGH. . . . . . . . . .|  6626.410| # 1 px = 100m2 = 0.01 ha
 lost in zipcodes_larger2000ha
 }}}

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



More information about the grass-dev mailing list