Opened 7 years ago

Closed 6 years ago

#2090 closed enhancement (fixed)

r.reclass.area - added flag to indicate input map is pre-clumped

Reported by: egoddard Owned by: grass-dev@…
Priority: normal Milestone: 7.0.0
Component: Raster Version: svn-trunk
Keywords: reclass, clump Cc:
CPU: All Platform: Unspecified

Description

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.

Attachments (2)

r.reclass.area.py.diff (2.6 KB) - added by egoddard 7 years ago.
r.reclass.area.html.diff (614 bytes) - added by egoddard 7 years ago.

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by egoddard

Attachment: r.reclass.area.py.diff added

Changed 7 years ago by egoddard

Attachment: r.reclass.area.html.diff added

comment:1 Changed 6 years ago 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?

comment:2 Changed 6 years ago 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.

comment:3 in reply to:  2 Changed 6 years ago by lucadelu

Resolution: fixed
Status: newclosed

Replying to 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.

Note: See TracTickets for help on using tickets.