Hi all,
I have a small problem in my quickfinder plugin (finds a feature by its id).
For postgis layers, I have no problem to find a feature using its id.
But, I can't achieve this with shapefiles for example.
I understand this as the IDs of shapefiles are store in strings.
Apparently, in the SIP of QgsFeature, QgsFeatureId is defined as a qint64.
Also, in the SIP of QgsFeatureRequest, the setFilterFid method takes
qint64 as argument.
So my question, is there a way to look for a feature by its ID in python
if it's not an int???
And if not, do you consider it easily changeable??? How?
Thanks a lot!
Denis
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer