Notes · · 1 min read
Drawing streams from an elevation model
Let water run downhill cell by cell, count what flows through each cell, and the streams draw themselves.
A stream network can be computed from elevation alone. The classic method, published by O'Callaghan and Mark in 1984, sends the water in each cell to whichever of its eight neighbours lies steepest downhill. Counting, for every cell, how many cells drain through it gives the flow accumulation; drawing a line wherever that count passes a threshold gives the streams.
The threshold sets how much is drawn. It is an area: with 30 metre cells, one square kilometre of catchment is about 1,111 cells. A low threshold draws every gully that might carry water after rain, a high one only the main channels, and the right value depends on the rainfall as much as the terrain.
Real models need preparing first. Small pits, often just errors, stop the water, so they are filled before anything flows. Flat ground has no steepest neighbour and needs its own rule. And in a surface model, the kind described in free elevation models, a road embankment or a bridge deck is a dam: the computed stream turns and runs along the road instead of under it.
We use computed streams for planning, where a missing culvert is a question to ask, and always draw them apart from mapped waterways, so nobody mistakes a model for a survey.