[gdal-dev] Cannot read overviews if VSI cache is on
Radim Blazek
radim.blazek at gmail.com
Fri Jul 26 23:36:20 PDT 2013
Hi Even,
thanks for really fast resolution!
Radim
On Fri, Jul 26, 2013 at 9:26 PM, Even Rouault
<even.rouault at mines-paris.org> wrote:
> Le vendredi 26 juillet 2013 14:37:21, Even Rouault a écrit :
>> Selon Radim Blazek <radim.blazek at gmail.com>:
>> > 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?
>>
>> Hi Radim,
>>
>> yes, you likely spotted a bug in the VSI Cache mechanism. Please file a
>> GDAL ticket.
>
> I could indeed reproduce on a unit test on Linux 32 bit. I've created
> http://trac.osgeo.org/gdal/ticket/5170 and pushed the fix
>
> Even
>
> --
> Geospatial professional services
> http://even.rouault.free.fr/services.html
More information about the gdal-dev
mailing list