[Qgis-developer] Create Multiple Polygons from Polygon and Polylines

Carson Farmer carson.farmer at gmail.com
Tue Sep 15 05:48:15 EDT 2009


>
> Basically the polylines need to be "dissolved" first.  Is there an existing
> function to acheive this?


You will likely need to do this yourself by finding segments that share a
node, and creating a single line from all the associated QgsPoints.


> Also, is there an enexisting function to union polygons programaticlly?
>

Certainly, check out QgsGeometry.combine() in the docs.

Carson


-- 
Carson Farmer
National Centre for Geocomputation
John Hume Building,
National University of Ireland, Maynooth,
Maynooth,
Co. Kildare,
Ireland.
www.carsonfarmer.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20090915/879fe0a5/attachment-0001.html


More information about the Qgis-developer mailing list