<div dir="ltr">Hi,<div><br></div><div>I believe there are two modes functions can operate in: geometry-preserving or structure-preserving.</div><div>MakeValid will try to recover the geometry, but makes no effort to preserve structure, sometimes it is impossible.</div><div><br></div><div>If you're using MakeValid, you expect the structure (the number of subgeometries, multi-nonmulti, dimensionality..) to change. I don't see how in this circumstances an attempt to save the EMPTY component will help any use case.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 9, 2020 at 2:13 PM Sandro Santilli <<a href="mailto:strk@kbt.io">strk@kbt.io</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">I found out that GEOSMakeValid will remove EMPTY components from<br>
collections. The PostGIS implementation of it does not do this.<br>
<br>
The rationale was that a collection with EMPTY component is NOT<br>
invalid as per OGC specification, so why removing them ? Isn't<br>
that a job for CollectionHomogenize or similar ?<br>
<br>
--strk;<br>
_______________________________________________<br>
geos-devel mailing list<br>
<a href="mailto:geos-devel@lists.osgeo.org" target="_blank">geos-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geos-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/geos-devel</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Darafei "Komяpa" Praliaskouski<br>OSM BY Team - <a href="http://openstreetmap.by/" target="_blank">http://openstreetmap.by/</a><br></div></div>