<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Also, might be a good idea to spawn a separate thread to generate the aux file in the background...</span></div><div><br><span></span></div><div><span><br></span></div><div><br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Frank Warmerdam &lt;warmerdam@pobox.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> Tim Sutton &lt;lists@linfiniti.com&gt;<br><b><span style="font-weight: bold;">Cc:</span></b> qgis-developer &lt;qgis-developer@lists.osgeo.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Tuesday, August 9, 2011 5:51 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Qgis-developer]
 slow raster loading<br></font><br>On Tue, Aug 9, 2011 at 2:37 PM, Tim Sutton &lt;<a ymailto="mailto:lists@linfiniti.com" href="mailto:lists@linfiniti.com">lists@linfiniti.com</a>&gt; wrote:<br>&gt;<br>&gt; Yes thats why I was asking if the file permissions exist to write the<br>&gt; aux.xml. If they don't behaviour should be the same as prior to my<br>&gt; native raster stats commits i.e. stats will be recalced each time you<br>&gt; open a project / add a layer and trigger something that needs the<br>&gt; stats.<br><br>Tim, and others,<br><br>By the way, there is a mechanism in GDAL to support storing .aux.xml<br>information in an alternative directory when the file cannot be<br>created on the target directory due to permissions, read-only media, etc.<br><br>This is enabled by setting the GDAL_PAM_PROXY_DIR option to<br>point to a directory where files can be written.&nbsp;  If there is a place<br>known to QGIS that would be good for this, it might make
 sense<br>to take advantage of this.<br><br>Best regards,<br>-- <br>---------------------------------------+--------------------------------------<br>I set the clouds in motion - turn up&nbsp;&nbsp; | Frank Warmerdam, <a ymailto="mailto:warmerdam@pobox.com" href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a><br>light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>and watch the world go round - Rush&nbsp; &nbsp; | Geospatial Software Developer<br>_______________________________________________<br>Qgis-developer mailing list<br><a ymailto="mailto:Qgis-developer@lists.osgeo.org" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br><br><br></div></div></div></body></html>