g_buffer() builds a new geometry containing the buffer region around
the geometry on which it is invoked. The buffer is a polygon containing
the region within the buffer distance of the original geometry.
Usage
g_buffer(wkt, dist, quad_segs = 30L)
Value
Character string for an OGC WKT polygon.
Arguments
wkt
Character. OGC WKT string for a simple feature 2D geometry.
dist
Numeric buffer distance in units of the wkt geometry.
quad_segs
Integer number of segments used to define a 90 degree
curve (quadrant of a circle). Large values result in large numbers of
vertices in the resulting buffer geometry while small numbers reduce the
accuracy of the result.