I have a Layer and I have lines as if they were the sidewalks, so for every street I have two lines. The problem is that some of the lines are not joined, how could I join them?

enter image description here

  • Please research first before posting questions. gis.stackexchange.com/questions/46853/…
    – JoeBe
    Mar 3, 2020 at 7:39
  • I did that before, But didn't work. I put Default snap mode to Vertex. Snapping tolerance 15,00000 pixels and search radius for vertex edits also 15,00000 pixels Mar 3, 2020 at 7:57
  • See here for more info Another remark: do you really want each segment to be an own feature? Perhaps you should consider joining them.
    – JoeBe
    Mar 3, 2020 at 8:23

1 Answer 1


Open "QGIS with Grass", open the "Toolbox" under the "Processing" menu. Under "Processing Toolbox" searc type "Clean". There is a tool from Grass that should help you.

enter image description here

More details about the tool are available here.

  • I tried that, but the result is a error. I am going to explain: I have a line, with this line, I create 2 offset, after that in the above image I show you these 2 offset, but for example when I try what you told, I put one offset and then in tool I put just "snap". but it doesn't wrong. Mar 4, 2020 at 8:09
  • Use the snap tool.
    – GforGIS
    Mar 4, 2020 at 8:16
  • Yes, I did that. I put my "offset" in layer to dean, afterthat in "Input feature type" I selected all options (lines, points,...) if I change that and I put just one, also it doesn't work. And afterthat I put in "cleaning tool" -> "snap", and finally in "v.in.ogr snap torelance" I put 3,00000. I click in "run" but the program show me an error: ERROR 1: Wrong field type for fid. ERROR: Unable to create colun <fid> Mar 4, 2020 at 9:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.