The extraction of drainage networks from digital elevation data