Opened 7 years ago

Last modified 5 years ago

#3547 new enhancement

r.viewshed.cva with -e flag

Reported by: micha Owned by: grass-dev@…
Priority: minor Milestone: 7.8.3
Component: Addons Version: unspecified
Keywords: r.viewshed.cva Cc:
CPU: Unspecified Platform: All

Description

When passing the '-e' flag to r.viewshed.cva, each of the individual, single viewpoint maps gets a value of "invisible = NULL, else current elev-viewpoint_elev". However when the maps are combined using r.series, the result is a count of the maps. So invisible pixels get a value of 0, instead of NULL.

I suggest to use the r.series method=minimum when the '-e' flag is passed so as to keep the elevation difference in the cumulative viewshed output.

Diff attached.

Attachments (1)

r.viewshed.cva.diff (1.1 KB ) - added by micha 7 years ago.
diff to change the r.series command when '-e' flag is passed

Download all attachments as: .zip

Change History (7)

by micha, 7 years ago

Attachment: r.viewshed.cva.diff added

diff to change the r.series command when '-e' flag is passed

comment:1 by neteler, 6 years ago

Milestone: 7.4.17.4.2

comment:2 by martinl, 6 years ago

Milestone: 7.4.27.6.0

All enhancement tickets should be assigned to 7.6 milestone.

comment:3 by martinl, 6 years ago

Milestone: 7.6.07.6.1

Ticket retargeted after milestone closed

comment:4 by martinl, 6 years ago

Milestone: 7.6.17.6.2

Ticket retargeted after milestone closed

comment:5 by martinl, 6 years ago

Milestone: 7.6.2

Remove Milestone from Addons bugreports.

comment:6 by neteler, 5 years ago

Milestone: 7.8.3
Note: See TracTickets for help on using tickets.