int D8(string strPitFillFile, string strResD8File, string strResD8SlopeFile, string strVerifiedFlowFile, MapWinGIS.ICallback cback)
Generates a D8 directional grid by assigning a number from 1 to 8 (0 to 7 in some algorithms) based on a direction to the lowest elevation cell surrounding that cell.
|strPitFillFile||Path of a pit-filled DEM.|
|strResD8File||Output result file of a D8 directional grid.|
|strResD8SlopeFile||Path to an output grid containing the slope from the cell to the lowest elevation surrounding cell.|
|strVerifiedFlowFile||Optional path to an input verified flow file grid if using a flow burn in grid.|
|cback||An optional callback object which allows progress and messages to be returned during functionality.|
Integer representing successful creation on 0 or some error state otherwise.
Visual Basic Net 2005 Example
Visual C# 2005 Example Implementation Code
Back to HydroProc