[GIS] How to draw weighted voronoi polygons (thiessen) from points in QGIS

qgisvoronoi-thiessen

I have a shapefile of polygons which have an amount of population, I need to divide each of these polygons into small ones with nearly equal population. So I thought attributing points on each area inside each polygon and attributing a weight depending on its density.

After that I have to draw voronoi polygons based on the points drawn before and their weights to get these small areas that should be equally populated.

I tried to draw them in qgis but all I get is polygons with equal weights.

How to draw weighted voronoi polygons in QGIS?

Best Answer

Thanks to ArMoraer's suggestions I made a little python script based on PyQGIS and GDAL to generate a weighted voronoi diagram from a vector layer.

Here it is on github

Related Question