<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi,<div><br></div><div>splitLinearGeometry is private, you won’t have access to it.<div>You shall use splitGeometry which is public</div><div><a href="http://qgis.org/api/classQgsGeometry.html#a4c03fb2b37ce94bcf2295ed7896f665b">http://qgis.org/api/classQgsGeometry.html#a4c03fb2b37ce94bcf2295ed7896f665b</a></div><div><br></div><div>Cheers,</div><div><br></div><div>Denis</div><div><br></div><div><br><div><div>On 11 Jun 2014, at 12:42, mattwalsh <<a href="mailto:matthew.walsh@thinkwhere.com">matthew.walsh@thinkwhere.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello,<br><br>Using pyqgis I would like to split a line feature where it intersects with<br>another line. I have tried using the splitLinearGeometry function with no<br>success. <br><br>new_f = geom_feat.splitLinearGeometry([geom_feat_sp])<br>AttributeError: 'QgsGeometry' object has no attribute 'splitLinearGeometry'<br><br>My end goal is to split a number of selected line features against each<br>other so that all the selected lines are split at all intersections.<br><br>Could anyone point me in the right direction?<br><br>thanks<br>Matt<br><br><br><br><br>--<br>View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Split-lines-at-intersection-tp5145241.html">http://osgeo-org.1560.x6.nabble.com/Split-lines-at-intersection-tp5145241.html</a><br>Sent from the Quantum GIS - Developer mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>_______________________________________________<br>Qgis-developer mailing list<br><a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/qgis-developer<br></blockquote></div><br></div></div></body></html>