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-boun...@lists.osgeo.org> För Andreas Neumann via QGIS-User Skickat: den 5 mars 2025 11:12 Till: Simon Gröchenig <si...@sgroe.at> Kopia: Qgis User <qgis-user@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@lists.osgeo.org<mailto:qgis-user@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: si...@sgroe.at<mailto:si...@sgroe.at> _______________________________________________ QGIS-User mailing list QGIS-User@lists.osgeo.org<mailto:QGIS-User@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)
_______________________________________________ QGIS-User mailing list QGIS-User@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user