Skip to content

Raster Attribute Table for S-102 does not display correctly #64797

Description

@GlenRice-NOAA

What is the bug or the crash?

The latest version of QGIS is not displaying the raster attribute table (RAT) from S-102 correctly. Specifically, it appears that incorrect data is ending up in the columns. Fields like "sourceSurveyID" are displaying boolean values but should be strings.

RATs were added to S-102 in version 2.2. S-102 3.0 test files can be found here. I have confirmed the data appears correct in these files using HDF5 readers and also using GDAL.

New RAT data types were added into GDAL, and specifically datetime and boolean data types are being used for the S-102 data. I suspect, although I'm not sure how to confirm, that something with reading the data in its new type is not working as expected.

Steps to reproduce the issue

Open a test file from the provided link in QGIS and view the RAT.
Open the same file with GDAL and view the RAT.
Compare the available data.

Versions

QGIS version3.44.5-Solothurn
QGIS code revision5c593399236
 
Libraries
Qt version5.15.13
Python version3.12.12
GDAL version3.12.0 — Chicoutimi
PROJ version9.7.0
EPSG Registry database versionv12.022 (2025-08-30)
GEOS version3.13.1-CAPI-1.19.2
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
crayfish4.0.0
cruisetools2.3
firstaid3.2.1
loadthemall3.4
pluginbuilder33.2.1
plugin_reloader0.18
profiletool4.3.3
qduckdb2.2.6
quick_map_services1.1.0
Serval3.32.0
processing2.12.99

Supported QGIS version

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

New profile

Additional context

No response

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