QGIS – Voronoi Polygons

Marketing
Marketing
  • Updated

By David Crowther

QGIS___Voronoi_Polygons_-_1.PNG

Question:

What are Voronoi Polygons?

Answer:

The Voronoi Tool within QGIS enables you to create new Voronoi polygon objects from an input Point Layer…. but what is a Voronoi? -  well in mathematics, a Voronoi diagram is a partition of a plane into regions close to each of a given set of objects… see below!

QGIS___Voronoi_Polygons_-_2.PNG

In QGIS I have an input point layer and I would like to create a set of Voronoi Polygons around those points.

QGIS___Voronoi_Polygons_-_3.PNG

From the Processing menu choose > Toolbox > and open the Vector Geometry section.

QGIS___Voronoi_Polygons_-_4.PNG

Choose the Voronoi Polygons menu option.

QGIS___Voronoi_Polygons_-_5.PNG

The Voronoi Polygons Tool will open.

QGIS___Voronoi_Polygons_-_6.PNG

We will use the following settings:

  • In the Input Layer choose the Points Layer.
  • Choose the output file, this could be a GIS file or a Temporary Layer that you can save a copy of later.

QGIS___Voronoi_Polygons_-_7.PNG

If you now Run the Voronoi Polygons Tool, the output will be a polygon layer based around each input point, where any location in that polygon is always nearest to the input point location.

QGIS___Voronoi_Polygons_-_8.PNG

Note that the edges where there are no more input points will simply cut off the polygon as a straight line. If you wish to extend this area, in the settings choose to apply a Buffer Region e.g. 25%.

QGIS___Voronoi_Polygons_-_9.PNG

This time the output Voronoi polygons will extend beyond our boundary line.

QGIS___Voronoi_Polygons_-_10.PNG

To complete this task, we can use the CLIP tool to clip our Voronoi Polygon layer to the boundary line.

QGIS___Voronoi_Polygons_-_11.PNG

QGIS___Voronoi_Polygons_-_12.PNG

We now have a set of Voronoi Polygons around each input point which can then be used for performing spatial analysis. e.g. to identify all the Pupils that are closest (As the Crow Fly’s) to a specific School.

QGIS___Voronoi_Polygons_-_13.PNG

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.