I am using a road map in shapefile format in order to calculate a route between two points. The map is downloaded from OpenStreetMap and it has small unconnected lines that are messing up my routing.
Is there any way that I could get rid of those without having to manually remove them one by one? The lines look like this: http://screencast.com/t/4jnQFx57