Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raster classification label only generated for the first interval #40587

Closed
timlinux opened this issue Dec 14, 2020 · 0 comments · Fixed by #40588
Closed

Raster classification label only generated for the first interval #40587

timlinux opened this issue Dec 14, 2020 · 0 comments · Fixed by #40588
Assignees
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Map and Legend Related to map or legend rendering Rasters Related to general raster layer handling (not specific data formats)

Comments

@timlinux
Copy link
Member

timlinux commented Dec 14, 2020

When I apply a classification to a raster file (sample attached) in pseudocolor mode, the legend generated only produces a non zero label for the first entry, the rest are 0.

Tested with QGIS Master df28e63

qgis-raster-legend-classes

qgis-raster-legend

srtm-clip.zip

Expected outcome: I would expect the label classes to match the interval numbers shown in the value column.

@timlinux timlinux added Bug Either a bug report, or a bug fix. Let's hope for the latter! Rasters Related to general raster layer handling (not specific data formats) Map and Legend Related to map or legend rendering labels Dec 14, 2020
@elpaso elpaso self-assigned this Dec 14, 2020
elpaso added a commit to elpaso/QGIS that referenced this issue Dec 14, 2020
elpaso added a commit to elpaso/QGIS that referenced this issue Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Map and Legend Related to map or legend rendering Rasters Related to general raster layer handling (not specific data formats)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants