[postgis-tickets] [PostGIS] #4991: st_union of single row should keep the row intact
PostGIS
trac at osgeo.org
Thu Sep 16 05:52:58 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:
----------------------+---------------------------
Changes (by komzpa):
* status: new => closed
* resolution: => invalid
Comment:
Result of single-row ST_Union can also be identical to result of
ST_UnaryUnion. It is also documented that ST_Union will perform Cascaded
Union on your input https://postgis.net/docs/ST_Union.html
If you need to keep your linestring simple because there's more semantics
to it, use appropriate functions like ST_Collect that don't modify
elements.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4991#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