v.buffer.html 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <h2>DESCRIPTION</h2>
  2. <em>v.buffer</em> creates a buffer around features of given <b>type</b>, which
  3. have a category in the given <b>layer</b>. The <b>tolerance</b> controls
  4. the number of vector segments being generated (the smaller the value, the more
  5. vector segments are generated).
  6. <h2>NOTES</h2>
  7. Attributes are not transferred due to potential buffer overlap, which
  8. cannot be resolved automatically.
  9. <h2>EXAMPLES</h2>
  10. <h3>Buffer around input lines</h3>
  11. <div class="code"><pre>
  12. v.buffer input=map output=buffer type=line distance=100
  13. </pre></div>
  14. <h3>Circles around input points</h3>
  15. <div class="code"><pre>
  16. v.buffer input=pointsmap output=circles type=point distance=1000
  17. </pre></div>
  18. <h3>Non-overlapping circles around input points with attribute transfer</h3>
  19. <div class="code"><pre>
  20. v.buffer input=archsites output=circles type=point distance=200
  21. # change original points to centroids:
  22. v.type in=archsites out=archcentroids type=point,centroid
  23. # patch circles and centroids:
  24. v.patch in=archcentroids,circles out=circles_db
  25. # attach attributes, either use
  26. # db.copy ...
  27. # or link to the original table:
  28. v.db.connect map=circles_db table=archsites field=1 key=cat driver=dbf \
  29. database='$GISDBASE/$LOCATION_NAME/$MAPSET/dbf'
  30. </pre></div>
  31. <h2>SEE ALSO</h2>
  32. <em>
  33. <a HREF="r.buffer.html">r.buffer</a>,
  34. <a HREF="v.extract.html">v.extract</a>,
  35. <a HREF="v.type.html">v.type</a>,
  36. <a HREF="v.patch.html">v.patch</a>,
  37. <a HREF="v.db.connect.html">v.db.connect</a>
  38. </em>
  39. <h2>AUTHORS</h2>
  40. Radim Blazek<br>
  41. Rewritten by Rosen Matev (with support through the
  42. Google Summer of Code program 2008)
  43. <p>
  44. <i>Last changed: $Date: 2008-03-16 16:29:33 +0100 (Sun, 16 Mar 2008) $</i>