get_corridor_edges function

Split corridor along the river to find edges on the two banks