On Tue, Nov 4, 2014 at 10:24 PM, Nyall Dawson <[email protected]> wrote:
> Looking at the definition of QgsGeometry::intersection the docs state
> "Returns a geometry representing the points shared by this geometry
> and other.". I assume this method is designed for intersection of two
> polygons, where someone is after the overlapping area.

You should be able to perform the intersection with different geometry types.
I done a script [0] that does an intersection between line and polygon
and returns a multiLine geometry.

[0] - http://codepad.org/zFXO4XBC

-- 
Salvatore Larosa
linkedIn: http://linkedin.com/in/larosasalvatore
twitter: @lrssvt
skype: s.larosa
IRC: lrssvt on freenode
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to