Re: r.clump on floating map

Markus Metz <[email protected]> Fri, 21 May 2021 23:00:20 +0200
Newsgroups gmane.comp.gis.grass.devel
Message-ID <CAG+h=FHa0vp=uf3GQLoWnv=bGO2uqOWyOf6dJ6o5yDuu9y-vOQ@mail.gmail.com>
--===============6114724319371383239==
Content-Type: multipart/alternative; boundary="000000000000abaffa05c2dd598b"

--000000000000abaffa05c2dd598b
Content-Type: text/plain; charset="UTF-8"

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 <[email protected]>
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
> [email protected]
> https://lists.osgeo.org/mailman/listinfo/grass-dev
>

--000000000000abaffa05c2dd598b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi Paulo,</div><div><br></div><div>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 rem=
inder.</div><div><br></div><div>Cheers,</div><div><br></div><div>Markus M</=
div><div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" cl=
ass=3D"gmail_attr">On Wed, May 19, 2021 at 6:18 PM Paulo van Breugel &lt;<a=
 href=3D"mailto:[email protected]">[email protected]</a>&gt; wrot=
e:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"l=
tr"><div>Hi devs,</div><div><br></div><div>How is r.clump suppose to handle=
 floating rasters? I ran the function on a floating raster, and threshold v=
alue set to 0 (default). The values represent gradually changing values. Ye=
t, it returned a map with rather large clusters consisting of raster cells =
that do not have the same values. <br></div><div><br></div><div>Cheers,</di=
v><div><br></div><div>Paulo<br></div><br></div>
_______________________________________________<br>
grass-dev mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">grass-dev@li=
sts.osgeo.org</a><br>
<a href=3D"https://lists.osgeo.org/mailman/listinfo/grass-dev" rel=3D"noref=
errer" target=3D"_blank">https://lists.osgeo.org/mailman/listinfo/grass-dev=
</a><br>
</blockquote></div>

--000000000000abaffa05c2dd598b--

--===============6114724319371383239==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============6114724319371383239==--