I have a map that I have digitised and converted to a vector layer (the rivers only). The problem is that the vectorisation has produced a large number of segments for each river, that show up as different features (each may have multiple straight line segments, but they do not cover whole rivers). What I am looking for is a tool to merge into one feature (a polyline, I guess) all the segments whose extremes are within a given distance. I am using QGis, and the GRASS plugin. I have tried v.clean.snap, v.build.polylines, but did not yet manage to actually merge the lines. Any help would be very appreciated!
In ArcGIS and ArcGIS Pro, the Merge Tool is in the Data Management Toolbox and within the General Toolset. You can add your inputs and change your output feature class name. The field map option is to match all the corresponding fields, so they'll be combined together after running the Merge Tool.
A very late answer that could be useful to other people :
I faced the same issue and I developed a QGIS plugin to solve it. It automatically merges multiple connected lines (i.e. lines that share an endpoint) into a smaller set of longer lines. The output layer type is Line, not PolyLine. Merging can be based on one of these two criteria:
This plugin is called MergeLines (full documentation here), you can find it in the public QGIS repo. Work is still in progress, don't hesitate to suggest new functionalities.
I'd suggest selecting the line parts manually and then using the "merge" tool (located in advanced editing toolbar).
You might also want to ask such questions over at http://gis.stackexchange.com
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With