I have a network of polylines making up a stream network (from the National Hydrology Dataset). I also have 2 point files: one of areas of interest and another of locations of dams within the network. I'd like to find a way to calculate 1) the distance to the closest upstream dam for each of the areas of interest and 2) the distance to the closest downstream dam.
I would prefer to find a way to do this in ArcGIS but have also been looking into using R or Python script.