[Qgis-user] Local variables in field calculator

Nyall Dawson nyall.dawson at gmail.com
Mon May 16 14:08:01 PDT 2016


On 17 May 2016 at 00:02, Nelson A. de Oliveira <naoliv at gmail.com> wrote:
> Is it possible to use local variables in the field calculator?
>
> For example, suppose I need to calculate the same maximum value with
> "max(a lot of parameters)" in multiple places.
> To avoid the same repeated expression (and also to avoid a possible
> mistake in one of them), is there a way to create a local variable
> with this result and then use it anywhere else in the same field
> calculator code?

No - that's not possible yet.

Nyall


>
> Thank you!
>
> Best regards,
> Nelson
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user



More information about the Qgis-user mailing list