[Qgis-developer] Intersection of line and polygon

Nyall Dawson nyall.dawson at gmail.com
Tue Nov 4 11:36:21 PST 2014


Hi all,

Can someone give me a pointer to the best way to implement an intersection
between a line and a rectangle using QgsGeometry? The line may curve out of
the rectangle and then back in multiple times, so ideally I want to get a
collection of each part of the line which is within the rectangle.

Nyall
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20141105/6a7ae7dc/attachment.html>


More information about the Qgis-developer mailing list