<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">There is a PR open for this</div><div class=""><a href="https://github.com/qgis/QGIS/pull/771" class="">https://github.com/qgis/QGIS/pull/771</a></div><div class=""><br class=""></div><div class="">Open for quite a long time though.</div><div class=""><br class=""></div><div class="">Denis</div><div class=""><br class=""></div><div class=""><br class=""><div class=""><div><blockquote type="cite" class=""><div class="">On 08 Mar 2015, at 18:54, Olivier Dalang <<a href="mailto:olivier.dalang@gmail.com" class="">olivier.dalang@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Dear List,<br class=""></div><div class=""><br class=""></div><div class="">I'm posting this to qgis-dev since I got no answer on qgis-user and it's a bit technical.<br class=""><div class="gmail_extra"><div class="gmail_quote"><br class=""></div><div class="gmail_quote"><br class=""></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr" class="">I'm using layers joins in my projects, and need to use the memory cache for performance reasons.<br class=""><br class="">This means that when I'm making changes on the joined layers, they won't appear on the base layer until the project is reloaded.<br class=""><br class="">Is there a way to trigger a refresh of the joined layer cache "manually" through python ?<br class=""><br class="">I looked at the API, but didn't find how to do so...<br class=""><br class="">I found this class : <b class="">QgsVectorLayerJoinBuffer</b> which has a <b class="">createJoinCaches</b> method, but I couldn't find how to get a reference to it from the VectorLayer.<div class=""><br class="">There's also the <b class="">createJoinCaches</b> method of <b class="">QgsVectorLayer</b>, but it seem it has no effect if the cache was already created (and that's what the docstring says as well).<br class=""></div><div class=""><br class=""></div><div class="">If there's no way to do it, does anyone have a workaround, hopefully a bit lighter than reloading the project ?</div></div></blockquote><div class=""> </div><div class="">Thanks a lot !<br class=""><br class="">Olivier<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
</blockquote></div><br class=""></div></div></div>
_______________________________________________<br class="">Qgis-developer mailing list<br class=""><a href="mailto:Qgis-developer@lists.osgeo.org" class="">Qgis-developer@lists.osgeo.org</a><br class="">http://lists.osgeo.org/mailman/listinfo/qgis-developer</div></blockquote></div><br class=""></div></div></body></html>