[GRASS-user] Retyping lines to boundaries

Benjamin Ducke benjamin.ducke at ufg.uni-kiel.de
Wed Jul 4 06:57:22 EDT 2007


You can use v.type to convert from one primitive to another.
I guess it won't hurt to run v.build on the result to make
sure that all map objects have been converted to closed polygons.

Ben

Roy Sanderson wrote:
> Hello
> 
> I have a line map that I would like to convert into boundaries, so that
> centroids can then be placed within each closed boundary.  However,
> v.centroids will not operate on the map, because of course the map only
> contains lines, not boundaries.  Is there a way of retyping or recoding
> lines to boundaries, so that the centroids can be added?  (GRASS 6.2.1)
> 
> Many thanks in advance
> Roy
> 
> _______________________________________________
> grassuser mailing list
> grassuser at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser
> 
> 

-- 
Benjamin Ducke, M.A.
Archäoinformatik
(Archaeoinformation Science)
Institut für Ur- und Frühgeschichte
(Inst. of Prehistoric and Historic Archaeology)
Christian-Albrechts-Universität zu Kiel
Johanna-Mestorf-Straße 2-6
D 24098 Kiel
Germany

Tel.: ++49 (0)431 880-3378 / -3379
Fax : ++49 (0)431 880-7300
www.uni-kiel.de/ufg




More information about the grass-user mailing list