DESCRIPTION

v.buffer creates a buffer around features of given type, which have a category in the given layer. The tolerance controls the number of vector segments being generated (the smaller the value, the more vector segments are generated).

NOTES

Attributes are not transferred due to potential buffer overlap, which cannot be resolved automatically.

EXAMPLES

All examples are based on the North Carolina sample dataset.

Buffer around input lines

v.buffer input=roadsmajor output=roadsmajor_buffer type=line distance=100

Buffer of 100m along the "roadsmajor" lines (map subset, original center line shown in black)

Circles around input points

v.buffer input=hospitals output=hospitals_circled type=point distance=1000 

Overlapping circles around input points with attribute transfer

v.buffer input=hospitals output=circles type=point distance=2000
# change original points to centroids: 
v.type in=hospitals out=hospital_centroids type=point,centroid 
# patch circles and centroids: 
v.patch in=hospital_centroids,circles out=circles_db 
# attach attributes, either use db.copy or link to the original table: 
v.db.connect map=circles_db table=hospitals layer=1 key=cat driver=dbf \
     database='$GISDBASE/$LOCATION_NAME/$MAPSET/dbf'

Buffer of 2000m around the "hospitals" points (map subset, original points shown in black, new area centroids in red)

Buffer around input areas

v.buffer input=lakes output=lakes_buffer type=area distance=100

Buffer of 100m around the "lakes" polygons (map subset, original areas shown in black)

SEE ALSO

r.buffer, v.parallel, v.extract, v.type, v.patch, v.db.connect

AUTHORS

Radim Blazek
Rewritten by Rosen Matev (with support through the Google Summer of Code program 2008)

Last changed: $Date: 2014-03-31 14:14:21 -0700 (Mon, 31 Mar 2014) $