[Qgis-user] centroid

John C. Tull john.tull at wildnevada.org
Mon Feb 16 18:24:36 PST 2009


I think this is the solution you wanted. You were not clear about  
doing this with the GRASS Tools plugin in qgis, but your followup  
question on watershed creation seems to indicate that is your desire.

To aid in getting useful recommendations, please be more specific in  
your requests, including the operating system, version of qgis, and  
anything else that is pertinent, like using GRASS Tools.

Regards,
John

On Feb 16, 2009, at 2:47 PM, G. Allegri wrote:

>> 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.)
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user




More information about the Qgis-user mailing list