Hi Nathan,i tired with the name of the field:

p, li { white-space: pre-wrap; field    idVar = inFeat[field]
KeyError: 'type'

field is the name of field (in this case 'type').What am i wrong?Thanks
Francesco






----Messaggio originale----

Da: [email protected]

Data: 03/02/2013 1.20

A: "[email protected]"<[email protected]>

Cc: "Martin Dobias"<[email protected]>, 
"[email protected]"<[email protected]>

Ogg: Re: [Qgis-developer] R: Re: attributeMap()



You need to pass the name of the column not the the index:
idVar = inFeat["somefeildname"]



- Nathan




 
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to