[QGIS-Developer] How do I define a marker offset with an expression.

Nyall Dawson nyall.dawson at gmail.com
Thu Sep 5 19:45:55 PDT 2019


On Fri, 6 Sep 2019 at 12:25, Chris Crook <ccrook at linz.govt.nz> wrote:
>
> Hi All
>
> I am trying to offset a marker (ellipse or simple marker).  I can easily do this by entering values into the Offset x and y fields (eg 20.0, 30.0 mm).
>
> However I haven't figured out how to enter this as an expression.  I have entered an expression as "array(20.0,30.0)" but the symbol remains at its unadjusted offset.

The array format is supported, but only from 3.10. For earlier
versions, use a string like '3,4'

Nyall


More information about the QGIS-Developer mailing list