[GIS] Extend lines to nearest feature

arcmappolyline-creation

I am attempting to extend a series of polyline features to an adjacent polyline feature. I need the lines to intersect, but not extend beyond the 'first hit' of the adjacent polyline feature and maintain their original bearing. As such, distance bearing to line using a set distance and the edgematch tools aren't suitable. The extend lines to layer tool (Extending batch of lines to another object using ArcGIS Desktop?) just crashes/hangs. And ETGeoWizards/Geotools doesn't seem to have the necessary tools. Any other suggestions. I would like to create a point layer at the line intersects.
I'm using ArcMap 10.5.1 with advanced license. (Image: Yellow lines = line segments to extend, pink = adjacent shoreline. Red dashed line = what I would like to happen)
Yellow lines = line segments to extend, pink = adjacent shoreline. Red dashed line = what I would like to happen

Best Answer

What you can do :

  1. Copy the pink feature.
  2. Merge the copied pink feature with the yellow feature.
  3. Use the tool Extend lineswith the merged feature. You don't need to write something in Extend Length.

It should work in your case. You can remove the coast field of your merged feature if you want.

I hope it helps you.

Related Question