Hi Andreas,

don't we have rule-based labelling?
CASE WHEN <condition> THEN 'bla' ELSE 'blub' END

Problem is that you may have to rewrite all the rules that you already have written in the rule-based style.

Bernhard

Am 30.04.2015 10:21, schrieb Andreas Neumann:
Hi Otto,

I don't think that this is possible. As far as I know the labeling is
totally disconnected from the symbology. Only global filters on the
whole layer (the filter in the general tab in the layer properties) is
honored by both labeling and the rest of the symbology. The rest is
totally disconnected.

I can see value in what you want, but I doubt it is easily possible.

It would also help if we would have rule based labeling, so we could at
least apply similar rules to the labels as we apply to the symbology of
features.

Larry probably knows more about that.

Andreas

On 30.04.2015 09:44, Otto Dassau wrote:
Hi,

is it possible to show labels only, if the objects are activated/visible?

I use the rule based renderer with two nested rules, both categorized
rendering, like:

Cat 1
#####

Road 1
          Cat 2
          ######

       |_ Lukas
       |_ Frank
       |_ Markus
       |_ Georg

Road 2

       |_ John
       |_ Leo
       |_ Herbert


If I deactivate labeling for some values in the first categorized
rendering (Cat 1), objects and labels are invisible. But if I deactivate
labeling for some values in the second categorized rendering (Cat 2),
objects are invisible but labels are still shown.

Is there a way how to solve this in the rule based renderer?

Thanks a lot
Otto



__________ Information from ESET Mail Security, version of virus signature 
database 11555 (20150430) __________

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


_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to