ST_Union behaviour

Antonio Valanzano anvalanz at gmail.com
Mon Dec 23 00:46:58 PST 2024


Does someone know why ST_Union behaves differently with linestrings and
polygons?

If a table contains linestrings that overlap at some points then ST_Union
creates a collection of linestrings  that are splitted at intersections.

If a table contains polygons with overlaps then ST_Union creates a
collection of polygons that are still overlapped and are not splitted (the
result contains only the original polygons).

Thanks in advance.

Antonio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20241223/1c795c83/attachment.htm>


More information about the postgis-users mailing list