I have two point layers, one is set of origin points and one is a set of destination points, each with 608 points. Object IDs match the origins to the destinations. The points are all snapped to the National Hydrography Dataset (NHD) streams. I am working in ArcMap 10.5.
I need to find the distance between the paired points along the NHD stream network, AND state whether the route is upstream or downstream.
Edit 1: Image added by request. In this example, the destination point is upstream of the origin point along the route I highlighted. There are several other destination points which are closer. I need the distance and direction (upstream/downstream) to the matching destination point only. There are 608 of these pairs across the study area.
I have successfully found the distance between origins and destinations along the NHD network, as shown in the image, by generating an OD Cost Matrix in Network Analyst, adding origins and destinations, and selecting the lines where origin ID = destination ID. However, this does not include whether the destination is upstream or downstream.
One potential option would be to find a way to trace upstream of each origin point until reaching the correct destination point. If it does not find the correct destination point upstream, then it could be assumed that the destination point is downstream (or vice-versa). Tracing a geometric network have a way to do this, but I cannot find a way to implement this to find the paired destination point, rather than just finding the closest destination point.
Any ideas for finding the distance and direction along a stream network between pairs of points?