[postgis-tickets] [PostGIS] #4991: st_union of single row should keep the row intact

PostGIS trac at osgeo.org
Thu Sep 16 06:58:03 PDT 2021


#4991: st_union of single row should keep the row intact
----------------------+---------------------------
  Reporter:  michal   |      Owner:  pramsey
      Type:  defect   |     Status:  closed
  Priority:  medium   |  Milestone:  PostGIS 3.1.5
 Component:  postgis  |    Version:  3.1.x
Resolution:  invalid  |   Keywords:
----------------------+---------------------------

Comment (by michal):

 the documentation for st_memunion says `Produces the same result as
 ST_Union`, which at least in the above case, is not true (st_union creates
 multilinestring, st_memunion creates linestring).

 even with usage of cascaded union, the union should not split the
 geometry.

 (plus st_union probably does not use cascaded union on linestring, only on
 polygons, or the comments are outdated)

 (of course, I do not know whether the data is singlerow or multirow before
 running the query).

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