explication is in the code http://www.qgis.org/api/qgsvectorlayer_8cpp_source.html#l03192
it' important to follow the emitted signal and related listener to know exactly all involved cmponents ciao ginetto On 8 October 2013 10:04, Ing. Pierluigi De Rosa < pierluigi.der...@gfosservices.it> wrote: > Thanks Alessando, > It was what I was looking for. > > My error was I didn't updated fields using: > vectorlayer.updateFields() > > Why it is necessary to call it when a field is added into provider? > > Thanks > Pierluigi > > > Il giorno lun, 07/10/2013 alle 10.51 +0200, Alessandro Pasotti ha > scritto: > > You can try this method: > > > > https://github.com/elpaso/qgis-geocoding/blob/master/GeoCoding.py#L289 > > > > > -- > > > ________________________________________________________________________ > Ing. Pierluigi De Rosa (PhD) > Studio Associato GFOSSERVICES > > Via Tilli 58 - 06127 Perugia (PG) > tel: 075 7825101 / fax: 075 7823038 > cel: 3497558268 > web: www.gfosservices.it > skype: pierluigi.derosa > > -- > > > ________________________________________________________________________ > Ing. Pierluigi De Rosa (PhD) > Studio Associato GFOSSERVICES > > Via Tilli 58 - 06127 Perugia (PG) > tel: 075 7825101 / fax: 075 7823038 > cel: 3497558268 > web: www.gfosservices.it > skype: pierluigi.derosa > > _______________________________________________ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer >
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer