Opened 11 years ago

Closed 6 years ago

#2246 closed defect (worksforme)

G7: r.shaded.relief result not added to layer tree

Reported by: neteler Owned by: grass-dev@…
Priority: normal Milestone: 7.0.7
Component: Raster Version: svn-releasebranch70
Keywords: r.shaded.relief Cc:
CPU: x86-64 Platform: All

Description

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

Change History (6)

comment:1 by wenzeslaus, 11 years ago

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.

in reply to:  1 comment:2 by neteler, 11 years ago

Component: wxGUIRaster
Platform: LinuxAll

Replying to 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.

comment:3 by martinl, 9 years ago

Milestone: 7.0.07.0.5

comment:4 by neteler, 8 years ago

Milestone: 7.0.57.0.6

comment:5 by neteler, 7 years ago

Milestone: 7.0.67.0.7

comment:6 by martinl, 6 years ago

Resolution: worksforme
Status: newclosed

Works with G76 (r.shade)

Note: See TracTickets for help on using tickets.