I have certain hubs (coloured yellow) in a district (coloured light blue). I need to find polygons indicating the closest hub to every point in the district.
The voronoi polygons that I obtained using QGIS are coloured brown in the image. However, I need the voronoi polygons to fill the outer boundary as I need the polygons to fill the entire district.
Adding a buffer region while making the voronoi polygons and then using the intersect function to crop the polygons to the district boundary gives me wrong polygons as shown by the following image:
How do I generate the voronoi polygons that I require?