Skip to content

Error when zooming out in QGIS #556

@EmileSonneveld

Description

@EmileSonneveld

The results of j-25100810161949aebcfc8143865084c7 give an error in Q-GIS when zooming out:

IReadBlock failed at X offset 5, Y offset 1: TIFFReadEncodedTile() failed.

It might be an overview pyramids problem.
Video illustrating the problem:
https://github.com/user-attachments/assets/3aad520e-1b23-425f-beb0-88a164631442

gdalinfo openEO_2024-08-09Z.tif
...
Warning 1: /home/emile/Downloads/openEO_2024-08-09Z_new.tif:Nonstandard tile width 8, convert file
Warning 1: /home/emile/Downloads/openEO_2024-08-09Z_new.tif:Nonstandard tile length 8, convert file
Warning 1: /home/emile/Downloads/openEO_2024-08-09Z_new.tif:Nonstandard tile width 8, convert file
Warning 1: /home/emile/Downloads/openEO_2024-08-09Z_new.tif:Nonstandard tile length 8, convert file
...

Disabling overviews avoids the issue:

datacube = datacube.save_result(format="GTiff", options={"overviews": "OFF"})

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions