[gdal-dev] Cannot read overviews if VSI cache is on

Radim Blazek radim.blazek at gmail.com
Fri Jul 26 04:19:31 PDT 2013


GDAL 1.9.2 fails to read (large?) overview files if
    VSI_CACHE=TRUE
    VSI_CACHE_SIZE=1000000
The problem is described here: http://hub.qgis.org/issues/8356.
I just guess, that overview file keeps overview headers scattered over
the file and VSI fails to set offset, 17891712530 in this case, over
some limit.

Could it be some hardcoded limit in VSI subsystem? Or just int used
for offset instead of long? Is it easy to fix? Should I create a new
ticket?

Until it gets fixed in GDAL, how can we easily enable the VSI cache
for OGR and disable it for GDAL?

Radim


More information about the gdal-dev mailing list