<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Oh, thanks! Got it!<div class=""><br class=""></div><div class="">Am I right, that rules don’t get cascaded like in CartoCSS, so you always have to turn off the higher level rule symbol and add some kind of ELSE filter to achieve similar rendering behaviour?</div><div class="">Is it possible to set rendering for only first matching rule? I guess that should speed up rendering a bit.</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 16 Feb 2015, at 05:23, Junior Delaz <<a href="mailto:delazj@gmail.com" class="">delazj@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Instead of deactivating higher level rule,I think Anita is talking about deactivating its style. This option (checkbox) is available in "Rule properties" dialog, the dialog where you define rules<br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2015-02-16 0:32 GMT+01:00 Mofo Yoda <span dir="ltr" class=""><<a href="mailto:mofoyoda@gmail.com" target="_blank" class="">mofoyoda@gmail.com</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">That’s where the problem really is - when I deactivate higher level rule, subrules don’t get rendered. Is this an abnormal behaviour?<div class=""><div class="h5"><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 15 Feb 2015, at 22:41, Anita Graser <<a href="mailto:anitagraser@gmx.at" target="_blank" class="">anitagraser@gmx.at</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div class=""><div class="gmail_extra"><div class="gmail_quote">2015-02-15 13:27 GMT+01:00 Mofo Yoda <span dir="ltr" class=""><<a href="mailto:mofoyoda@gmail.com" target="_blank" class="">mofoyoda@gmail.com</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a layer with rule-based styling.<br class="">
The first rule filter is “obtype=1”, second is “obtype=2”. When I refine the first rule with scales, I get several subrules (as expected), but they have (no filter) for filter value.<br class="">
But the symbols get rendered from both the higher level rule and the matching subrule - that’s very inconvenient.</blockquote></div></div></div></div></blockquote><div class=""><br class=""></div><div class=""><div class="gmail_default" style="font-size:small">​You can deactivate the symbol of the higher level rule. Then only the subrules will be drawn. This behavior offers a lot of flexibility and makes complex styles possible.​</div><br class=""></div><div class=""><div class="gmail_default" style="font-size:small">​Best wishes,</div><div class="gmail_default" style="font-size:small">Anita​</div><br class=""></div><div class=""> </div></div></div></div>
</div></blockquote></div><br class=""></div></div></div></div><br class="">_______________________________________________<br class="">
Qgis-user mailing list<br class="">
<a href="mailto:Qgis-user@lists.osgeo.org" class="">Qgis-user@lists.osgeo.org</a><br class="">
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank" class="">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br class=""></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>