[GRASS-user] filling holes in polygons

I have a vector polygon layer with holes and I need to fill the holes. It is a complex boundary with hundreds of vertices so I would rather not do it by manually deleting the interior vertices. Is there any tool in GRASS that could help with this task?

Tara

--
Tara Athan
Principal, Alternatives to Invasive Species
tara_athan@alt2is.com
707-485-1198
PO Box 415
Redwood Valley, CA 95470

Hi,

2007/10/20, Tara Athan <tara_athan@alt2is.com>:

I have a vector polygon layer with holes and I need to fill the holes.
It is a complex boundary with hundreds of vertices so I would rather not
do it by manually deleting the interior vertices. Is there any tool in
GRASS that could help with this task?

don't know, but it would be easy to add such kind of option to v.edit
(6.3cvs). E.g.

v.edit map=mapa tool=delete query=holes [thresh=min_area] [coord,box,...]

Let me know if it make sense...

Martin

Tara

--
Tara Athan
Principal, Alternatives to Invasive Species
tara_athan@alt2is.com
707-485-1198
PO Box 415
Redwood Valley, CA 95470

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

--
Martin Landa <landa.martin@gmail.com> * http://gama.fsv.cvut.cz/~landa *

Hi,

I think "v.clean" could do this work

Michele.

On Saturday 20 October 2007 08:21, Tara Athan wrote:

I have a vector polygon layer with holes and I need to fill the holes.
It is a complex boundary with hundreds of vertices so I would rather not
do it by manually deleting the interior vertices. Is there any tool in
GRASS that could help with this task?

Tara

Tara Athan wrote:

> I have a vector polygon layer with holes and I need to fill the holes.
> It is a complex boundary with hundreds of vertices so I would rather not
> do it by manually deleting the interior vertices. Is there any tool in
> GRASS that could help with this task?

Michele wrote:

I think "v.clean" could do this work

(v.clean tool=remove small areas, becareful you don't remove small islands too)

another way is to make sure the holes have centroids of the same value as the
areas around them (v.centroids + v.distance), then use v.dissolve.

or give the boundary a category number with v.category, then extract just it
with v.extract and add a new centroid with v.centroids.

Hamish

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com