[GRASS-dev] [GRASS GIS] #2980: r.watershed and max_slope_length

GRASS GIS trac at osgeo.org
Mon Apr 4 13:58:13 PDT 2016


#2980: r.watershed and max_slope_length
---------------------+-------------------------
 Reporter:  mankoff  |      Owner:  grass-dev@…
     Type:  defect   |     Status:  new
 Priority:  normal   |  Milestone:  7.0.4
Component:  Raster   |    Version:  7.0.1
 Keywords:           |        CPU:  OSX/Intel
 Platform:  MacOSX   |
---------------------+-------------------------
 I'm not sure if this is a bug, but I think it might be. The
 {{{max_slope_length}}} seems to have no effect in the {{{r.watershed}}}
 program. Below is an example that should work on the NC data set. I'd
 expect there to be different accumulation maps based on setting
 {{{max_slope_length}}}, but they appear identical.

 {{{
 r.mapcalc "rain = 1"
 r.watershed -s -a --v elevation=elev_srtm_30m accumulation=acc
 drainage=fdir flow=rain
 r.watershed -s -a --v elevation=elev_srtm_30m accumulation=acc.len
 drainage=fdir.len flow=rain max_slope_length=15
 g.gui.mapswipe first=acc second=acc.len
 }}}

 Also mentioned at https://www.mail-archive.com/grass-
 user at lists.osgeo.org/msg31665.html and
 https://gis.stackexchange.com/questions/187312/what-does-the-max-slope-
 length-option-do-in-grass-r-watershed

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2980>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list