I have two line feature classes.

One road line (long line) and second is hookline i.e entry point to house (short line).

Reference screen shot

enter image description here

In the above screen shot I have three shapefiles

  1. Road Ways (RED)

  2. Hookline (Blue Entry Lines to House )

  3. Houses (Yellow Boxs)

I need to select which hooklines crosses the Road and how many times crossed the road, need that count also. in the above figure count is 6

  • Intersect - summary statistics
    – Bera
    Commented Jun 6, 2021 at 18:01

1 Answer 1


I created a test dataset as shown below:


Simply use the Select by Location tool with the the spatial selection method set to Are crossed by the outline of to achieve this:


  • Thank you @Hornbydd but it is not working properly it is selecting not crossed lines also Commented Jun 7, 2021 at 1:34
  • In my test data the hook line goes from the house to the road line, except in the case of a line crossing a road. You need to edit your question and add more information about the topological relationship that your hook lines have with the roads. You may not be able to answer this question in a programatically way.
    – Hornbydd
    Commented Jun 7, 2021 at 11:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.