Is there a relatively quick way to identify where gaps < a certain size are present between polyline? E.g. would there be an easy way to join line likes the ones in the below image if the gap was <10m?

enter image description here

I have access to ArcMap, MapInfo and QGIS.

  • Do the lines have a unique identifier? You may be able to use topology rules, specifically Rule: Must Be Single Part.
    – Aaron
    Commented Feb 11, 2014 at 16:29
  • Each line is part of a named road sections, one section may have multiple, but I don't need any identifiers for the final result as I am combining all data and disaggregating it, as it will be queried against another road network using spatial queries
    – Alan Carr
    Commented Feb 11, 2014 at 16:30
  • Wasn't clear on your statement "one section may have multiple". Can you look for multiple features per some attribute value to indicate gaps (although this would not be filtered by <10m)?
    – Roland
    Commented Feb 11, 2014 at 18:57

3 Answers 3


In ArcGIS, you may want to try Extend Line (Editing). In the tool you can specify the extend length to a tolerance of 10m.

enter image description here

  • Thanks, but unfortunately my work doesn't have that feature licensed :(
    – Alan Carr
    Commented Feb 11, 2014 at 16:20

Don't know how quick this (untested) ArcMap solution would be, but...also not sure of your licensing limitations on function access.

Could run MultipartToSinglepart_management, GenerateNearTable on the result, and filter on distance. You might have to use JoinField or something on the singlepart result to bring over whatever attribute field you're using to unify multipart features.

Could probably use Buffer or something similar in lieu of GenerateNearTable.



If you have MapInfo Professional 12.0, have a look at the new PolyBuilder tool that has been added to the Tool Manager

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.