[Qgis-developer] QgsFeatureRequest.setSubestOfAttributes(etc.) return all the fields
giohappy at gmail.com
Wed Dec 4 09:57:13 PST 2013
Probably I'm not using it correctly.
I want to retrieve the features within a bbox and obtain one field only.
Im' doing the following:
for feat in mylayer.geFeatures(request):
for fields in feat.fields():
and I get all the field names printed while I thought I would get only 'id'.
What am I doing wrong?
GEO+ geomatica in Italia http://bit.ly/GEOplus
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qgis-developer