[Qgis-developer] Rendering cache and labeling

Martin Dobias wonder.sk at gmail.com
Fri Dec 19 00:26:09 PST 2014

Hi Hugo

On Wed, Dec 17, 2014 at 10:28 PM, Hugo Mercier <hugo.mercier at oslandia.com>
> Hi,
> When labeling is enabled on a layer, then the rendering cache is made
> invalid and everything is computed for rendering.
> I may be missing something obvious, but I don't understand why.
> Is it because of a particular use case or because of some limitations in
> the caching process ?

If we used cached layer image, the features for labeling from that layer
would not be registered and therefore they would not appear. A smarter
solution would be to keep the layer cached and just iterate over layer's
features to register them (if they would get rendered).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20141219/e6fae101/attachment.html>

More information about the Qgis-developer mailing list