I have one shapefile which contains hiking routes and another shapefile which has ski routes. Sometimes they follow the exact same path.
In QGIS if the lines mentioned above are in the same SHP I can merge two lines in edit mode by selecting them and Merge selected features and then chose Concatenation with an attribute field so that the value of the merged line will be "hiking,skiing" etc.
This method takes time since I have thousands of lines like this.
Is there a way to do this for whole shape files? Maybe five or six of them.
I saw How can i merge lines with same name and intersect each other? which is similar but I'm not familiar with spatialite and would like to stick to GDAL and/or QGIS.