[Qgis-developer] addAttribute to memory layer
Ing. Pierluigi De Rosa
pierluigi.derosa at gfosservices.it
Tue Oct 8 01:04:06 PDT 2013
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
More information about the Qgis-developer
mailing list