[PostGIS] #5835: The variants of ST_Union gives results that are inconsistent with each other

PostGIS trac at osgeo.org
Wed Jan 8 20:50:51 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):

 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.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5835#comment:1>
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