[QGIS-Developer] $currentfeature VS @current_feature

Alexandre Neto senhor.neto at gmail.com
Wed Jul 8 07:13:52 PDT 2020


Also,

Don't forget that high hierarchy/context @variables can be overwritten
variables defined by the user or lower contexts.

You can't do that with a function.

A quarta, 8/07/2020, 15:01, matteo <matteo.ghetta at gmail.com> escreveu:

> Thanks Andreas and Harrissou for the clarification.
>
> Actually what is confusing me is that the variable @current_feature is
> suggested in bold directly in the Expression Builder within the
> Attribute Forms.
>
> I know that variable depends on the scope (e.g. @symbol_color) but I
> thought that IF a variable is suggested then it should be available in
> that context.
>
> I prepared a super small project
>
> faunalia.eu/~matteo/bug.zip
>
> if you try to add a feature to the point layer you will see that one
> filed is working and the other not.
>
> Cheers and thanks
>
> Matteo
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20200708/7b6fd9c6/attachment-0001.html>


More information about the QGIS-Developer mailing list