[GRASS-dev] [GRASS GIS] #2090: r.reclass.area - added flag to indicate input map is pre-clumped

#2090: r.reclass.area - added flag to indicate input map is pre-clumped
----------------------------+-----------------------------------------------
Reporter: egoddard | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Keywords: reclass, clump | Platform: Unspecified
      Cpu: All |
----------------------------+-----------------------------------------------
Added a flag (-c) to r.reclass.area.py to indicate that the input map is
pre-clumped. This is useful for using r.reclass.area with clump maps
generated from other tools such as r.clump4p
(http://sil.uc.edu/downloads.html#software) that can drastically reduce
processing time.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2090&gt;
GRASS GIS <http://grass.osgeo.org>

#2090: r.reclass.area - added flag to indicate input map is pre-clumped
----------------------------+-----------------------------------------------
Reporter: egoddard | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Keywords: reclass, clump | Platform: Unspecified
      Cpu: All |
----------------------------+-----------------------------------------------

Comment(by neteler):

Some issues have been pointed out in r.clump4p:

http://lists.osgeo.org/pipermail/grass-dev/2014-February/067484.html

Would your patch work also with stock r.clump?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2090#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#2090: r.reclass.area - added flag to indicate input map is pre-clumped
----------------------------+-----------------------------------------------
Reporter: egoddard | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Keywords: reclass, clump | Platform: Unspecified
      Cpu: All |
----------------------------+-----------------------------------------------

Comment(by egoddard):

Yes, the flag just indicates the input map is already clumped so that it
will skip the clumping phase of r.reclass.area. It doesn't matter which
algorithm is used to do the clumping.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2090#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#2090: r.reclass.area - added flag to indicate input map is pre-clumped
--------------------------+-------------------------------------------------
  Reporter: egoddard | Owner: grass-dev@…
      Type: enhancement | Status: closed
  Priority: normal | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Resolution: fixed | Keywords: reclass, clump
  Platform: Unspecified | Cpu: All
--------------------------+-------------------------------------------------
Changes (by lucadelu):

  * status: new => closed
  * resolution: => fixed

Comment:

Replying to [comment:2 egoddard]:
> Yes, the flag just indicates the input map is already clumped so that it
will skip the clumping phase of r.reclass.area. It doesn't matter which
algorithm is used to do the clumping.

I have applied the patch in r59376.

Thanks closing the ticket.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2090#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>