[Qgis-developer] Spatial operators for style rules via QGIS Expression
rldhont at gmail.com
Mon Nov 12 09:41:54 PST 2012
I made the update. QgsGeometry object is directly stored.
I also updated the list of NodeFunction :
* and other geometruc method
I also add test.
Le 12/11/2012 10:39, Martin Dobias a écrit :
> Hi Rene-Luc
> On Wed, Nov 7, 2012 at 9:42 AM, rldhont <rldhont at gmail.com
> <mailto:rldhont at gmail.com>> wrote:
> Hi all,
> As Martin Dobias asked me, I updated my code and implemented
> Spatial Operator in QgsExpression as NodeFunction.
> You can review the code here :
> Thanks for the update. I went through the code and things look good. I
> have only one concern: QgsGeometry instances stored in QVariant do not
> seem to be released... When "$geometry" is used, then it's returning
> the instance from the feature (which should not be deleted), but
> temporary geometries constructed from wkt/gml must be deleted.
> Maybe we should store directly QgsGeometry object instead of just a
> pointer inside?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qgis-developer