Opened 8 years ago
Closed 8 years ago
#3098 closed defect (fixed)
problems with legend with categorical data and smooth gradient option
| Reported by: | annakrat | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.2.0 |
| Component: | Display | Version: | svn-trunk |
| Keywords: | cartography, gsoc2016, d.legend | Cc: | |
| CPU: | Unspecified | Platform: | All |
Description
I noticed couple of problems with legend for CELL rasters when we use flag -s (smooth gradient):
- How to test:
d.legend -s raster=basin_50K@PERMANENT. Instead of the colors, I can see only black. This is result of the recent changes, still works in 7.2.
2.label_values and label_step don't work with the command above. label_values=2 report: tick_value=2 out of range [0.000, 0.000] and label_step doesn't do anything.
d.legend -s -d raster=basin_50K@PERMANENTshows histogram, but it looks vertically shifted. This is an old bug present in 7.2.
Attachments (5)
Change History (8)
by , 8 years ago
| Attachment: | legend_problem.png added |
|---|
by , 8 years ago
by , 8 years ago
| Attachment: | values.png added |
|---|
by , 8 years ago
| Attachment: | d.legend_histo.diff added |
|---|
comment:2 by , 8 years ago
Note:
See TracTickets
for help on using tickets.





problem 1