Hi, splitLinearGeometry is private, you won’t have access to it. You shall use splitGeometry which is public http://qgis.org/api/classQgsGeometry.html#a4c03fb2b37ce94bcf2295ed7896f665b
Cheers, Denis On 11 Jun 2014, at 12:42, mattwalsh <matthew.wa...@thinkwhere.com> wrote: > Hello, > > Using pyqgis I would like to split a line feature where it intersects with > another line. I have tried using the splitLinearGeometry function with no > success. > > new_f = geom_feat.splitLinearGeometry([geom_feat_sp]) > AttributeError: 'QgsGeometry' object has no attribute 'splitLinearGeometry' > > My end goal is to split a number of selected line features against each > other so that all the selected lines are split at all intersections. > > Could anyone point me in the right direction? > > thanks > Matt > > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/Split-lines-at-intersection-tp5145241.html > Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. > _______________________________________________ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer