Re: [GRASS-user] r.clump with diagonal cells

2014-02-22 Thread Markus Metz
On Mon, Jan 13, 2014 at 12:39 PM, Johannes Radinger 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 connecte

Re: [GRASS-user] r.clump with diagonal cells

2014-01-17 Thread Markus Metz
On Mon, Jan 13, 2014 at 3:30 PM, Markus Neteler wrote: > On Mon, Jan 13, 2014 at 12:39 PM, Johannes Radinger > 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 >> c

Re: [GRASS-user] r.clump with diagonal cells

2014-01-14 Thread Johannes Radinger
Thanks for the hint about r.clump2. I just tried to apply it to my data. While this tool works with diagonally connected cells (in contrast to r.clump) it does not preserve the distinct category values of adjacent cells. Furthermore, as also mentioned in the manual: Linear elements are always clum

Re: [GRASS-user] r.clump with diagonal cells

2014-01-13 Thread Markus Neteler
On Mon, Jan 13, 2014 at 12:39 PM, Johannes Radinger 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 connecte

Re: [GRASS-user] r.clump with diagonal cells

2014-01-13 Thread Eric Goddard
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" wrote: > Dear all, > >

[GRASS-user] r.clump with diagonal cells

2014-01-13 Thread Johannes Radinger
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 ma