<html style="direction: ltr;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-charset-is-forced="true" style="direction: ltr;"
bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 21/06/2019 15:18, Stefan Blumentrath
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:HE1PR0201MB2140D29A86BA33D3A0C6ECEF9EE70@HE1PR0201MB2140.eurprd02.prod.outlook.com">
<pre class="moz-quote-pre" wrap="">Ah, OK. Got that wrong, sorry.
I don`t think holes have an area (but I may be wrong)....
So you might have to add a centroid first?
<a class="moz-txt-link-freetext" href="https://grass.osgeo.org/grass76/manuals/v.centroids.html">https://grass.osgeo.org/grass76/manuals/v.centroids.html</a>
Cheers
Stefan
-----Original Message-----
From: grass-user <a class="moz-txt-link-rfc2396E" href="mailto:grass-user-bounces@lists.osgeo.org"><grass-user-bounces@lists.osgeo.org></a> On Behalf Of Robert Nuske
Sent: fredag 21. juni 2019 13:49
To: grass-user <a class="moz-txt-link-rfc2396E" href="mailto:grass-user@lists.osgeo.org"><grass-user@lists.osgeo.org></a>
Subject: [GRASS-user] Fwd: Re: remove small islands from vector areas
-------- Weitergeleitete Nachricht --------
Betreff: Re: [GRASS-user] remove small islands from vector areas
Datum: Fri, 21 Jun 2019 13:47:52 +0200
Von: Robert Nuske <a class="moz-txt-link-rfc2396E" href="mailto:rsn.mailinglists@gmail.com"><rsn.mailinglists@gmail.com></a>
An: Stefan Blumentrath <a class="moz-txt-link-rfc2396E" href="mailto:Stefan.Blumentrath@nina.no"><Stefan.Blumentrath@nina.no></a>
Hi Stefan,
as far as I understood does rmarea that remove small areas but not islands (holes) within areas. At least i didn't find a way to remove islands with v.clean.</pre>
</blockquote>
<p><br>
</p>
<p>When you say "remove islands" do you mean to "fill" small holes,
and make them part of the surrounding polygon? If so, then this
the procedure works:</p>
<p>First buffer the original polygon by some distance "dist" that is
big enough to cover what you consider "small".</p>
<p>Then buffer again by "-dist".</p>
<p>The small holes get filled on the first buffer, and the original
polygons are restored without those holes with the negative
distance by the second buffer.</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:HE1PR0201MB2140D29A86BA33D3A0C6ECEF9EE70@HE1PR0201MB2140.eurprd02.prod.outlook.com">
<pre class="moz-quote-pre" wrap="">
thanks
robert
Am 21.06.19 um 13:06 schrieb Stefan Blumentrath:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Hi Robert,
Did you have a look at v.clean:
<a class="moz-txt-link-freetext" href="https://grass.osgeo.org/grass77/manuals/v.clean.html">https://grass.osgeo.org/grass77/manuals/v.clean.html</a>
with
tool=rmarea >
Cheers
Stefan
-----Original Message-----
From: grass-user <a class="moz-txt-link-rfc2396E" href="mailto:grass-user-bounces@lists.osgeo.org"><grass-user-bounces@lists.osgeo.org></a> On Behalf Of
Robert Nuske
Sent: fredag 21. juni 2019 12:33
To: grass-user <a class="moz-txt-link-rfc2396E" href="mailto:grass-user@lists.osgeo.org"><grass-user@lists.osgeo.org></a>
Subject: [GRASS-user] remove small islands from vector areas
Dear Listers,
sorry, it's me again.
I want to remove islands smaller than a certain threshold from my vector map or if that is not possible all islands.
I found some trick on an old manual page of v.extract. But this does not work anymore. Is there a new trick?
thnaks
robert
_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a>
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a>
_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a></pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918</pre>
</body>
</html>