Create a line connecting closest parts or segments and not thru centroids

11-30-2016 10:29 PM
New Contributor

Hi Everyone,

I have a question. How can I generate a line like the blue line, connecting closest parts or segments of features closest to each other. The XY to line tool in ArcGIS uses the centroid of both features to generate the line. That is not what I want to achieve but rather the blue line. is it possible to do in ArcGIS without scripting. or maybe someone has a script that they can share



0 Kudos
2 Replies
MVP Frequent Contributor

Use Near Table in Analysis Tools Proximity. Check the location radio button.

The Near table output can then be used with XY to Line.

See this :

MVP Esteemed Contributor

I moved this thread to Geoprocessing (was in User Conference).

0 Kudos