I want to calculate upstream and downstream distances along river polylines between barrier points.
I’ve got as far as generating a topologically correct river network divided at barrier locations, river intersections and junctions complete with network_id.
I’m stuck on the next steps! The main challenge is what to do upstream when a river branches out.
Any help would be greatly appreciated!


