D8 Flow Direction
Chooses one of eight neighboring cells with the steepest downward slope.
si=(zc−zi)/di
Direction = argmaxi si
Best used when: a single-direction grid drainage model is appropriate.
Calculate the downslope flow direction from each DEM cell, typically using an eight-neighbor (D8) grid.
HydrologyEnd-User DocumentationTheory + Formula + ParametersCalculate the downslope flow direction from each DEM cell, typically using an eight-neighbor (D8) grid.
Chooses one of eight neighboring cells with the steepest downward slope.
| Input | Type | Requirement | Description |
|---|---|---|---|
| DEM Raster | raster | Required |
| Parameter | Default | Choices / Range | How to Use It |
|---|---|---|---|
| Elevation Band | — | — | |
| Fill Sinks First | On | — |
The result should be interpreted according to the selected method and the physical meaning of the input data. Preserve source units, coordinate reference information, NoData meaning, acquisition date, and preprocessing level when comparing results.