<div dir="ltr">And some workarounds:<div><div><i>"How to join linestrings without reversing directions in PostGIS"</i><br></div></div><div><a href="https://gis.stackexchange.com/questions/353565/how-to-join-linestrings-without-reversing-directions-in-postgis">https://gis.stackexchange.com/questions/353565/how-to-join-linestrings-without-reversing-directions-in-postgis</a><br></div><div><br></div><div>Imre</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Imre Samu <<a href="mailto:pella.samu@gmail.com">pella.samu@gmail.com</a>> ezt írta (időpont: 2022. márc. 2., Sze, 14:33):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">> It appears that ST_LineMerge alters the sequence of vertices <div><br></div><div>probably related: </div><div>"Add possibility to merge lines without changing order of points."</div><div><a href="https://trac.osgeo.org/postgis/ticket/4939" target="_blank">https://trac.osgeo.org/postgis/ticket/4939</a><br></div><div><br></div><div>Regards,</div><div> Imre</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Shaozhong SHI <<a href="mailto:shishaozhong@gmail.com" target="_blank">shishaozhong@gmail.com</a>> ezt írta (időpont: 2022. márc. 2., Sze, 14:21):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">It appears that ST_LineMerge alters the sequence of vertices when a set of line geometries that meet at ends are merged together.<div><br></div><div><a href="https://postgis.net/docs/ST_LineMerge.html" target="_blank">ST_LineMerge (postgis.net)</a><br></div><div><br></div><div>Any robust way to do the following?</div><div><br></div><div>Given a set of lines that meet at ends</div><div>Generate a new line by merging these together and maintain the original order of vertices</div><div><br></div><div>Regards,</div><div><br></div><div>David</div></div></div>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a><br>
</blockquote></div>
</blockquote></div>