User Tools

Site Tools


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.


// Delphi
  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
  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


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


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


2021/05/26 01:14

Page Tools