[GIS] Generating points that lie inside polygon using QGIS

ogrpolygonqgis

I am using QGIS.

I have polygon feature and want to be able to generate points inside it. I need this for one classification task.

Generating random points until one is inside the polygon wouldn't work because it's really unpredictable the time it takes.

Best Answer

Start by decomposing the polygon into triangles, then generate points inside those. (For a uniform distribution, weight each triangle by its area.)

Related Question