Select Lines Closest to Another Set of Lines

467
1
05-23-2019 06:54 PM
AshirwadBarnwal
New Contributor

I am trying to select lines shown in green color that are closest to the blue lines along the direction of the blue lines. I did a lot of Google search, but I could not find the tool that will help me accomplish this task. I would really appreciate if someone could help me figure out a way to perform this selection. Thanks.

0 Kudos
1 Reply
KoryKramer
Esri Community Moderator

Do want to select green lines that are closest to the blue lines and have the EXACT same bearing as the blue lines?

If your main concern is the bearing, I'd recommend using https://pro.arcgis.com/en/pro-app/tool-reference/data-management/add-geometry-attributes.htm to calculate the Line Bearing for your lines.  If you are trying to match to individual segments of lines with multiple vertices, you may need to first run your green lines through https://pro.arcgis.com/en/pro-app/tool-reference/data-management/split-line-at-vertices.htm

That way, you could get something like this:

At that point, it comes down to an attribute query as opposed to a spatial query...

0 Kudos