Hello Everyone,
I have a network of local roads and I need to find the intersecting "from" and "to" streets for select road segments.
For example, in the following image, for the circled segment of Hendon Ave, I need to be able to identify that the segment goes from "Grantbrook St" to "Carney Rd". Order doesn't matter. It could be from Carney Rd to Grantbrook St.
My network is fully segmented at each intersection. Each segment has the attributes "from_node" and "to_node". The image below shows a typical segment within the network.
I am having a hard time identifying the "from" and "to" streets.
I tried using spatial relator, which successfully gives me the related candidates. But in a case like this, I will get 4 related candidates.
I considered using linejoiners to join Street B and Street A, but I will lose the from_node and to_node information. That information is useful when I have more than 4 related candidates. For example, for 4 way intersections on both ends.
The result I need is strictly the following. The node information is not required.
Road Segment From To
Street C Street B Street C
Any help will be appreciated!