[GRASS-user] Re: [GRASSLIST:1175] add centroids automatically to area boundaries

M S mseibel at gmail.com
Thu Aug 10 10:01:11 EDT 2006


isn't v.clean using input lines, output polygons, applicable here? should
take lines and build for polygons and add centroids?  or am i missing
something...

On 8/10/06, Moritz Lennert <mlennert at club.worldonline.be> wrote:
>
> On Thu, August 10, 2006 15:33, Ulrich Leopold wrote:
> >>> I have a patched vector map with lines. These lines should be
> converted
> >>> into area boundaries in order to receive areas. Once boundaries are
> >>> retrieved I still need  to attach centroids to them in order to
> overlay
> >>> with *another* vector map which already consists of boundaries and
> >>> areas
> >>> including centroids. How can I achieve this?
> >>>
> >>> I tried to convert all lines into boundaries with
> >>> v.type type=line,boundary
> >>>
> >>> It seems to work as there are only boundaries left. Next step would be
> >>> to add automatically centroids to these boundaries. How can this be
> >>> done?
> >>
> >> Hi,
> >>
> >> see v.category for this. I have added a micro FAQ for this:
> >> http://grass.gdf-hannover.de/wiki/Convert_vector_types
> >
> > I tried that already but it did not work. It even changes the polygons
> > back to
> > single lines. But good that you opened a micro FAQ to add the solution
> > later.
> > Any other ideas?
>
> Are you sure your lines are closed, thus defining real areas ? You can
> check with v.digit.
>
> Moritz
>
> _______________________________________________
> grassuser mailing list
> grassuser at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20060810/c2a9c315/attachment.html


More information about the grass-user mailing list