Can't use raster Unique values symbolgogy for Integer rasters with a single value of 1. #51822
Closed
2 tasks done
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Crash/Data Corruption
Rasters
Related to general raster layer handling (not specific data formats)
What is the bug or the crash?
Raster Paletted/Unique values renderer and Singleband pseudocolor does not work when a single unique value of 1 is used with any integer data types.
Steps to reproduce the issue
Versions
<style type="text/css"> p, li { white-space: pre-wrap; } </style>Active Python plugins
db_manager
0.1.20
processing
2.12.99
Supported QGIS version
New profile
Additional context
Problem also exists in QGIS 3.26.3.
Using python commands doesn't work either and
QgsPalettedRasterRenderer.classDataFromRaster(raster_layer.dataProvider(), 1 )
returns an empty list.The text was updated successfully, but these errors were encountered: