<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 19, 2014 at 3:32 PM, Hugo Mercier <span dir="ltr"><<a href="mailto:hugo.mercier@oslandia.com" target="_blank">hugo.mercier@oslandia.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Suppose I have an uncached layer with labeling switched on.<br>
During the first rendering, everything is drawn, including labels.<br>
During the second rendering (same extent), the cache could be reused and<br>
it would include labels previously drawn during the first rendering. No ?<br></blockquote><div><br></div><div>No... the labeling is not cached anywhere. Therefore in every rendering job it is necessary to register all features that may have labels again in order to be considered in the labeling.</div><div><br></div><div>Also think about this case: there is one layer with labeling, it gets cached. Then user adds another layer with labels - it is necessary to recalculate the labeling again as the new layer may require some existing labels to be hidden or moved to a different position to fit labels from the new layer. Hopefully that makes sense :-)</div><div><br></div><div>Cheers</div><div>Martin</div><div><br></div></div></div></div>