2013/10/7 Ing. Pierluigi De Rosa <pierluigi.der...@gfosservices.it> > ** > Dear All, > I'm converting a plugin with new API but I still doen't figure out how to > add attribute to feature. > I know it's a stupid question but i think the cookbook is till not updated? > http://qgis.org/it/docs/pyqgis_developer_cookbook/vector.html#add-features >
You can try this method: https://github.com/elpaso/qgis-geocoding/blob/master/GeoCoding.py#L289 -- Alessandro Pasotti w3: www.itopen.it
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer