[GRASS5] multiple boundary to area tranformation question

Paul Kelly paul-grass at stjohnspoint.co.uk
Mon Mar 1 15:44:40 EST 2004


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




More information about the grass-dev mailing list