[QGIS-Developer] Support for "segments" in the QgsGeometryAnalyzer buffer function
havard.tveite at nmbu.no
Fri May 12 00:06:55 PDT 2017
Dear QGIS developers,
Giovanni Manghi encouraged me to raise this in the dev
The QgsGeometry buffer function has two parameters:
distance (double) and segments (int).
"distance" is used to specify the buffer distance.
"segments" is used to specify the number of straight
line segments used to approximate a quarter circle.
The QgsGeometryAnalyzer buffer function makes only the
"distance" parameter available.
In Feature request #15905
(https://issues.qgis.org/issues/15905) I have suggested
that the "segments" parameter is made in the
QgsGeometryAnalyzer buffer function.
To me this seems like a trivial change, and I have
created a pull request to demonstrate it
Are there any reasons for not having the segments
parameter available in the QgsGeometryAnalyzer buffer
Could curved geometry have anything to do with it?
Faculty of Sciences and Technology, NMBU
Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY
Phone: +47 67231548 Web: http://www.nmbu.no
More information about the QGIS-Developer