[GRASS-user] merging small areas but keep raster categories

Ken Mankoff mankoff at gmail.com
Sat Mar 9 12:44:31 PST 2019


I'd like to merge small areas from a raster with their large neighbors.

I can do this with `r.clump` with the `minsize` argument.

But r.clump reclassifies everything, which is causing problems downstream with my workflow. I've tried working around this with `r.reclass.area ... mode=greater`, but that doesn't have the same functionality.

Can anyone suggest a workflow or tool that merges clumps but does not re-categorize them?

Thanks,

 -k.


More information about the grass-user mailing list