[GRASSLIST:4832] Re: Generating centroids
Radim Blazek
blazek at itc.it
Mon Nov 15 03:25:49 EST 2004
David Mahoney wrote:
> I seem to have missed something out of the grass57 tutorials. I have
> imported some an arc line coverage, converted it to boundaries, and
> built it as polygons. However, I can't figure out how to assign the
> attribute from the boundaries to the finished polygons. This should be
> possible, as the input vectors were doubled along common boundaries (not
> topological). What I don't want to have to do is to use v.extract to
> extract each category to a new map, assign the attributes to that map,
> then patch them all back together. Is there some way to automatically
> generate centroids?
>
> David Mahoney
Centroids are generated by v.in.ogr for polygons. You could convert
your lines by a script to GML with polygons for example.
Radim
More information about the grass-user
mailing list