<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>Hello Folks, back again!<br>
</p>
<p>I'm trying to have labels display only when that "layer" is
turned on (visible). BUT my layers are actually rule based
symbology and apply only to selected records in the layer (as per
the rules), (sub-layers?).</p>
Under the Rendering tab for labels I find:
<p><i><span style="color: rgb(64, 64, 64); font-family: Lato,
proxima-nova, "Helvetica Neue", Arial, sans-serif;
font-size: 16px; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: 400; letter-spacing:
normal; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(252,
252, 252); text-decoration-style: initial;
text-decoration-color: initial; display: inline !important;
float: none;">With data-defined expressions in<span> </span></span></i><i><span
class="guilabel" style="box-sizing: border-box; border: 1px
solid rgb(127, 187, 227); background: rgb(127, 187, 227) none
repeat scroll 0% 0%; font-size: 12.8px; font-weight: 700;
border-radius: 4px; padding: 2.4px 6px; margin: auto 2px;
color: rgb(64, 64, 64); font-family: Lato, proxima-nova,
"Helvetica Neue", Arial, sans-serif;
font-variant-ligatures: normal; font-variant-caps: normal;
letter-spacing: normal; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px; text-decoration-style:
initial; text-decoration-color: initial;">Show label</span></i><i><span
style="color: rgb(64, 64, 64); font-family: Lato,
proxima-nova, "Helvetica Neue", Arial, sans-serif;
font-size: 16px; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: 400; letter-spacing:
normal; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(252,
252, 252); text-decoration-style: initial;
text-decoration-color: initial; display: inline !important;
float: none;"><span> </span>and<span> </span></span></i><i><span
class="guilabel" style="box-sizing: border-box; border: 1px
solid rgb(127, 187, 227); background: rgb(127, 187, 227) none
repeat scroll 0% 0%; font-size: 12.8px; font-weight: 700;
border-radius: 4px; padding: 2.4px 6px; margin: auto 2px;
color: rgb(64, 64, 64); font-family: Lato, proxima-nova,
"Helvetica Neue", Arial, sans-serif;
font-variant-ligatures: normal; font-variant-caps: normal;
letter-spacing: normal; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px; text-decoration-style:
initial; text-decoration-color: initial;">Always Show</span></i><i><span
style="color: rgb(64, 64, 64); font-family: Lato,
proxima-nova, "Helvetica Neue", Arial, sans-serif;
font-size: 16px; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: 400; letter-spacing:
normal; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(252,
252, 252); text-decoration-style: initial;
text-decoration-color: initial; display: inline !important;
float: none;"><span> </span>you can fine tune which labels
should be rendered.</span></i></p>
<p>but there is no explanation of how to implement this feature.</p>
<p>I would expect that something like this may be in the right
direction: <br>
</p>
<p><i>if (is_layer_visible( @layer_name ) = 0, ("Tree_Tag" || ' -
' || ' (' || "More" || ') ') , '*')</i><br>
</p>
<p>Any thoughts on how to selectively make labels visible would be
great.<br>
</p>
<pre class="moz-signature" cols="72">-----
Cheers, Spring</pre>
<div class="moz-cite-prefix"><br>
</div>
<br>
<blockquote type="cite"
cite="mid:099F21CA-BD13-4BC6-A9FE-32F823A760B3@gmail.com">
</blockquote>
</body>
</html>