[GRASS-dev] [GRASS GIS] #2246: G7: r.shaded.relief result not added to layer tree

#2246: G7: r.shaded.relief result not added to layer tree
-----------------------------+----------------------------------------------
Reporter: neteler | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-releasebranch70
Keywords: r.shaded.relief | Platform: Linux
      Cpu: x86-64 |
-----------------------------+----------------------------------------------
When calculating a shaded map with r.shaded.relief,
the resulting map is not added to the map layer tree.
I used "elevation@PERMANENT", NC location

The shaded map is calculated but not added.

{{{
g.version -g
version=7.0.0svn
date=2014
revision=59520
build_date=2014-03-30
build_platform=x86_64-unknown-linux-gnu
}}}

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

#2246: G7: r.shaded.relief result not added to layer tree
-----------------------------+----------------------------------------------
Reporter: neteler | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-releasebranch70
Keywords: r.shaded.relief | Platform: Linux
      Cpu: x86-64 |
-----------------------------+----------------------------------------------

Comment(by wenzeslaus):

Please specify if you've filled parameter `output` or not.

Because there is a strange thing in G7:r.shaded.relief that `output` is
not required and if you not specify it, a raster with the name
`<name_of_input>.shade` is created. And in this case there is no (easy,
currently implemented) way in GRASS how GUI can get know that something
was created (this is result of the separate processes design). In the
first case, GUI is guessing from the parameters.

The `output` should be always required, IMO, and the same applies for all
modules with the same behavior if there are any.

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

#2246: G7: r.shaded.relief result not added to layer tree
-----------------------------+----------------------------------------------
Reporter: neteler | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Raster | Version: svn-releasebranch70
Keywords: r.shaded.relief | Platform: All
      Cpu: x86-64 |
-----------------------------+----------------------------------------------
Changes (by neteler):

  * platform: Linux => All
  * component: wxGUI => Raster

Comment:

Replying to [comment:1 wenzeslaus]:
> Please specify if you've filled parameter `output` or not.

No, I did not (so the "strange" default was used).

...
> The `output` should be always required, IMO, and the same applies
> for all modules with the same behavior if there are any.

For consistency (and to make the GUI happy) it would make sense to change
it.

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