[Qgis-developer] attributeMap()

francescoboccacci at libero.it francescoboccacci at libero.it
Sat Feb 2 07:24:29 PST 2013


Hi all,i have some problem to adapt my old code to new API.i have below piece of code:
index = vproviderA.fieldNameIndex(field)
atMap = inFeat.attributeMap()idVar = atMap[ index ]
to get a value of a this features in a field.Now is it no possbile because QgsFeature hasn't attributeMap().Ca you help me?
Thanks
Francesco
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130202/ad8840d8/attachment.html>


More information about the Qgis-developer mailing list