Skip to content

Float16 rasters do not render correctly #64923

Description

@kewgis

What is the bug or the crash?

The Float16 data type has been added in GDAL 3.11 but QGIS does not render Float16 rasters correctly.

Float32 example:

Image

Float16 example:

Image Image

Steps to reproduce the issue

  1. Create a Float16 raster using GDAL e.g.
    gdal_translate -ot Float16 "C:\GIS\Data\EMODnet\D4_2024_clipped.tif" "C:\GIS\Data\EMODnet\D4_2024_clipped_float16.tif"

  2. View in QGIS

Test files:

D4_2024_clipped.tif
D4_2024_clipped_float16.tif

Versions

QGIS version3.44.7-Solothurn
QGIS code revisionea262bc5ed8
 
Libraries
Qt version5.15.13
Python version3.12.12
GDAL version3.12.1 — Chicoutimi
PROJ version9.7.1
EPSG Registry database versionv12.029 (2025-10-03)
GEOS version3.14.1-CAPI-1.20.5
SQLite version3.50.4
PDAL version2.9.0
PostgreSQL client version17.3
SpatiaLite version5.1.0
QWT version6.3.0
QScintilla2 version2.14.1
OS versionWindows 11 Version 2009
 
Active Python plugins
db_manager0.1.20
grassprovider2.12.99
MetaSearch0.3.6
processing2.12.99

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

Split off as a bug from FR #64827

Metadata

Metadata

Assignees

Labels

BugEither a bug report, or a bug fix. Let's hope for the latter!RastersRelated to general raster layer handling (not specific data formats)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions