[GRASS-user] r.clump with diagonal cells

Eric Goddard egoddard1010 at gmail.com
Mon Jan 13 05:00:03 PST 2014


Hi Johannes,

There is an add on module called r.clump4p available at at
http://sil.uc.edu/downloads.html#software

It has an option to clump diagonal cells. It is also parallelized and
completes much faster than r.clump.

Eric
 On Jan 13, 2014 5:39 AM, "Johannes Radinger" <johannesradinger at gmail.com>
wrote:

> Dear all,
>
> I just tried r.clump on a rastarized river with alternating patches of good
> and bad habitat (values 1 and 2). However, due to its linear structure,
> many
> cells of the same habitat patch are often only diagonally connected. So
> this
> is a case where r.clump does not work (as stated in its manual).
>
> So, as a suggestion, it'd be nice if also diagonal cells could be
> considered by r.clump (e.g. by setting a flag).
>
> ...or maybe someone of you has another idea to how to get unique values
> for each discrete patch (also diagonally connected cells of homogeneous
> habitat quality).
>
> FYI r.clump has been tested on GRASS7.
>
> best regards,
> Johannes
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20140113/cca851c1/attachment.html>


More information about the grass-user mailing list