[postgis-users] A new LineMerge is required
Shaozhong SHI
shishaozhong at gmail.com
Wed Mar 2 08:16:35 PST 2022
Given several lines as 'LINESTRING(0 0, 1 1)', 'linestring(1 1, 2 2)',
'Linestring(3 3, 2 2)', 'linestring(4 4, 3 3)', 'linestring(4 4, 5 5)',
'linestring(5 5, 6 6) ', how to build a joined up line with repeating
points of connection?
Current St_LineMerge appears not to do the job.
What is needed is to build a new line based on what is given.
Lines are connected.
But the newly built line should be a line that keeps the order of the
original vertices and do not repeat any vertices.
Regards,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20220302/5e9db92a/attachment.html>
More information about the postgis-users
mailing list