[GIS] Insert Vertex into Polyline based on Point layer using arcpy

arcgis-10.1arcpytopologyvertices

This is essentially the same question asked here that was not answered…

Using ArcGIS 10.1 Advanced

I have a point layer with points that represent the intersection of a driveway with a street centerline. There is not always a vertex on the street centerline where the driveway intersects, so I am looking for a solution (preferably using arcpy) that loops through each point and inserts a vertex on the line that intersects with that point. I do not want to use Split Line at Point method because I don't want to split the line. Looking for any ideas on how to accomplish this…

Best Answer

A quick and dirty solution that does not utilize scripting would be to import your polyline and point layers into a geodatabase, create a topology with the "Must Be Covered By Line" rule, and validate topology. The check will insert vertices at intersections where they do not already exist.

Related Question