Buffer operation
The buffer geometry operation takes each input vector shape and applies morphological dilation or erosion to it.
The buffer distance determines which operation to use:
- A positive distance dilates the shape (expands it).
- A negative distance erodes the shape (shrinks it).
Note: buffering always converts the input vector data into polygons.
Usage
The buffer operation is applied inside the features block, like so:
<features name="shapes" driver="ogr">
<url>data.shp</url>
<buffer distance="0.02"/>
</features>
