I am trying to automate buffering of objects in QGIS using Python. The function below using QgsGeometryAnalyzer works but the output is blocky. I understand that the smoothness of the buffer edge can be improved by increasing the number segments per quarter but i am unsure of how to do this using Python or even if it is possible.
This note and the linked github pull request suggests not.
Is there an alternate method i am missing that would allow me to increase the number of segments and so the smoothness of the buffer object?
QgsGeometryAnalyzer().buffer(LayerToBeBuffered, "Output.shp", 2000, False, False, -1)
qgis:fixeddistancebuffer
which includes a parameter for segments :)