[GRASS-dev] [GRASS GIS] #1154: r.drain hangs using an r.walk surface

GRASS GIS trac at osgeo.org
Wed Mar 26 03:52:01 PDT 2014


#1154: r.drain hangs using an r.walk surface
---------------------+------------------------------------------------------
  Reporter:  abevan  |       Owner:  grass-dev@…              
      Type:  defect  |      Status:  closed                   
  Priority:  normal  |   Milestone:  7.0.0                    
 Component:  Raster  |     Version:  svn-trunk                
Resolution:  fixed   |    Keywords:  r.drain                  
  Platform:  MacOSX  |         Cpu:  OSX/Intel                
---------------------+------------------------------------------------------
Changes (by neteler):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Replying to [comment:1 mmetz]:
 > fixed in r43478, please test
 >
 > Markus M

 Works fine:

 {{{
 GRASS 7.0.svn (spearfish60_grass7):~ > g.region rast=elevation.10m

 GRASS 7.0.svn (spearfish60_grass7):~ > r.walk -k -n
 elevation=elevation.10m \
 friction=elevation.10m start_coordinate=603289,4925264 output=anisoA \
 outdir=anisoAdir lambda=0
 Walking costs are a=0.720000 b=6.000000 c=1.999800 d=-1.999800
 Lambda is 0.000000
 Slope_factor is -0.212500
 --------------------------------------------
 Will need at least 70.89 MB of disk space
 Will need at least 86.53 MB of memory
 --------------------------------------------
 Reading raster maps <elevation.10m at PERMANENT> and
 <elevation.10m at PERMANENT>, initializing output...
  100%
 Initializing directional output
  100%
 Finding cost path
  100%
 Writing output raster map anisoA...
  100%
 Writing movement direction file anisoAdir...
  100%
 r.walk complete. Peak cost value: 18230.616166.

 GRASS 7.0.svn (spearfish60_grass7):~ > d.mon wx0
 GRASS 7.0.svn (spearfish60_grass7):~ > d.rast elevation.10m
  100%
 GRASS 7.0.svn (spearfish60_grass7):~ > d.rast anisoA
  100%
 GRASS 7.0.svn (spearfish60_grass7):~ > d.rast anisoAdir
  100%

 GRASS 7.0.svn (spearfish60_grass7):~ > r.drain -c -d input=anisoA
 indir=anisoAdir output=fromAtoB start_coordinate=595080,4918109
 Writing raster map <fromAtoB>...
  100%
 GRASS 7.0.svn (spearfish60_grass7):~ >
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1154#comment:2>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list