QGIS Voronoi Diagram Creation on Polygons – Tutorial

editingpolygonqgisshapefilevoronoi-thiessen

I am trying to create a Voronoi Diagram on a specific polygon, but there is some issue when dealing with edges.
Here is how I do it:

  1. Preparing the points for Voronoi and the polygon for the diagram
    points for Voronoi and the customized area

  2. Create Vornoi
    enter image description here

  3. Cut the edge using the polygon
    enter image description here

  4. Combine the cut Voronoi and the polygon using Union
    (not sure if this is the best way)
    And here comes my problem for the edges.
    I would like to:
    1) remove the frame from original Voronoi map (marked in blue)
    2) extend the edges to the edge of the area polygon(marked in red), so that the service area at the edge side will be realistic.
    enter image description here

How can I do this?

Best Answer

You can use the v.voronoi tool from GRASS to create voronoi polygons, and it will enables you to specify an extent based on layer extent:

enter image description here

Related Question