| ToolBox Implementation | .NET Implementation |
Inputs:
Outputs:
Notes:
An example of Flow Accumulation D-infinity result (above)
and Flow Accumulation D8 (below).
Note the dispersion of flow in the D-infinity result
compared with the concentrated flow in D8.
Command line syntax
ETS_GPFlowAccumulationDinf <Input D-inf Flow Direction Raster> <Out Flow Accumulation Raster> {Stream Initiation Threshold} {Input D8 Flow Direction Raster}
Parameters
| Expression | Explanation |
|---|---|
| <Input D-inf Flow Direction Raster> | D-infinity Flow Direction raster layer or raster dataset |
| <Out Flow Accumulation Raster> | A String - the full name of the output raster (A raster with the same full name should not exist). The output raster type depends on the extension of the output file(see Notes above) |
| {Stream Initiation Threshold} | A Double representing the Threshold value |
| {Input D8 Flow Direction Raster} | D8 Flow Direction raster layer or raster dataset |
Examples:
ETS_GPFlowAccumulationDinf c:\test\FlowDirDinf.img c:\test\FlowAcc.img - all accumulation will be done using the multiple flow D-infinity method
ETS_GPFlowAccumulationDinf c:\test\FlowDirDinf.img c:\test\FlowAcc.img 1000 c:\test\FlowDirD8.img - accumulation below value of 1000 will be done using the D-infinity method, above 1000 the D8 Flow Directions will be used
Scripting syntax
ETS_GPFlowAccumulationDinf (Input D-inf Flow Direction Raster, Out Flow Accumulation Raster, Stream Initiation Threshold, Input D8 Flow Direction Raster)
See the explanations above:
<> - required parameter
{} - optional parameter
Reference:
Tarboton, D. G., (1997), "A New Method for the Determination of Flow Directions and Contributing Areas in Grid Digital Elevation Models", Water Resources Research, 33(2): 309-319
.NET implementation
(Go to TOP)
FlowAccumulationDinf (dinfFlowDirRaster As IRasterDataset2, sOutRaster As String, Optional iThreshhold As Integer = 0, Optional d8FlowDirRaster As IRasterDataset2 = Nothing) As IRasterDataset2
| Copyright © Ianko Tchoukanski |