1

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

1
  • Intersect - summary statistics
    – BERA
    Jun 6 at 18:01
0

I created a test dataset as shown below:

data

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

Selected

2
  • Thank you @Hornbydd but it is not working properly it is selecting not crossed lines also Jun 7 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
    Jun 7 at 11:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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