Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working with shapefiles representing roads, so basically it's stored as (poly)lines.
I need to perform a road connectivity checking. In other words, I want to ensure that roads meant to communicate are really in contact, because I don't wanna see a little gap between my 2 segments of road.
I don't really see how to proceed. Should I compute the distance from the current line to the closest ones and then look if this distance is under a threshold? Or is there an easier solution?

share|improve this question
What software do you have available to you? What have you tried so far? What is the source of the data? It may be possible that the roads already have good connectivity. – Get Spatial May 14 '13 at 19:28
I only work using Python + GDAL/OGR. No GIS or graphical tools. Working on shapefiles, yes i guess it's already connected, but need to check to ensure that, and find out possible mistakes – eouti May 23 '13 at 13:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.