<div dir="ltr">2013/10/7 Ing. Pierluigi De Rosa <span dir="ltr"><<a href="mailto:pierluigi.derosa@gfosservices.it" target="_blank">pierluigi.derosa@gfosservices.it</a>></span><br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><u></u>
<div>
Dear All,<br>
I'm converting a plugin with new API but I still doen't figure out how to add attribute to feature.<br>
I know it's a stupid question but i think the cookbook is till not updated?<br>
<a href="http://qgis.org/it/docs/pyqgis_developer_cookbook/vector.html#add-features" target="_blank">http://qgis.org/it/docs/pyqgis_developer_cookbook/vector.html#add-features</a></div></blockquote><div><br></div><div><br>
</div><div>You can try this method:</div><div><br></div><div> <a href="https://github.com/elpaso/qgis-geocoding/blob/master/GeoCoding.py#L289">https://github.com/elpaso/qgis-geocoding/blob/master/GeoCoding.py#L289</a></div>
<div><br></div><div><br></div></div><div><br></div>-- <br>Alessandro Pasotti<br>w3: <a href="http://www.itopen.it">www.itopen.it</a>
</div></div>