Opened 15 years ago

Closed 15 years ago

#3124 closed defect (fixed)

GDALDataset::BlockBasedRasterIO() does not use overviews

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone: 1.6.3
Component: GDAL_Raster Version: 1.6.2
Severity: normal Keywords: overviews georaster
Cc: ilucena

Description

It appears that GDALDataset::BlockBasedRasterIO() does not attempt to use overviews if appropriate. This interferes in achieving appropriate performance in some cases.

The problem can be reproduced by running autotest/gcore/tiff_ovr.py (trunk) with GDAL_FORCE_CACHING set to YES. Test tiff_ovr_35 will fail. It also is interfering with the performance of the GeoRaster driver in (for instance) MapServer.

Change History (3)

comment:1 by Even Rouault, 15 years ago

In trunk only, r17621 /trunk/gdal/gcore/rasterio.cpp: Add support for using overviews in GDALDataset::BlockBasedRasterIO()

comment:2 by Even Rouault, 15 years ago

r17625 /trunk/autotest/gcore/tiff_ovr.py: Test that overviews are used by BlockBasedRasterIO()

comment:3 by warmerdam, 15 years ago

Keywords: georaster added
Resolution: fixed
Status: newclosed

No problems have been encountered with this change in trunk, so I've backported it to 1.6 branch (r17804).

Note: See TracTickets for help on using tickets.