Drainage network ordering

Command line

The Drainage Network Ordering operation can be directly executed by typing the following expression on the command line of the Main window:

  

OUTNAME

=

MapDrainageNetwOrkordering(DEM_rasmap, flowdir_rasmap, drainnetwork_rasmap, minLength)

where:

OUTNAME

is an output name that will be used for the output raster map, the output segment map and the output attribute table. The output maps will contain stream ordered drainages; each stream is identified by its own ID; the output attribute table will contain information on each stream.

MapDrainageNetworkOrdering

is the command to start the Drainage Network Ordering operation.

DEM_rasmap

is a raster map that contains height values, i.e. a raster map with a value domain.

flowdir_rasmap

is a raster that is the outcome of the Flow Direction operation, i.e. a raster map with system domain FlowDirection.

drainnetwork_rasmap

is a raster that is the outcome of the Drainage Network Extraction operation, i.e. a raster map with a Bool domain.

flowacc_rasmap

is a raster map that is the outcome of the Flow accumulation operation, i.e. a raster map with a value domain.

minLength

is a value for the minimum length (in m) that drainage segments should have to remain in the drainage network output maps (real value ≥ 0).

If the condition is met, this drainage line is kept in the output maps and in the attribute table; else it is deleted.

When the definition symbol = is used, a dependent output map is created; when the assignment symbol := is used, the dependency link is immediately broken after the output map has been calculated.

Furthermore, an ID domain will be created with the same name as the output maps and the output attribute table; the output maps and the output attribute table will use this domain.

See also: