On 5 November 2014 08:55, Salvatore Larosa <[email protected]> wrote:
> 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.
>

You're right - thanks! I'll send through a fix making the docs a bit
clearer for this method.

Nyall
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to