I have river networks (polyline) of several adjacent countries as shapefiles that almost match up at the borders, but not quite.
Is there any way to automatically connect them to a consecutive river network and define a tolerance distance. I was thinking along the lines of ArcGIS's Integrate feature but it didn't do the trick. Open to suggestions in ArcGIS 10 sp5 (or 10.1) and Qgis. Exact preservation of the geometry is not necessary.
Update: Sometimes there are only small gaps between the networks, but mostly they overlap in very weird ways, so edgematch and extend line are not an option. The following picture should clarify my problem: