[GRASS5] multiple boundary to area tranformation question

A colleague has imported a dxf map of many polygons. It seems as if the dxf import driver imports these as vector lines or area boundaries only. Is there a way to transform many closed boundaries to areas without going into v.digit and assigning a centerpoint and label to each boundary individually?

Michael Barton
______________________________
Michael Barton, Professor & Curator
Department of Anthropology
Arizona State University
Tempe, AZ 85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671

On Mar 1, 2004, at 12:52 PM, Michael Barton wrote:

A colleague has imported a dxf map of many polygons. It seems as if the dxf import driver imports these as vector lines or area boundaries only. Is there a way to transform many closed boundaries to areas without going into v.digit and assigning a centerpoint and label to each boundary individually?

Michael,

Try this:

v.type input=old_map_name output=new_map_name type=boundary,area

to change the type from boundary to area,

C.

--
Christopher J. Fonnesbeck ( c h r i s @ f o n n e s b e c k . o r g )
Georgia Cooperative Fish & Wildlife Research Unit, University of Georgia

Christopher Fonnesbeck wrote:

On Mar 1, 2004, at 12:52 PM, Michael Barton wrote:

> A colleague has imported a dxf map of many polygons. It seems as if
> the dxf import driver imports these as vector lines or area boundaries
> only. Is there a way to transform many closed boundaries to areas
> without going into v.digit and assigning a centerpoint and label to
> each boundary individually?
>

Michael,

Try this:

v.type input=old_map_name output=new_map_name type=boundary,area

to change the type from boundary to area,

or in GRASS version <5.7, v.line2area might work. (I have used it with
some success on v.in.dxf input before). But as Christopher said you
might get further by converting the map into 5.7 vector format and using
some of the new tools there.

Paul