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.
Jakob ----- Jakob Lanstorp -- View this message in context: http://osgeo-org.1560.x6.nabble.com/PyQGIS-script-asPoint-always-returning-0-0-tp5201349p5201420.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
