[PostGIS] #5835: The variants of ST_Union gives results that are inconsistent with each other
PostGIS
trac at osgeo.org
Wed Jan 8 21:41:09 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 nbvfgh):
Replying to [comment:1 mdavis]:
> Are you sure about the result of the two-input variant? I get:
> {{{
> SELECT ST_AsText(ST_Union(
> 'GEOMETRYCOLLECTION(POLYGON EMPTY, POINT EMPTY, LINESTRING(10 10,
10 10))'::geometry,
> 'POINT(1 1)'::geometry));
> st_astext
>
----------------------------------------------------------------------------------
> GEOMETRYCOLLECTION(POLYGON EMPTY,POINT EMPTY,LINESTRING(10 10,10
10),POINT(1 1))
> }}}
>
> Still inconsistent, of course.
Yes, I have double-checked it, and I am sure about the result of the two-
input variant is
{{{GEOMETRYCOLLECTION(POLYGON EMPTY,POINT EMPTY,LINESTRING(0 0,0
0),POINT(1 1))}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5835#comment:3>
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