[Qgis-developer] Crash using QgsMultiPointV2

Anita Graser anitagraser at gmx.at
Wed Nov 2 05:53:40 PDT 2016


Hi,

I'm using 2.18 on Ubuntu and the following lines segfault:
​​
multi = QgsMultiPointV2()
multi.addGeometry(QgsPointV2(0,1))
multi.addGeometry(QgsPointV2(2,2))
print multi.asWkt()

Can you confirm? Or is it already fixed and I should update?

What's the recommended way to collect points and afterwards compute
bounding box area?

Thank you and best wishes,
Anita
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20161102/320dab0c/attachment.html>


More information about the Qgis-developer mailing list