In QGIS after creating contour lines by extracting them from a DEM (Extraction > Contour) and smoothing them (Line Smoothing) I noticed this situation:

enter image description here

In order to smooth out the corners displayed in the screen more, I set the parameters of the tool in this way:

enter image description here

The result is this:

enter image description here

Every line is broken. Is there an easy way to join them without having to modify them one by one and without losing the data for all of them?


From the Processing toolbox you can tryv.cleantool from GRASS. Make sure you use the snap option and that the snapping distance is adequate. However note that this tool afects the placement of your line but since you already went to several simplification steps this should an acceptable trade off for you.

| improve this answer | |
  • I'm afraid it's not working. I've tried to adjust the parameters several times but the situation remains unchanged. – ddomizia Feb 8 at 15:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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