Bug report #19294
Wrong parameter type to VoronoiPolygons in Processing
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Processing/QGIS | ||
Affected QGIS version: | 3.2 | Regression?: | No |
Operating System: | Ubuntu 16.04 (and all others) | Easy fix?: | Yes |
Pull Request or Patch supplied: | Yes | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 27122 |
Description
In /python/plugins/processing/algs/qgis/VoronoiPolygons.py, the
parameter type of the "BUFFER" parameter is set to QgsProcessingParameterDistance.
This seems to be wrong, because this is a percentage (the percentage to increase the extent with) and not a distance.
QgsProcessingParameterNumber should therefore be used instead of QgsProcessingParameterDistance.
Associated revisions
Fix parameter type for the BUFFER parameter of the Voronoi polygons alg
Fixes #19294
Fix parameter type for the BUFFER parameter of the Voronoi polygons alg
Fixes #19294
(cherry-picked from a756fb103)
History
#1 Updated by Håvard Tveite over 6 years ago
The pull request was removed for technical reasons.
Have now created a new one: https://github.com/qgis/QGIS/pull/7326
#2 Updated by Håvard Tveite over 6 years ago
- % Done changed from 0 to 100
- Status changed from Open to Closed
Applied in changeset qgis|a756fb1034eed47c02a885bebe2cd488a25a798e.