I am looking for a method to buffer geometries by passing a list of buffer amount values in QGIS. The resulting polygon layers should be suffixed with the buffer amount by some way. By passing i.e. (10,13,15) I would expect the following result (drawn with inkscape):
What I have tried so far:
- None of the tools available in QGIS (menu-bar and geoprocessing) accept input of such list.
- The 'Multi Ring Buffer' plugin only computes equidistant buffers.
The following script does work so far, but
QgsGeometryAnalyser.buffer()seems to lack a parameter for how many segments to approximate (thus, I'm getting nice 20-hedrons when buffering a point)
radiouses = [10.0, 13.0, 15.0] for r in radiouses: shapeout = 'c:\\temp\\point_buf_%s' % r QgsGeometryAnalyser.buffer(iface.mapCanvas.currentLayer(), shapeout, r, False, False, -1)