Hi,

I am using custom expressions functions for a plugin.
Something like this :

class MyFunction( QgsExpression.Function ):
    def func( self, values, feature, parent ):
        feature.geometry()
        ...

The problem is that "feature" is now a QgsExpressionContext(), not a
QgsFeature anymore.
I cannot find how to access the feature from the context. Did I miss
something ?

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

Reply via email to