[geos-devel] MakeValid and empty collection component

Even Rouault even.rouault at spatialys.com
Wed Dec 9 05:39:21 PST 2020


Sandro,

> I found out that GEOSMakeValid will remove EMPTY components from
> collections. The PostGIS implementation of it does not do this.
> 
> The rationale was that a collection with EMPTY component is NOT
> invalid as per OGC specification, so why removing them ? Isn't
> that a job for CollectionHomogenize or similar ?

I don't remember having done anything particular regarding treatment of EMPTY 
components. Might be an accident during the porting or the PostGIS 
implementation has changed in between.

Even


-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the geos-devel mailing list