Hi Markus,

On 2017-11-17 at 14:09, Markus Metz <[email protected]> wrote:
> OK, I understand now. With method=rmarea, r.reclass converts the
> raster clumps to vector areas. That single cell in your example below,
> that either belongs to the larger clump 1 (with -d) or forms a
> separate clump 2 (without -d) will always be a separate small vector
> area (topology or not does not matter here) and thus will always be
> removed independent of the 2-cell clump. The vector approach is thus
> not working here as expected.

Thanks for looking into this and explaining. I'll open a documentation bug on 
Trac.

> Incidentally I have added a minsize option to r.clump in GRASS 7.4 which
> should work as expected. Try to use r.clump minsize=X (in number of cells)
> instead of r.reclass.area method=rmarea mode=lesser.

Between this and mapcalc area() function in 7.3 I need to find a way use more 
cutting-edge GRASS versions than 7.2.2 even though I'm on OS X.

  -k.
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to