From 8d125e74586fd7a91c0009fcdd27e390963b6522 Mon Sep 17 00:00:00 2001 From: Sam Gillingham Date: Tue, 20 Aug 2024 11:55:22 +1000 Subject: [PATCH] fix overview writing --- frmts/kea/keaoverview.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frmts/kea/keaoverview.cpp b/frmts/kea/keaoverview.cpp index 69184045e6cb..ff954f789b30 100644 --- a/frmts/kea/keaoverview.cpp +++ b/frmts/kea/keaoverview.cpp @@ -48,6 +48,9 @@ KEAOverview::KEAOverview(KEADataset *pDataset, int nSrcBand, KEAOverview::~KEAOverview() { + // according to the docs, this is required + // otherwise not all tiles will be written. + this->FlushCache(); } // overridden implementation - calls readFromOverview instead