User Tools

Site Tools


api:dk11:delphi:gishydrology.tgis_hydrology.fill_tgis_layerpixel_tgis_extent_tgis_layerpixel_boolean

Table of Contents

TGIS_Hydrology.Fill method

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

Generates the hydrologically conditioned DEM.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  procedure Fill(
    const _dem : TGIS_LayerPixel;
    const _extent : TGIS_Extent;
    const _hydroDem : TGIS_LayerPixel;
    const _applySlope : Boolean = FILL_APPLY_SLOPE
  );
// C++ Builder
public:
  void Fill(
    TGIS_LayerPixel* const _dem,
    TGIS_Extent* const _extent,
    TGIS_LayerPixel* const _hydroDem,
    const bool _applySlope
  );

Parameters

Name Type Description
_dem TGIS_LayerPixel an input DEM
_extent TGIS_Extent an extent to be processed
_hydroDem TGIS_LayerPixel the output grid layer
_applySlope Boolean if True, algorithm applies a slight slope to ensure the drainage of water for each cell; if False, sinks are flooded and form flat areas; default parameter is True

Remarks

Applying slope is strongly recommended. A DEM with flat areas may still cause unexpected results and such models need futher preparation. The ResolveFlat tool may be use for this purpose.

References

2021/05/26 01:14

Page Tools