Select to view content in your preferred language

find which lines from one feature that cross a line from another feature

283
3
09-12-2024 11:23 AM
Joanne_M
New Contributor

I have a line shapefile (file A) with hundreds of individual lines (animal movement lines) and a second shapefile (file B) with a series of line segments that make up a larger line (a freeway). I would like find which lines in file A cross over the lines in file B. I am not interested in the points of intersection, but just which lines cross. In other words I want a filtered version of file A with just the lines that cross over file B. The intersect tool only seems to be able to give me the points of intersection.

Tags (1)
0 Kudos
3 Replies
clt_cabq
Frequent Contributor

Use the spatial join geoprocessing tool (not the right click option from the TOC though). If you specify File A (critter paths) as the target and File B (freeway) as the join features, uncheck the option to keep target features, then used "Crossed by the Outline of" as the Match Option, you'll get the result you want. 

Joanne_M
New Contributor

It worked! Thank you!

DanPatterson
MVP Esteemed Contributor

Select Layer By Location (Data Management)—ArcGIS Pro | Documentation

with the intersect option would be a good place to start

Spatial Join (Analysis)—ArcGIS Pro | Documentation

would be another


... sort of retired...
0 Kudos