[Qgis-user] centroid
    G. Allegri 
    giohappy at gmail.com
       
    Mon Feb 16 14:47:14 PST 2009
    
    
  
>  is there any autocomplete
> for a line to create polygons from lines to adjacent polygon.
In GRASS you can use:
# v.type in=input_lines out=output_boundary type=line,boundary
and then add centroids to the created boundaries with something like
(I'm going with memory, you should check the command syntax):
# v.centroids input=output_boundary output=output_polygon option=add
Obviously you have to check the topology results at then end. It's up
to you to have a consitent starting line vector (closed arcs, islands,
etc.), otherwise you will have to correct it with the usual commands
(v.clean, vlbuild, etc.)
    
    
More information about the Qgis-user
mailing list