15

Could you explain what "buffer" does in the Voronoi dialog i.e. what does the number stand for?

3 Answers 3

21

Just adding this figure with different buffer regions to Joseph's clear answer.

enter image description here

2
  • 3
    +1 for providing an example (and not being lazy like me!) ;)
    – Joseph
    Dec 9, 2016 at 15:03
  • 2
    @Joseph Wow, thank you! and thanks for the link to new book I didn't know!
    – Kazuhito
    Dec 9, 2016 at 15:18
13

In the awesome book that is "Mastering QGIS" by Kurt Menke, Luigi Pirelli, Richard Smith Jr & John Van Hoesen, it is mentioned on page 112:

The Voronoi polygons tool has an option to set a buffer region. This is the amount by which the resulting polygons will extend beyond the perimeter points.

2
  • 4
    I find the QGIS voronoi tool very odd using the buffer to expand the area. I prefer the grass tool v.voronoi which creates an area similar to that of ArcGis. To load the grass tool: Processing/Toolbox/Grass GIS 7/Vector/v.voronoi Dec 13, 2016 at 18:18
  • 1
    @GusVelasco - Good tip about v.voronoi ;)
    – Joseph
    Dec 14, 2016 at 9:58
2

The buffer parameter of the Voronoi polygons tool in QGIS Processing is supposed to provide the increase of the boundingbox of the point layer in percent. But before QGIS 3.4 there were something wrong with how was is used.

As far as i can tell, the horizontal "buffer" was calculated from the vertical size of the bounding box of the point layer as reference (for both the right and the left side), while for the vertical "buffer" was calculated from the horizontal size of the bounding box of the points layer for the top part, while something strange was used for the bottom.

See the illustration below where buffer was set to 100 (%). Produced with QGIS 3.2.

Voronoi with buffer = 100 (%)

Probably a bug.

The bug was resolved in QGIS 3.4, so Voronoi should work fine now.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.