filter_clusters function

Cluster the river crossings and select the shortest crossing per cluster