[Qgis-user] can't apply mask on labels

Huesmann, Michaela michaela.huesmann at Stadt-Steinfurt.de
Wed Mar 6 23:36:16 PST 2024


Hello all,

I always use the funktion „Tampon“ (German „Puffer“) instead of „Masque“ (German „Maske“)  because I still do not understand how to configurate a mask.
Also I wonder what the difference in symbology and use is. Maybe someon can explain that to me and the group?

With the Tampon/Buffer/Puffer I do not need to duplicate the Layer.

Puffer

[cid:image002.jpg at 01DA706A.84793070]


Maske

Duplication of the layer and mask for the duplicate with label does not work in my test. I tried different choices in the options.

[cid:image001.png at 01DA7068.AB3DBA70]

[cid:image004.jpg at 01DA706A.84793070]

[cid:image006.jpg at 01DA706A.84793070]



[Kreisstadt Steinfurt]<http://www.steinfurt.de>

 - 48565 Steinfurt
www.steinfurt.de<http://www.steinfurt.de>

Mit freundlichen Grüßen
im Auftrag
Michaela Huesmann
Geodaten
Fachdienst Tiefbau

Tel.: +49 2552 925 219
Fax:
E-Mail: michaela.huesmann at Stadt-Steinfurt.de<mailto:michaela.huesmann at Stadt-Steinfurt.de>

Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken.

Von: QGIS-User <qgis-user-bounces at lists.osgeo.org> Im Auftrag von Andreas Neumann via QGIS-User
Gesendet: Mittwoch, 6. März 2024 21:29
An: Émilie Berthiaume <eberthiaume at csfoy.ca>
Cc: qgis-user at lists.osgeo.org
Betreff: Re: [Qgis-user] can't apply mask on labels

Hi Emilie,

I believe that currently a limitation that a layer cannot mask itself.

For this to work, you'd have to duplicate the layer - once for the lines and once for the labels - then the mask should work. On the label layer you can disable the drawing of the lines and of course on the line layer you only apply the mask from the other layer, but don't enable any labels.

Not sure if - or how soon this limitation can be fixed.

Hope this helps,
Andreas

On Wed, 6 Mar 2024 at 21:00, Émilie Berthiaume via QGIS-User <qgis-user at lists.osgeo.org<mailto:qgis-user at lists.osgeo.org>> wrote:
Hi,

I’m trying to apply a mask on the labels of my contour lines layer in a topographic map project.  I have activated the mask in the labels tab :

[cid:image016.jpg at 01DA706A.84793070]

And then I activated the symbol I wanted to hide in the mask tab :


[cid:image017.jpg at 01DA706A.84793070]

But it doesn’t seem to work.  There is still a line underneath my labels :

[cid:image018.jpg at 01DA706A.84793070]

Can anyone tell me what I am doing wrong?  Thank you,

Émilie Berthiaume
Enseignante
Département de biologie et Techniques de bioécologie
[cid:image015.jpg at 01DA7068.AB3DBA70]

Ce message est confidentiel et est à l'usage exclusif du destinataire nommé ci-dessus. Si vous recevez ce message par erreur, sachez qu'il est interdit de le diffuser, de le distribuer, d'en dévoiler le contenu ou de le reproduire. Veuillez informer immédiatement l'expéditeur par courrier électronique et détruire l'original de ce message ainsi que toute copie.

_______________________________________________
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/20240307/22b35613/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 14168 bytes
Desc: image001.png
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240307/22b35613/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image015.jpg
Type: image/jpeg
Size: 2643 bytes
Desc: image015.jpg
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240307/22b35613/attachment-0007.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 39419 bytes
Desc: image002.jpg
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240307/22b35613/attachment-0008.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 36007 bytes
Desc: image004.jpg
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240307/22b35613/attachment-0009.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.jpg
Type: image/jpeg
Size: 25153 bytes
Desc: image006.jpg
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240307/22b35613/attachment-0010.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image016.jpg
Type: image/jpeg
Size: 24388 bytes
Desc: image016.jpg
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240307/22b35613/attachment-0011.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image017.jpg
Type: image/jpeg
Size: 19030 bytes
Desc: image017.jpg
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240307/22b35613/attachment-0012.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image018.jpg
Type: image/jpeg
Size: 1994 bytes
Desc: image018.jpg
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240307/22b35613/attachment-0013.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imageb68d91.JPG
Type: image/jpeg
Size: 10418 bytes
Desc: imageb68d91.JPG
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240307/22b35613/attachment-0001.jpe>


More information about the QGIS-User mailing list