Another labelling question. I have shape-points which are shown as circles in QGIS. The bigger the data, the bigger the circle. Now i want to label the points with the data defined properties, so that the label of each point is directly shown on top of the circle. How to do that? I have to move the y-coordinate...

Basically like this?


WHEN "ID"= 10 THEN y-coordinate= +5

WHEN "ID"= 20 THEN y-coordinate= +10

and so on...

ELSE y-coordinate should stay normal


enter image description here


You can label around the point style under label 'Placement'. Check 'Cartographic' and set 'Distance offset from' to 'From symbol bounds'. You can then apply an offset distance and all your labels will be uniform from the point style.

To position directly above the point use the data defined override on the 'Position priority' to 'T'. Hover over the override button to get the other options for label placement.

enter image description here

  • Ah yes, you can indeed do that for labelling point symbols. Best answer! – Victor Dec 8 '16 at 11:18

You can do the following:
rule-based placement
and use the rule:

WHEN "ID"= 10 THEN '0,-5'
WHEN "ID"= 20 THEN '0,-10'
ELSE '0,0'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.