Opened 14 years ago
Closed 11 years ago
#1154 closed defect (fixed)
r.drain hangs using an r.walk surface
Reported by: | abevan | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.0.0 |
Component: | Raster | Version: | svn-trunk |
Keywords: | r.drain | Cc: | |
CPU: | OSX/Intel | Platform: | MacOSX |
Description
GRASS 7.0.svn (spearfish):~ > r.walk -k -n elevation=elevation.10m friction=elevation.10m 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 9.23 MB of disk space Will need at least 12.29 MB of memory
Reading raster maps <elevation.10m@PERMANENT> and <elevation.10m@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: 18025.341210.
GRASS 7.0.svn (spearfish):~ > r.drain -c -d input=anisoA indir=anisoAdir output=fromAtoB coordinate=595080,4918109 --v
Directional drain selected... checking for direction raster
direction read: 67.500000, neighbour found: 675
direction read: 22.500000, neighbour found: 225
direction read: 22.500000, neighbour found: 225
direction read: 22.500000, neighbour found: 225
direction read: 90.000000, neighbour found: 900
direction read: 0.000000, neighbour found: 0
direction read: 180.000000, neighbour found: 1800
direction read: 0.000000, neighbour found: 0
direction read: 180.000000, neighbour found: 1800
direction read: 0.000000, neighbour found: 0
Change History (2)
follow-up: 2 comment:1 by , 14 years ago
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to 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@PERMANENT> and <elevation.10m@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):~ >
fixed in r43478, please test
Markus M