Open jesselangdon opened 7 years ago
I think networkx should be able to do this.
See the file: https://github.com/SouthForkResearch/pyGNAT/blob/master/experiments/matt/point_to_outflow.py
I was able to specify an arbitrary starting point and traverse the network according to the line segment order until I got to an outflow point. I have no idea how correct this is but it's a start?
Similar to Shortest path between two points (Issue #10), except the user selects an upstream reach, and only finds the path to the outflow reach (i.e. lowest point in the stream network).