I assume you mean the start of the second is the end of the first?

Have you tried ST_LineMerge ?
http://postgis.refractions.net/documentation/manual-svn/ST_LineMerge.html

Leo

 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Emiliano
Romero
Sent: Monday, April 20, 2009 2:59 PM
To: [email protected]
Subject: [postgis-users] Merge MultiLineString not Ordered


Hi!, I have a MultiLineString with two LineStrings inside. The start of the
first is the start of the second one. Is there any way to union/merge into a
single linestring?

I could simply use ST_Reverse, but actually there can be several LineStrings
inside the MultiLineString.

Any help will be appreciated.

Regards
Emiliano Romero

 This email and any attachments thereof may contain confidential,
privileged, proprietary, or otherwise private information. This email is
intended solely for the use of the individual to whom it is addressed. If
you are not the intended recipient of the email and its attachments please
inform the sender immediately and do not disclose the contents to any other
person, use it for any purpose or store or copy the information in any way
and delete this e-mail and its attachments from your system. Any views or
opinions expressed are solely those of the author.
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users



_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to