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

GRASS GIS trac at osgeo.org
Thu Apr 19 02:42:58 PDT 2018


#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>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list