[GRASS-SVN] r67616 - grass/trunk/raster/r.buffer

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jan 21 03:10:12 PST 2016


Author: neteler
Date: 2016-01-21 03:10:11 -0800 (Thu, 21 Jan 2016)
New Revision: 67616

Added:
   grass/trunk/raster/r.buffer/r_buffer_road.png
Modified:
   grass/trunk/raster/r.buffer/r.buffer.html
Log:
r.buffer manual: screenshot added to example

Modified: grass/trunk/raster/r.buffer/r.buffer.html
===================================================================
--- grass/trunk/raster/r.buffer/r.buffer.html	2016-01-21 10:35:47 UTC (rev 67615)
+++ grass/trunk/raster/r.buffer/r.buffer.html	2016-01-21 11:10:11 UTC (rev 67616)
@@ -3,9 +3,9 @@
 <em>r.buffer</em> creates a new raster map showing
 buffer (a.k.a. "distance" or "proximity") zones around all
 cells that contain non-NULL category values in an existing
-raster map. The distances of buffer zones from cells
-with non-zero category values are user-chosen.  Suppose,
-for example, that you want to place buffer zones around
+raster map. The distances of buffer zones from cells with
+non-zero category values are user-chosen and must be positive value(s).
+Suppose, for example, that you want to place buffer zones around
 roads.  This program could create the raster map 
 shown below on the right based on road information
 contained in the raster map shown on the left.
@@ -76,18 +76,19 @@
 
 <h2>EXAMPLE</h2>
 
-In the following example, the buffer zones would be (in the default units
-of meters):  0-100, 101-200, 201-300, 301-400 and 401-500.
+In the following example (North Carolina sample dataset), the buffer zones
+would be (in the default map units of meters):  0-100, 101-200, 201-300,
+301-400 and 401-500.
 <br>
 <div class="code"><pre>
-r.buffer input=roads output=roads.buf distances=100,200,300,400,500
+g.region raster=roadsmajor -p
+r.buffer input=roadsmajor output=roadsmajor_buf distances=100,200,300,400,500
 </pre></div>
 
 Result:
 
 <div class="code"><pre>
 r.category input=roads.buf
-
       1       distances calculated from these locations
       2       0-100 meters
       3       100-200 meters
@@ -96,6 +97,11 @@
       6       400-500 meters
 </pre></div>
 
+<center>
+<img src="r_buffer_road.png" border=1><br>
+<i>Distances to road</i>
+</center>
+
 <h2>SEE ALSO</h2>
 
 <em>

Added: grass/trunk/raster/r.buffer/r_buffer_road.png
===================================================================
(Binary files differ)


Property changes on: grass/trunk/raster/r.buffer/r_buffer_road.png
___________________________________________________________________
Added: svn:mime-type
   + image/png



More information about the grass-commit mailing list