[PostGIS] #5835: The variants of ST_Union gives results that are inconsistent with each other
PostGIS
trac at osgeo.org
Wed Jan 8 21:00:58 PST 2025
#5835: The variants of ST_Union gives results that are inconsistent with each
other
----------------------+---------------------------
Reporter: nbvfgh | Owner: pramsey
Type: defect | Status: new
Priority: high | Milestone: PostGIS 3.6.0
Component: postgis | Version: 3.5.x
Resolution: | Keywords:
----------------------+---------------------------
Comment (by mdavis):
One bug is that the overlay operations should not return collections
containing empty elements.
Apart from that, the inconsistency is probably due to two things:
* the implementation of `ST_Union(A, B)` may have a bug in handling
`GeometryCollection`s
* the implementation of `ST_Union(C)` likely strips zero-length
`LineString`s from the output. This is a GEOS bug documented here:
https://github.com/libgeos/geos/issues/1136
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5835#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list