<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi,<div>This is the plugin I was referring to.  I don’t see it in the current plugins (experimental turned on)  so I figured it’s QGIS 2 only.<br><div><br></div><div><a href="https://github.com/ArMoraer/QGISMergeLines">https://github.com/ArMoraer/QGISMergeLines</a><br><br><div dir="ltr">Nicolas Cadieux<div><a href="https://gitlab.com/njacadieux">https://gitlab.com/njacadieux</a></div></div><div dir="ltr"><br><blockquote type="cite">Le 30 août 2021 à 06:56, Nicolas Cadieux <njacadieux.gitlab@gmail.com> a écrit :<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><meta http-equiv="content-type" content="text/html; charset=utf-8">Hi,<div><br><div>Thanks for the info.  There was also a line_merge (or merge line) plugin.   The problem with the function that you are indicating is that it take a single Multilinestring and create a simple linestring if the ends are connected.  What I am looking for is a way to select a file made of simple linestrings and to merged them into a single multilinestring if they share a node or share and object that shares a node.  So, for example, if you had two cities separated by a river (and there was no way to cross the river), all the roads would be merged in two objects, one for each city.</div><div><br></div><div>This post explains what I would like.  It offer a QGIS 2 script that could help. <a href="https://gis.stackexchange.com/questions/198317/join-merge-lines-that-touch-and-intersect-in-qgis">https://gis.stackexchange.com/questions/198317/join-merge-lines-that-touch-and-intersect-in-qgis</a></div><div><br></div><div>I will share a file with and example of what I am looking for.<br><br><div dir="ltr">Nicolas Cadieux<div><a href="https://gitlab.com/njacadieux">https://gitlab.com/njacadieux</a></div></div><div dir="ltr"><br><blockquote type="cite">Le 29 août 2021 à 17:12, Andrea Giudiceandrea <andreaerdna@libero.it> a écrit :<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><blockquote type="cite"><span>Nicolas Cadieux Sun, 29 Aug 2021 08:18:08 -0700</span><br></blockquote><span></span><br><blockquote type="cite"><span>I did see a merge function but did not find the line_merge plugin in  the repository.</span><br></blockquote><span></span><br><span>Hi Nicolas,</span><br><span>"line_merge" is not a plugin. It is a function  available in QGIS expression / field calculator:</span><br><span></span><br><span>14.3.13.53. line_merge</span><br><span>Returns a LineString or MultiLineString geometry, where any connected LineStrings from the input geometry have been merged into a single linestring. This function will return NULL if passed a geometry which is not a LineString/MultiLineString.</span><br><span>https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/functions_list.html#line-merge</span><br><span></span><br><span>Regards.</span><br><span></span><br><span>Andrea Giudiceandrea</span><br><span>_______________________________________________</span><br><span>Qgis-user mailing list</span><br><span>Qgis-user@lists.osgeo.org</span><br><span>List info: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br><span>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br></div></blockquote></div></div></div></blockquote></div></div></body></html>