[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?

Thanks
Chris

QGIS version info


QGIS version
3.4.3-Madeira
QGIS code revision
2f64a3c
Compiled against Qt
5.9.5
Running against Qt
5.9.5
Compiled against GDAL/OGR
2.2.3
Running against GDAL/OGR
2.2.3
Compiled against GEOS
3.6.2-CAPI-1.10.2
Running against GEOS
3.6.2-CAPI-1.10.2 4d2925d6
PostgreSQL Client Version
10.3 (Ubuntu 10.3-1)
SpatiaLite Version
4.3.0a
QWT Version
6.1.3
QScintilla2 Version
2.10.2
PROJ.4 Version
493




________________________________

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