[Qgis-developer] slow raster loading

Peter Borissow peter.borissow at yahoo.com
Tue Aug 9 18:20:32 EDT 2011


Also, might be a good idea to spawn a separate thread to generate the aux file in the background...




________________________________
From: Frank Warmerdam <warmerdam at pobox.com>
To: Tim Sutton <lists at linfiniti.com>
Cc: qgis-developer <qgis-developer at lists.osgeo.org>
Sent: Tuesday, August 9, 2011 5:51 PM
Subject: Re: [Qgis-developer] slow raster loading

On Tue, Aug 9, 2011 at 2:37 PM, Tim Sutton <lists at linfiniti.com> wrote:
>
> Yes thats why I was asking if the file permissions exist to write the
> aux.xml. If they don't behaviour should be the same as prior to my
> native raster stats commits i.e. stats will be recalced each time you
> open a project / add a layer and trigger something that needs the
> stats.

Tim, and others,

By the way, there is a mechanism in GDAL to support storing .aux.xml
information in an alternative directory when the file cannot be
created on the target directory due to permissions, read-only media, etc.

This is enabled by setting the GDAL_PAM_PROXY_DIR option to
point to a directory where files can be written.   If there is a place
known to QGIS that would be good for this, it might make sense
to take advantage of this.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Software Developer
_______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20110809/8be199a8/attachment-0001.html


More information about the Qgis-developer mailing list