[GRASS-dev] [GRASS GIS] #3311: Mismatch between CLI and GUI for r.colors using external rules file

GRASS GIS trac at osgeo.org
Wed Mar 8 04:42:43 PST 2017


#3311: Mismatch between CLI and GUI for r.colors using external rules file
--------------------------+-------------------------
  Reporter:  madi         |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.2.1
 Component:  Raster       |    Version:  svn-trunk
Resolution:               |   Keywords:  r.colors
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------

Comment (by hellik):

 Replying to [ticket:3311 madi]:
 > There is a mismatch between the command line and the GUI of r.colors
 when providing an external file for color rules. Via command line the
 correct (working) command is:
 >
 > {{{
 > r.colors map=map_name rules=rules.file
 > }}}
 >
 > but via GUI, browsing the rules.file, it will build the following
 command:
 >
 > {{{
 > r.colors map=map_name file=rules.file
 > }}}
 >

 taken from the manual:

 {{{
 file=name
     Input file with one map name per line
     Input map names can be defined in an input file in case a large amount
 of maps must be specified. This option is mutual exclusive to the map
 option.
 }}}

 ''file'' is on the first r.colors-GUI-tab, rules is on the second r
 .colors-GUI-tab.

 I would say it works normal. ;-)

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



More information about the grass-dev mailing list