[Qgis-developer] PyQGIS script - asPoint() always returning "(0, 0)"

Adrien ANDRÉ adr.andre at laposte.net
Fri Apr 17 04:30:05 PDT 2015


Thank you!

i used MultipartToSingleparts source to improve my script
(https://github.com/qgis/QGIS/blob/master/python/plugins/processing/algs/qgis/MultipartToSingleparts.py).


Adrien


Le 15/04/2015 13:39, qgis-developer-request at lists.osgeo.org a écrit :
> I have seen this error when the table has geometries of multipoints and not
> points. If this is the case try to convert your multipoint layer to points.


More information about the Qgis-developer mailing list