Catchment extraction

Command line

The Catchment Extraction operation can be directly executed by typing the following expression on the command line of the Main window:

  

OUTNAME

=

MapCatchmentExtraction(drainorder_rasmap, flowdir_rasmap)

where:

OUTNAME

is an output name that will be used for the output raster map, the output polygon map and the output attribute table. The output maps will contain all sub-catchments (one for each stream); the attribute table will contain information on each sub-catchment.

MapCatchmentExtraction

is the command to start the Catchment Extraction operation.

drainorder_rasmap

is a raster map that is the outcome of the Drainage Network Ordering operation, i.e. a raster map with an Identifier domain.

flowdir_rasmap

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

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.

The output maps and the output attribute table use the ID domain of the input drainorder_rasmap.

See also: