[Qgis-developer] help with splitGeometry

Maxim Dubinin sim at gis-lab.info
Tue Mar 9 14:30:30 EST 2010


MD> the splitGeometry() method was missing /Out/ annotations for the
MD> output lists, so it wasn't working correctly. It has been fixed in
MD> r12992.

MD> The syntax should be now:
MD> (res, newlist, topolist) = geom1.splitGeometry(pnts, False)


Hi Martin,

I've tried your fix on two intersecting lines (two nodes each),
after splitGeometry resulting newlist contains only one object (1 part of the intersected
line), though I think it should contain two.

Maxim



More information about the Qgis-developer mailing list