<p dir="ltr">Hi Johannes,</p>
<p dir="ltr">There is an add on module called r.clump4p available at at <a href="http://sil.uc.edu/downloads.html#software">http://sil.uc.edu/downloads.html#software</a></p>
<p dir="ltr">It has an option to clump diagonal cells. It is also parallelized and completes much faster than r.clump.</p>
<p dir="ltr">Eric<br>
</p>
<div class="gmail_quote">On Jan 13, 2014 5:39 AM, "Johannes Radinger" <<a href="mailto:johannesradinger@gmail.com">johannesradinger@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Dear all,<div><br></div><div>I just tried r.clump on a rastarized river with alternating patches of good</div><div>and bad habitat (values 1 and 2). However, due to its linear structure, many</div><div>cells of the same habitat patch are often only diagonally connected. So this</div>
<div>is a case where r.clump does not work (as stated in its manual).</div><div><br></div><div>So, as a suggestion, it'd be nice if also diagonal cells could be considered by r.clump (e.g. by setting a flag).</div><div>
<br></div><div>...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).</div><div><br></div><div>FYI r.clump has been tested on GRASS7.</div>
<div><br></div><div>best regards,</div><div>Johannes</div></div>
<br>_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br></blockquote></div>