[Qgis-user] Annotations over labels
Karl Magnus Jönsson
Karl-Magnus.Jonsson at kristianstad.se
Fri Mar 7 07:46:08 PST 2025
Hi!
One option could be to use a text symbol with data defined text instead of a label. The geometry for the text could be generated from the geometry generator in the style. Works different but could work in certain cases. In that case I suppose the text would be associated to the layer order and not the labels on top of the map.
Best regards
Karl-Magnus Jönsson
Från: QGIS-User <qgis-user-bounces at lists.osgeo.org> För Andreas Neumann via QGIS-User
Skickat: den 5 mars 2025 11:12
Till: Simon Gröchenig <simon at sgroe.at>
Kopia: Qgis User <qgis-user at lists.osgeo.org>
Ämne: Re: [Qgis-user] Annotations over labels
Dear Simon,
I am not 100% sure, but to the best of my knowledge, labels are always rendered on top of everything else.
It would require an architectural change in QGIS in order to allow a change in rendering order of labels.
I agree that in some cases it would be nice being able to render other objects on top of labels.
Sorry that I don't have a better response,
Andreas
On Wed, 5 Mar 2025 at 10:32, Simon Gröchenig via QGIS-User <qgis-user at lists.osgeo.org<mailto:qgis-user at lists.osgeo.org>> wrote:
Hi list,
how can I draw annotations over labels of a vector layer?
Apparently the z-index of labels is independent of the z-index of annotations.
I would like to avoid using the manual "Hide label" action from the label toolbar.
Simon
_____________________
Simon Gröchenig
GIS Support und Training
Treffling 73 - 9871 Seeboden - Österreich
Tel.: +43 699 11223122
E-Mail: simon at sgroe.at<mailto:simon at sgroe.at>
_______________________________________________
QGIS-User mailing list
QGIS-User at lists.osgeo.org<mailto:QGIS-User at lists.osgeo.org>
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
--
--
Andreas Neumann
QGIS.ORG<http://QGIS.ORG> board member (treasurer)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20250307/430119e9/attachment.htm>
More information about the QGIS-User
mailing list