1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
<h2>DESCRIPTION</h2>
<em>v.buffer</em> creates a buffer around features of given type with category of given field.
<h2>EXAMPLES</h2>
<h3>Buffer around input lines</h3>
<b>v.buffer input=</b><em>map</em> <b>output=</b><em>buffer</em> <b>type=</b><em>line</em>
<b>buffer=</b><em>100</em>
<h3>Circles around input points</h3>
<b>v.buffer input=</b><em>pointsmap</em> <b>output=</b><em>circles</em> <b>type=</b><em>point</em>
<b>buffer=</b><em>1000</em>
<br>
Note that attributes are not transferred (due to potential buffer overlap which cannot be
resolved automatically).
<P>
<h3>Non-overlapping circles around input points with attribute transfer</h3>
<b>v.buffer input=</b><em>archsites</em> <b>output=</b><em>circles</em> <b>type=</b><em>point</em> <b>buffer=</b><em>200</em>
<br># change original points to centroids:
<br><b>v.type in=</b><em>archsites</em> <b>out=</b><em>archcentroids</em> <b>type=</b><em>point,centroid</em>
<br># patch circles and centroids:
<br><b>v.patch in=</b><em>archcentroids,circles</em> <b>out=</b><em>circles_db</em>
<br># attach attributes, either use
<br># <b>db.copy ...</b>
<br># or link to the original table:
<br><b>v.db.connect map=</b><em>circles_db</em> <b>table=</b><em>archsites</em> <b>field=</b><em>1</em>
<b>key=</b><em>cat</em> <b>driver=</b><em>dbf</em> <b>database=</b><em>'$GISDBASE/$LOCATION_NAME/$MAPSET/dbf'</em>
<h2>BUGS</h2>
For some data v.buffer can produce strange results, especially if the buffer size is
bigger than input features. Usually you can solve the problem if you run v.buffer
more times with smaller buffer.
<h2>SEE ALSO</h2>
<em><a HREF="v.type.html">v.type</a></em>,
<em><a HREF="v.patch.html">v.patch</a></em>,
<em><a HREF="v.db.connect.html">v.db.connect</a></em>
<h2>AUTHOR</h2>
Radim Blazek
<p><i>Last changed: $Date: 2005/01/10 18:20:14 $</i>
|