[Qgis-developer] slow raster loading

Tim Sutton lists at linfiniti.com
Wed Aug 10 05:42:47 EDT 2011


Hi

On Tue, Aug 9, 2011 at 11:51 PM, Frank Warmerdam <warmerdam at pobox.com> wrote:
> 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.
>

Oh great tip thanks! I have implemented support for this in master /
commit 89ddd03b.

BTW referencing your chat on IRC, AFAIK we are still using the C api
for GDAL everywhere.

Regards

Tim


> 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
>



-- 
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Visit http://linfiniti.com to find out about:
 * QGIS programming and support services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==============================================


More information about the Qgis-developer mailing list