Closed agiudiceandrea closed 1 month ago
@rouault, do you have any clue?
do you have any clue?
yes, this is because the dataset is referenced by GCPs, and thus QGIS creates a on-the-fly warped VRT, and uses it to get metadata, but it lacks them. I believe https://github.com/qgis/QGIS/pull/58638 should fix it, but haven't tested
I believe #58638 should fix it, but haven't tested
I can confirm #58638 fixes this issue.
What is the bug or the crash?
For some GeoTIFF raster layers, the "Compression" and "Description" values are not displayed in Layer Properties -> Information -> Information from provider
Steps to reproduce the issue
test_compression.tif
GeoTIFF raster layer contained in the attached zip file test_compression.zipVersions
QGIS version 3.38.2-Grenoble QGIS code revision 130c432394 Qt version 5.15.13 Python version 3.12.5 GDAL/OGR version 3.9.2 PROJ version 9.4.0 EPSG Registry database version v11.004 (2024-02-24) GEOS version 3.12.2-CAPI-1.18.2 SQLite version 3.45.1 PDAL version 2.6.3 PostgreSQL client version 16.2 SpatiaLite version 5.1.0 QWT version 6.2.0 QScintilla2 version 2.14.1 OS version Windows 10 Version 1903
Active Python plugins db_manager 0.1.20 grassprovider 2.12.99 MetaSearch 0.3.6 processing 2.12.99
Supported QGIS version
New profile
Additional context
The test_compression.tif GeoTIFF raster layer file compression is
DEFLATE
.The compression type is correctly reported by
gdalinfo
in the same system:The compression type is also correctly reported by GetMetadataInfo: