[GRASS-dev] [GRASS GIS] #3547: r.viewshed.cva with -e flag

#3547: r.viewshed.cva with -e flag
----------------------------+-------------------------
Reporter: micha | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: minor | Milestone: 7.4.1
Component: Addons | Version: unspecified
Keywords: r.viewshed.cva | CPU: Unspecified
Platform: All |
----------------------------+-------------------------
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.

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

#3547: r.viewshed.cva with -e flag
--------------------------+----------------------------
  Reporter: micha | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: minor | Milestone: 7.4.1
Component: Addons | Version: unspecified
Resolution: | Keywords: r.viewshed.cva
       CPU: Unspecified | Platform: All
--------------------------+----------------------------
Changes (by micha):

* Attachment "r.viewshed.cva.diff" added.

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

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