[GRASS-dev] [GRASS GIS] #3077: r.colors: flag to output color table type and value range

GRASS GIS trac at osgeo.org
Sun Jun 24 06:50:50 PDT 2018


#3077: r.colors: flag to output color table type and value range
--------------------------+---------------------------------------------
  Reporter:  neteler      |      Owner:  grass-dev@…
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Milestone:  7.4.2
 Component:  Raster       |    Version:  svn-trunk
Resolution:               |   Keywords:  r.colors, v.colors, cartography
       CPU:  All          |   Platform:  All
--------------------------+---------------------------------------------

Comment (by mmetz):

 There is a new -d flag in trunk r72895 for r.colors to list color rules as
 name: description (type), e.g.
 {{{
 aspect: aspect oriented grey colors (relative, percent of map range)
 aspectcolr: aspect oriented rainbow colors (absolute, 0 to 360)
 }}}

 If a color rule is specified with the color option, only this color rule
 is listed, otherwise all are listed. The description and type are
 determined on the fly by parsing colors.desc and the color rule files.
 Suggestions on the wording are welcome.

 Should the descriptions of the color option also be updated? That would
 require modification of `G_color_rules_descriptions()`.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3077#comment:7>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list