[Qgis-developer] Problem with my flowTrace plugin using featureAtId
Ed Boesenberg
boesiii at yahoo.com
Wed Feb 12 10:23:01 PST 2014
Hello Everyone,
I am trying to fix my plugin to work with Qgis 2.0 but I am running into a
snag because I struggle with Python and OOP. When I run my code I get an
error, AttributeError: 'QgsVectorDataProvider' object has no attribute
'featureAtId', for this line of code:
provider.featureAtId(selection_list[0], feat).
I have reviewed http://www.qgis.org/api/classQgsVectorDataProvider.html and
http://www.qgis.org/en/docs/pyqgis_developer_cookbook/vector.html
How should the above code be modified?
Thanks,
Ed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140212/1e3bfe25/attachment.html>
More information about the Qgis-developer
mailing list