[Qgis-developer] slow raster loading

Frank Warmerdam warmerdam at pobox.com
Tue Aug 9 17:51:08 EDT 2011


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


More information about the Qgis-developer mailing list