Hi,

I tried to call changeGeometryValues from a plugin without any success. I tried with a dictionnary, a list and a set.

changeGeometryValues is expecting a QgsGeometryMap. As I undestrood, there is no equivalent for QMap in python, and I should use a dict...but I get this error: TypeError: QgsVectorDataProvider.changeGeometryValues(): argument 1 has unexpected type 'dict'

I can use the QgsVectorLayer.changeGeometry() but I have to startEditing and commitChanges, and I also think it might be slower.

Should I post a bug in the tracker or did I do something wrong?

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

Reply via email to