Hi everybody,
problem solved (credits go to Benjamin).
I had a problem in my style: being aware of the "no symbols" layer style I was looking for something like "no symbols" on the higher level rules used for sorting features. Not finding this I used an invisible symbol (as I did in QGIS 2.14 and before). Thus invisibly rendering my features and having them labeled. The solution is to untick the symbol in the rule.

Bernhard

Am 14.02.2018 um 11:07 schrieb fuenfer-koenigstein.benjam...@swm.de:
Hi Bernhard,

I can't reproduce this behavior (point layer, PostGIS data source, QGIS 2.18.14 
on Win 7). Are you sure that the layer isn't duplicated in the layer tree? 
Maybe you can try with only this layer in a new QGIS project. If the problems 
still occur feel free to send me your data.

Regards
Benjamin

-----Ursprüngliche Nachricht-----
Von: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] Im Auftrag von 
Bernhard Ströbl
Gesendet: Dienstag, 13. Februar 2018 15:33
An: Qgis-user@lists.osgeo.org
Betreff: [Qgis-user] Labels visible for invisible features

Hi all,

I have a point layer with a rule-based style based on some of the layer's 
attributes. The points are labelled using a label field.
Now, when unticking a rule in the layer panel (i.e. making the features falling 
under this rule invisible) their labels are still rendered.
Using a categorized renderer the labels are not rendered if the category is 
unticked.
Does anybody have a workaround for this?
I am using QGIS 2.18.16

Bernhard




__________ Information from ESET Mail Security, version of virus signature 
database 16908 (20180215) __________

The message was checked by ESET Mail Security.
http://www.eset.com


_______________________________________________
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

Reply via email to