I have two shape files with lines: one has 41k+ lines and the other has 606 lines. Lines from these layers often overlap. I want to use the second one as a mask to clip lines from the first one so I have a layer with around 40,5k with overlapping features deleted. I have tried "Difference" and "Symmetrical difference" operations in QGIS but they didn't work for me. How can I do it then?
You may be able to accomplish this, using the clip function and a buffer. If you place a very thight buffer and delete everything that either touches it or is completly encased you may get your results.