[GRASS-dev] [GRASS GIS] #3098: problems with legend with categorical data and smooth gradient option

GRASS GIS trac at osgeo.org
Sun Jul 10 07:43:04 PDT 2016


#3098: problems with legend with categorical data and smooth gradient option
---------------------------------------------+-------------------------
 Reporter:  annakrat                         |      Owner:  grass-dev@…
     Type:  defect                           |     Status:  new
 Priority:  normal                           |  Milestone:  7.2.0
Component:  Display                          |    Version:  svn-trunk
 Keywords:  cartography, gsoc2016, d.legend  |        CPU:  Unspecified
 Platform:  All                              |
---------------------------------------------+-------------------------
 I noticed couple of problems with legend for CELL rasters when we use flag
 -s (smooth gradient):

 1. How to test:  `d.legend -s raster=basin_50K at 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.


 3. `d.legend -s -d raster=basin_50K at PERMANENT` shows histogram, but it
 looks vertically shifted. This is an old bug present in 7.2.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3098>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list