In QGIS I'm attempting to create a buffer zone around a number of connected lines, then use the buffer layer to clip another layer. The lines features were provided as a shape file, and buffering works fine. However when I try to clip with the buffered layer I get an error stating 'invalid geometry'. Upon closer inspection, there is a line not connected to the others (see image), which appears to be the source of the error. How do I connect this line to the other? I've experimented with edit features (extend, reshape etc.) but can't seem to find the function I require to link them.enter image description here

  • This is not an invalid geometry. Invalid geometries are e.g. self intersecting geometries, or duplicate nodes.
    – Erik
    Commented Nov 7, 2020 at 13:03
  • When I dissolve buffer the lines into a new layer, then try to clip another layer with this buffered layer I get this message: Feature (36) has invalid geometry. Please fix the geometry or change the Processing setting to the "Ignore invalid input features" option. Execution failed after 0.06 seconds
    – Fraxinus
    Commented Nov 7, 2020 at 13:13
  • Use Fix Geometries tool to fix them
    – Bera
    Commented Nov 7, 2020 at 15:09

1 Answer 1


Use Fix geometries to fix them:

Attempts to create a valid representation of a given invalid geometry without losing any of the input vertices. Already valid geometries are returned without further intervention. Always outputs multi-geometry layer.

Your Answer

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

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