<< MakeStrahlerStreams Ordering streams and traversing networks SampleMainStream >>

CLaRiNet 0.1 beta >> Ordering streams and traversing networks > MakeStreamLines

MakeStreamLines

Builds the streamlines (set of polylines) of a drainage network with a specified support threshold area

Calling Sequence

[ STREAMS , downStream , downCell ] = MakeStreamLines ( handle_tree , threshold )

Arguments

handle_tree

integer: handle of the cell tree defining the catchment whose flowlines are to be built.

threshold

Support area (i.e. minimum weight) defining the first-order streams.

STREAMS

output: object of type list containing the streamlines. STREAMS(i) is a vector containing the cells (recor numbers) of streamline i, sorted downstream to upstream.

downStream

output: vector of length length(STREAMS) indicating the outlet stream of each stream. Stream STREAMS(i) drains into stream STREAMS(downStream(i)).

downCell

output: vector of length length(STREAMS) indicating the outlet cell of each steam. The most downstream cell of stream i, STREAMS(i)(1), drains into cell downCell(i) (this cell belongs to stream STREAMS(downStream(i))).

Description

Builds the streamlines (set of polylines) of a drainage network with a specified support threshold area, as well as the topology between thoses streams.

Examples

See Also

Authors

<< MakeStrahlerStreams Ordering streams and traversing networks SampleMainStream >>