[GRASS-SVN] r69663 - grass/trunk/raster/r.stream.extract

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Oct 3 14:58:49 PDT 2016


Author: neteler
Date: 2016-10-03 14:58:49 -0700 (Mon, 03 Oct 2016)
New Revision: 69663

Added:
   grass/trunk/raster/r.stream.extract/r_stream_extract_streams_weighed.png
Modified:
   grass/trunk/raster/r.stream.extract/r.stream.extract.html
Log:
r.stream.extract manual: screenshot added

Modified: grass/trunk/raster/r.stream.extract/r.stream.extract.html
===================================================================
--- grass/trunk/raster/r.stream.extract/r.stream.extract.html	2016-10-03 21:57:57 UTC (rev 69662)
+++ grass/trunk/raster/r.stream.extract/r.stream.extract.html	2016-10-03 21:58:49 UTC (rev 69663)
@@ -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>

Added: grass/trunk/raster/r.stream.extract/r_stream_extract_streams_weighed.png
===================================================================
(Binary files differ)


Property changes on: grass/trunk/raster/r.stream.extract/r_stream_extract_streams_weighed.png
___________________________________________________________________
Added: svn:mime-type
   + image/png



More information about the grass-commit mailing list