[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:39:39 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
> }}}
here with the GUI the command expands to:
{{{
r.colors map=myslope at user1 rules=D:\temp\test_c_rule.file
}}}
it works
tested with
{{{
System Info
GRASS version: 7.3.svn
GRASS SVN revision: r70733M
Build date: 2017-03-07
Build platform: x86_64-w64-mingw32
GDAL: 2.1.2
PROJ.4: 4.9.3
GEOS: 3.5.0
SQLite: 3.14.1
Python: 2.7.5
wxPython: 2.8.12.1
Platform: Windows-8-6.2.9200 (OSGeo4W)
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3311#comment:1>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list