Re: fuzzy clumping using r.clump in QGIS

Markus Neteler <[email protected]> Mon, 3 May 2021 17:06:13 +0200
Newsgroups gmane.comp.gis.grass.devel
Message-ID <CALFmHhuhw8jwjih9mgHOBP5fGK0Rq7NR34y+-6MhVtXY4f9bEA@mail.gmail.com>
Hi Paulo,

On Mon, May 3, 2021 at 12:36 AM Paulo van Breugel
<[email protected]> wrote:
>
> Hi devs,
>
> Not sure this should go to the QGIS mailing list instead.

This one is fine :)

> The grass gis r.clump function in QGIS does not include the threshold value as far as I can see. Do you know if this is intentionally, and if not, if it would be difficult to add?

I suppose that there was no purpose to omit it.
Adding it might be easy, by editing

https://github.com/qgis/QGIS/blob/master/python/plugins/processing/algs/grass7/description/r.clump.txt

and proposing the change as a new pull request (happens upon saving).

Perhaps best is to first edit the local file (on my Linux box here):
/usr/share/qgis/python/plugins/processing/algs/grass7/description/r.clump.txt
and make tests, then submit the working change.

Best,
Markus

PS: A "threshold" you find e.g. in
https://github.com/qgis/QGIS/blob/master/python/plugins/processing/algs/grass7/description/r.watershed.txt
but the wording should follow that of r.clump.