Opened 11 years ago

Closed 11 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 11 years ago.
r.reclass.area.html.diff (614 bytes ) - added by egoddard 11 years ago.

Download all attachments as: .zip

Change History (5)

by egoddard, 11 years ago

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

by egoddard, 11 years ago

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

comment:1 by neteler, 11 years ago

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 by egoddard, 11 years ago

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.

in reply to:  2 comment:3 by lucadelu, 11 years ago

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.