<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Basically the polylines need to be &quot;dissolved&quot; first.  Is there an existing function to acheive this? </blockquote>
<div><br>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.<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Also, is there an enexisting function to union polygons programaticlly?<br></blockquote><div><br>Certainly, check out QgsGeometry.combine() in the docs.<br><br>Carson<br></div></div><br clear="all"><br>-- <br>Carson Farmer<br>
National Centre for Geocomputation<br>John Hume Building,<br>National University of Ireland, Maynooth,<br>Maynooth,<br>Co. Kildare,<br>Ireland.<br><a href="http://www.carsonfarmer.com">www.carsonfarmer.com</a><br>