[GRASS-SVN] r69664 - grass/branches/releasebranch_7_2/raster/r.stream.extract
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Oct 3 14:59:37 PDT 2016
Author: neteler
Date: 2016-10-03 14:59:37 -0700 (Mon, 03 Oct 2016)
New Revision: 69664
Added:
grass/branches/releasebranch_7_2/raster/r.stream.extract/r_stream_extract_streams_weighed.png
Modified:
grass/branches/releasebranch_7_2/raster/r.stream.extract/r.stream.extract.html
Log:
r.stream.extract manual: screenshot added (trunk r69663)
Modified: grass/branches/releasebranch_7_2/raster/r.stream.extract/r.stream.extract.html
===================================================================
--- grass/branches/releasebranch_7_2/raster/r.stream.extract/r.stream.extract.html 2016-10-03 21:58:49 UTC (rev 69663)
+++ grass/branches/releasebranch_7_2/raster/r.stream.extract/r.stream.extract.html 2016-10-03 21:59:37 UTC (rev 69664)
@@ -93,6 +93,12 @@
adjustment or weighing should not convert valid accumulation values to
NULL (nodata) values.
+<p>
+In case of getting the error message
+<tt>ERROR: Accumulation raster map is NULL but elevation map is not NULL</tt>
+the computational region must be carefully adjusted to exclude NULL pixels
+in the accumulation raster map prior to stream extraction.
+
<h3>Weighed flow accumulation</h3>
Flow accumulation can be calculated first, e.g. with
@@ -206,17 +212,17 @@
Compare them and proceed if the weighed accumulation map makes sense.
<div class="code"><pre>
+# extract streams using the original accumulation map
+r.stream.extract elevation=elev_ned_30m at PERMANENT \
+ accumulation=elev_ned_30m.acc \
+ threshold=1000 \
+ stream_rast=elev_ned_30m.streams.noweight
+
# extract streams from weighed map
r.stream.extract elevation=elev_ned_30m at PERMANENT \
accumulation=elev_ned_30m.acc.weighed \
threshold=1000 \
stream_rast=elev_ned_30m.streams
-
-# extract streams using the original accumulation map
-r.stream.extract elevation=elev_ned_30m at PERMANENT \
- accumulation=elev_ned_30m.acc \
- threshold=1000 \
- stream_rast=elev_ned_30m.streams.noweight
</pre></div>
<p>
@@ -229,14 +235,12 @@
<img src="r_stream_extract_streams_noweight.png" width="400"></a><br>
Extracted streams from original flow accumulation map
-<!--
-TODO: ERROR: Accumulation raster map is NULL but elevation map is not NULL
<p>
-<a href="r_stream_extract_streams_weight.png">
-<img src="r_stream_extract_streams_weight.png" width="400"></a><br>
+<a href="r_stream_extract_streams_weighed.png">
+<img src="r_stream_extract_streams_weighed.png" width="400"></a><br>
Extracted streams from weighed flow accumulation map
--->
+
<h2>REFERENCES</h2>
<ul>
Copied: grass/branches/releasebranch_7_2/raster/r.stream.extract/r_stream_extract_streams_weighed.png (from rev 69663, grass/trunk/raster/r.stream.extract/r_stream_extract_streams_weighed.png)
===================================================================
(Binary files differ)
More information about the grass-commit
mailing list