This repository has been archived by the owner on Mar 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Strahler stream order
agouge edited this page Apr 3, 2013
·
21 revisions
The Strahler number of a mathematical tree is a numerical measure of its branching complexity. It is defined on nodes as follows:
- Leaves have a Strahler number of 1.
- For a nonleaf v:
- If v has a child with Strahler number i and all other children have Strahler number less than i, then the Strahler number of v is i.
- If v has two or more children with Strahler number i and there is no child with Strahler number greater than i, then the Strahler number of v is i + 1.
The definition can easily be extended to edges by defining the Strahler number of an edge to be the minimum of the Strahler numbers of its start and end nodes.
See an example script that you can test on an example network named test_hydro.gdms
.
In OrbisGIS, we can visualize the Strahler number by applying different colors and/or thicknesses to the edges. After applying this style to the test_hydro.strahler_edges
layer, we obtain the following representation:
Here is the original network, represented in the test_hydro
layer: