I know the "Random Points inside Polygons" tool in QGIS. It generates the below output.
What I want to achieve however are 8 equally distributed points for each of the polygons. I thought of dividing the polygons Voronoi-style by the random points and then generating new (equally distributed) points, but I don't seem to be able to do so. Using "Voronoi Polygons" in the toolbox, I only get a Voronoi diagram that's bounded by a rectangle. No way to divide the whole polygon by it:
How can I get 8 equally distributed points inside each of the polygons?
Best Answer
I implemented Cyril's comment. This is the input test polygon:
$length / 7
in the expression builder. (8 vertices)The resulting 8 points look like this inside the test polygon:
I will now try to automate this procedure and edit my answer when I have results.Update 5.12.2019: I haven't been able to automate this task.Update 4.1.2022: Here is an implementation in Shapely: