Skip to content

Commit

Permalink
Merge pull request #10619 from OSGeo/backport-10616-to-release/3.9
Browse files Browse the repository at this point in the history
[Backport release/3.9] KEA: fix overview writing so that tiles are correctly flushed
  • Loading branch information
rouault authored Aug 21, 2024
2 parents 3aae5b4 + 52c250b commit 0d5a1fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frmts/kea/keaoverview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0d5a1fe

Please sign in to comment.