<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>