[QGIS-Developer] Ellipse marker calculated offset

Chris Crook ccrook at linz.govt.nz
Wed Jan 2 11:53:27 PST 2019

Hi and Happy New Year

I am trying to define a symbology using an ellipse marker with a calculated offset.  The ellipse marker contains an offset field defined by x and y values.  These can be set using an field calculator, which looks like it should evaluate to an array with x and y offsets.  However this doesn't seem to be working.  I've tried using an array expression, array(10.0,0.0), and a string '[10.0,0.0]'.  But neither seem to work - the ellipse marker is not offset.  If I enter x an y values manually as 10.0 and 0.0 the ellipse is offset.

I have the same issue using a field value for the offset of a label - entering this as an expression with array(10.0,0.0) doesn't create an offset.

Does anyone know how to enter these values as an expression?


QGIS version info

QGIS version
QGIS code revision
Compiled against Qt
Running against Qt
Compiled against GDAL/OGR
Running against GDAL/OGR
Compiled against GEOS
Running against GEOS
3.6.2-CAPI-1.10.2 4d2925d6
PostgreSQL Client Version
10.3 (Ubuntu 10.3-1)
SpatiaLite Version
QWT Version
QScintilla2 Version
PROJ.4 Version


This message contains information, which may be in confidence and may be subject to legal privilege. If you are not the intended recipient, you must not peruse, use, disseminate, distribute or copy this message. If you have received this message in error, please notify us immediately (Phone 0800 665 463 or info at linz.govt.nz) and destroy the original message. LINZ accepts no responsibility for changes to this email, or for any attachments, after its transmission from LINZ. Thank You.

More information about the QGIS-Developer mailing list