On Sun, Feb 3, 2013 at 9:40 PM, [email protected] <[email protected]> wrote: > Hi Nathan, > > i tired with the name of the field: > > idVar = inFeat[field] > KeyError: 'type' > > field is the name of field (in this case 'type').
Both access by index and by field name should work - if not, the attribute is probably not loaded. How do you get the feature - what is the select() / getFeatures() command? Martin _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
