<div dir="auto"><div>Morning Barry </div><div dir="auto"><br></div><div dir="auto">Thanks for looking at this and suggesting those possible routes forward. I'll have a look at implementing the rule based styling later on. Sounds like a useful thing to know in any case!</div><div dir="auto"><br></div><div dir="auto">Cheers </div><div dir="auto"><br><br><div class="gmail_quote gmail_quote_container" dir="auto"><div dir="ltr" class="gmail_attr">On Thu, 21 Aug 2025, 17:40 Barry Rowlingson, <<a href="mailto:b.rowlingson@lancaster.ac.uk">b.rowlingson@lancaster.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Actually, the previous approach (which bounced, oops) with a virtual layer is probably overkill, you can do some rule-based styling on the layer being input. Add a rule for $area < your_threshold and use a centroid style. Add an "else" rule for your desired style. The red centroid dot appears on completion of small polygons.</div><div><br></div><div>Not sure how to prevent creation of tiny polygons in the first place, but its only a Ctrl-Z away if you create one and its flagged as too small and you want to zap it.</div><div><br></div><div>Barry</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 21, 2025 at 5:32 PM Barry Rowlingson <<a href="mailto:b.rowlingson@gmail.com" target="_blank" rel="noreferrer">b.rowlingson@gmail.com</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"><div dir="ltr"><div>I just tried creating a virtual layer based on the layer being digitised with SQL like: </div><div><br></div><div>select * from p where area(geometry) < 1000</div><div><br></div><div>then when I create polygons with area < 1000 in my layer `p`, I get a feature in the virtual layer. You could style this as a point at the centroid. Then when you create a feature smaller than that threshold, you get a red dot at its centroid.</div><div><br></div><div>Seems to update instantly on completion of the polygon, you don't even have to save the edited layer to get the virtual layer to update. At first I wasn't seeing the virtual layer change but that was when I was styling the virtual layer as polygons and they might have been hiding under the new feature. Styled as centroid points they show up as I close the polygon.</div><div><br></div><div><br></div><div>Useful starting point?</div><div><br></div><div>Barry</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 21, 2025 at 5:11 PM Al Graham via UK <<a href="mailto:uk@lists.osgeo.org" target="_blank" rel="noreferrer">uk@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">
<div>
<p><strong><span style="color:rgb(164,52,58)">This email originated outside the University. Check before clicking links or attachments.</span></strong></p>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-size:small">Hi all</div>
<div class="gmail_default" style="font-size:small">A (hopefully) quick QGIS question for you.</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">If I am digitising land cover from an aerial photo is there a way to limit the size of the polygon geometry to a minimum mappable unit (MMU)? For instance, say that size is 3 square metres, is it possible for
QGIS to automatically flag, or reject, a new polygon that is 1m by 1m? Or is this something I would have to reconcile once the digitising has been completed?</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">I think it's the latter option, but I thought I'd ask in case there's some special QGIS function I am unaware of.</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">Cheers</div>
<div class="gmail_default" style="font-size:small">Al</div>
</div>
</div>
</div>
</blockquote></div>
</blockquote></div>
</blockquote></div></div></div>