Snapping together lines within certain tolerance with ArcPy and Basic level license?

by DiamondJoe12   Last Updated August 13, 2019 21:22 PM

I have a GIS layer of bike lanes I created using an open-source GeoJSON which I converted to a shapefile using ArcPy. The end result looks pretty good, with one exception: there is some small gaps between the polyline features. Shown below, and example:

enter image description here

Is there a way in ArcPy to snap together lines like these, using a specific tolerance?

I'm avoiding using the topology toolset since I don't have access to that license.

Other thoughts on how to easily achieve snapping of polylines without more than a basic license?

I'd like this script to be run on multiple computers, which may or may not have more than a basic license.



Related Questions


Updated June 06, 2017 15:22 PM

Updated September 25, 2017 23:22 PM

Updated December 05, 2017 18:22 PM

Updated December 10, 2017 22:22 PM

Updated February 20, 2016 01:09 AM