<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
<div dir="ltr"></div>
<div dir="ltr">Hi Árni, Andrea, Nyall and Chris,</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Thank you very much for your help. I tried all your suggestions and what works best for what I’m trying to achieve is dissolving the polygons and placing random points in layer bounds because not only do the points fall inside the polygons, as
 Andrea pointed out, but also it lets me pick a minimum distance between the points, which is quite useful for my study. </div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Again many thanks!</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Have a good day,</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Sébastien </div>
<div dir="ltr"><br>
<blockquote type="cite">Le 24 mars 2023 à 09:14, Árni Geirsson via QGIS-User <qgis-user@lists.osgeo.org> a écrit :<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">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?
<div>
<div>
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><br>
</div>
<font color="#000000">Árni </font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, 23 Mar 2023 at 21:55, Andrea Giudiceandrea via QGIS-User <<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi Sebastien,<br>
in addition to the suggestion given by Nyall Dawson, I would suggest you <br>
using the "Random points in layer bounds" algorithm: you just need to <br>
specify the total number of random points to be generated. The resulting <br>
layer will contain the specified number of points and such points will <br>
fall inside the polygons.<br>
<br>
It seems to me that the "Random points in extent" algorithm, suggested <br>
by Chris Hermansen, may not be suitable for your needs: while the <br>
resulting layer will contain the specified number of points, such points <br>
will fall inside the extent of the layer containing the polygons, so it <br>
is not guaranteed that such points will actually fall inside the polygons.<br>
<br>
Best regards,<br>
<br>
Andrea Giudiceandrea<br>
_______________________________________________<br>
QGIS-User mailing list<br>
<a href="mailto:QGIS-User@lists.osgeo.org" target="_blank">QGIS-User@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">
https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">
https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote>
</div>
<span>_______________________________________________</span><br>
<span>QGIS-User mailing list</span><br>
<span>QGIS-User@lists.osgeo.org</span><br>
<span>List info: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br>
<span>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br>
</div>
</blockquote>
</body>
</html>