[GRASS-dev] r.clump on floating map

Hi devs,

How is r.clump suppose to handle floating rasters? I ran the function on a floating raster, and threshold value set to 0 (default). The values represent gradually changing values. Yet, it returned a map with rather large clusters consisting of raster cells that do not have the same values.

Cheers,

Paulo

Hi Paulo,

r.clump currently converts a floating point raster to integer, this could explain the rather large clusters consisting of raster cells that do not have the same values.That is easy to fix, please create a corresponding issue on github as a reminder.

Cheers,

Markus M

On Wed, May 19, 2021 at 6:18 PM Paulo van Breugel <p.vanbreugel@gmail.com> wrote:

Hi devs,

How is r.clump suppose to handle floating rasters? I ran the function on a floating raster, and threshold value set to 0 (default). The values represent gradually changing values. Yet, it returned a map with rather large clusters consisting of raster cells that do not have the same values.

Cheers,

Paulo


grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev