User Tools

Site Tools


api:dk11:delphi:gishydrology.tgis_hydrology.streamorder_tgis_layerpixel_tgis_layerpixel_tgis_extent_tgis_layerpixel_tgis_hydrologystreamordermethod_integer

Table of Contents

TGIS_Hydrology.StreamOrder method

DK11 for Delphi | GisHydrology.TGIS_Hydrology.StreamOrder | Constructors | Methods | Events

Generates a stream order grid from a flow direction and flow accumulation grids and a specified method.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  procedure StreamOrder(
    const _flowDir : TGIS_LayerPixel;
    const _flowAcc : TGIS_LayerPixel;
    const _extent : TGIS_Extent;
    const _streams : TGIS_LayerPixel;
    const _method : TGIS_HydrologyStreamOrderMethod = STREAM_ORDER_METHOD;
    const _threshold : Integer = STREAM_ORDER_THRESHOLD
  );
// C++ Builder
public:
  void StreamOrder(
    TGIS_LayerPixel* const _flowDir,
    TGIS_LayerPixel* const _flowAcc,
    TGIS_Extent* const _extent,
    TGIS_LayerPixel* const _streams,
    TGIS_HydrologyStreamOrderMethod* const _method,
    const int _threshold
  );

Parameters

Name Type Description
_flowDir TGIS_LayerPixel an input flow direction grid
_flowAcc TGIS_LayerPixel an input flow accumulation grid
_extent TGIS_Extent an extent to be processed
_streams TGIS_LayerPixel the output grid layer
_method TGIS_HydrologyStreamOrderMethod stream ordering method; default parameter is Strahler
_threshold Integer use this property to limit processed cells from the flow accumulation grid; default parameter is -1, which means the recommended value for this tool is automatically assigned

Remarks

Recommended threshold for this tool is 1% of the maximum value from flow the accumulation grid.

References

2021/05/26 01:14

Page Tools