[GRASS-SVN] r67617 - grass/branches/releasebranch_7_0/raster/r.buffer
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jan 21 03:10:49 PST 2016
Author: neteler
Date: 2016-01-21 03:10:49 -0800 (Thu, 21 Jan 2016)
New Revision: 67617
Added:
grass/branches/releasebranch_7_0/raster/r.buffer/r_buffer_road.png
Modified:
grass/branches/releasebranch_7_0/raster/r.buffer/r.buffer.html
Log:
r.buffer manual: screenshot added to example
Modified: grass/branches/releasebranch_7_0/raster/r.buffer/r.buffer.html
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.buffer/r.buffer.html 2016-01-21 11:10:11 UTC (rev 67616)
+++ grass/branches/releasebranch_7_0/raster/r.buffer/r.buffer.html 2016-01-21 11:10:49 UTC (rev 67617)
@@ -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>
Copied: grass/branches/releasebranch_7_0/raster/r.buffer/r_buffer_road.png (from rev 67616, grass/trunk/raster/r.buffer/r_buffer_road.png)
===================================================================
(Binary files differ)
More information about the grass-commit
mailing list