How about generating a large number of points into the N polygons, using
the tool available, then add an attribute to the points and generate
uniform random numbers into the attribute and keep only the n points with
the lowest random numbers?

Árni


On Thu, 23 Mar 2023 at 21:55, Andrea Giudiceandrea via QGIS-User <
[email protected]> wrote:

> Hi Sebastien,
> in addition to the suggestion given by Nyall Dawson, I would suggest you
> using the "Random points in layer bounds" algorithm: you just need to
> specify the total number of random points to be generated. The resulting
> layer will contain the specified number of points and such points will
> fall inside the polygons.
>
> It seems to me that the "Random points in extent" algorithm, suggested
> by Chris Hermansen, may not be suitable for your needs: while the
> resulting layer will contain the specified number of points, such points
> will fall inside the extent of the layer containing the polygons, so it
> is not guaranteed that such points will actually fall inside the polygons.
>
> Best regards,
>
> Andrea Giudiceandrea
> _______________________________________________
> QGIS-User mailing list
> [email protected]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
_______________________________________________
QGIS-User mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to