Ticket #3124 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

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

Changed 2 years ago by rouault

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

Changed 2 years ago by rouault

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

Changed 2 years ago by warmerdam

  • keywords georaster added
  • status changed from new to closed
  • resolution set to fixed

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.