[GRASS5] Re: [5.7] remove islands and U-dangles?

Radim Blazek blazek at itc.it
Tue May 18 10:07:22 EDT 2004


On Wednesday 12 May 2004 11:51, Hamish wrote:
> The holes/islands/areas-without-centroids are (real) islands in rivers.
> I removed the rivers with 'v.extract -d list=1-100000', but the inner
> areas remain as artifacts. (as from original shape file)
>
> What I need to do is remove those areas from the file altogether.
>
> guesses at solutions:
> . If there (is?) was a tool to add centroids to all areas/voids, I could
> run 'v.extract -d' on it and be done?

Yes, islands are probably without category, assign a category (new centroid)
also to islands before v.extract: v.category type=area

> For more headaches, there is at least one spot with an island in a lake
> on an larger island in a river.

Should not change anything.

Radim




More information about the grass-dev mailing list