<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Hi Chris,<div><br></div><div>Thanks for your help. I used all your suggestions and a combination of them and what works best for me seems to be the layer bounds approach even though my polygons are very irregular in shape. Luckily number of points I need to create is not so big, so I can check that they all fall inside polygons.</div><div><br></div><div>Have a good day,</div><div><br></div><div>Sébastien<br><div><br><blockquote type="cite"><div>Le 25 mars 2023 à 04:16, chris hermansen via QGIS-User <qgis-user@lists.osgeo.org> a écrit :</div><br class="Apple-interchange-newline"><div><div dir="ltr"><div dir="ltr">Andrea and list,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 24, 2023 at 5:00 PM 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">> Thomas Sebastien sebasapp at <a href="http://hotmail.com/" rel="noreferrer" target="_blank">hotmail.com</a><br>
> Fri Mar 24 03:32:25 PDT 2023<br>
<br>
> what works best for what I’m trying to achieve is dissolving the polygons and placing random points in layer bounds<br>
<br>
Hi Sebastien,<br>
AFAIK, you don't need to dissolve the polygons before using them as <br>
input of the "Random points in layer bounds" algorithm: such algorithm <br>
correctly places the total chosen number n of random points even if the <br>
input N features/polygons are not dissolved.<br><br></blockquote><div>I believe I was the one who suggested the layer bounds approach.<br></div><div><br></div><div>Thomas Sebastian, you do not need to dissolve the polygons if you are only interested in placing the random points within the layer bounds as Andrea says.  If you have a non-rectangular dataset then your layer bounds could result in points being placed outside the polygons in your dataset; you should do the dissolve and place the points within the dissolved polygon.  If like me you live in a rectangular / map-sheet-ish world then by all means work in the layer bounds.<br></div></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr">Chris Hermansen · clhermansen "at" gmail "dot" com<br><br>C'est ma façon de parler.</div></div></div>
_______________________________________________<br>QGIS-User mailing list<br>QGIS-User@lists.osgeo.org<br>List info: https://lists.osgeo.org/mailman/listinfo/qgis-user<br>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user<br></div></blockquote></div><br></div></body></html>