Generates a watershed basin from a drainage direction map and a set of coordinates representing the outlet point of watershed.

Inputs



Output



Notes

The most important thing in this module is to choose a good water outlet. If the coordinates are unknown click with the mouse on the network map ensuring to select a pixel on the extracted network (value 2 in the network map).