[GRASS-dev] [GRASS GIS] #1147: user-defined tick labels for d.legend (patch included)

#1147: user-defined tick labels for d.legend (patch included)
-------------------------+--------------------------------------------------
Reporter: dylan | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 6.5.0
Component: Compiling | Version: unspecified
Keywords: | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
It would be nice if the legend generated from the following command:

{{{
d.legend some_map use=0.001,0.01,0.1,1,10,100
}}}

actually ''used'' those labels. Currently the values are truncated to
integers. Attached is a patch against the current (r43367) GRASS65 source.
I know that this is supposed to be feature-frozen, just thought that
others might be interested. Customized legends are much simpler to create
this way.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1147&gt;
GRASS GIS <http://grass.osgeo.org>

#1147: user-defined tick labels for d.legend (patch included)
-------------------------+--------------------------------------------------
Reporter: dylan | Owner: hamish
     Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.5.0
Component: Display | Version: svn-develbranch6
Keywords: d.legend | Platform: All
      Cpu: All |
-------------------------+--------------------------------------------------
Changes (by hamish):

  * status: new => assigned
  * platform: Unspecified => All
* cc: grass-dev@… (added)
  * component: Compiling => Display
  * owner: grass-dev@… => hamish
  * version: unspecified => svn-develbranch6
  * keywords: => d.legend
  * cpu: Unspecified => All

Comment:

I'll have a look.

Hamish

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1147#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1147: user-defined tick labels for d.legend (patch included)
-------------------------+--------------------------------------------------
Reporter: dylan | Owner: hamish
     Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.5.0
Component: Display | Version: svn-develbranch6
Keywords: d.legend | Platform: All
      Cpu: All |
-------------------------+--------------------------------------------------

Comment(by dylan):

Any thoughts?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1147#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1147: user-defined tick labels for d.legend (patch included)
-------------------------+--------------------------------------------------
Reporter: dylan | Owner: hamish
     Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.4.2
Component: Display | Version: svn-develbranch6
Keywords: d.legend | Platform: All
      Cpu: All |
-------------------------+--------------------------------------------------
Changes (by hamish):

  * milestone: 6.5.0 => 6.4.2

Comment:

Applied in trunk and devbr6 in r45626,7.

aside: One thing I vaguely remember from GRASS 5.0 is that you could set
labels for FP values in the cats/ file, and then have those show up in
d.legend. I'm not sure if this still works, or if I'm mis-remembering or
mis-attributing a reclass/rescale map.

thanks,
Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1147#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#1147: user-defined tick labels for d.legend (patch included)
--------------------------+-------------------------------------------------
  Reporter: dylan | Owner: hamish
      Type: enhancement | Status: closed
  Priority: normal | Milestone: 6.4.2
Component: Display | Version: svn-develbranch6
Resolution: fixed | Keywords: d.legend
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Changes (by hamish):

  * status: assigned => closed
  * resolution: => fixed

Comment:

backported to 6.4svn in r46386.

Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1147#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>