int AreaD8(string strD8File, string strResAreaD8File, string strOutletsFile, MapWinGIS.ICallback cback)
Generates an area D8 grid which shows the paths of highest flow and can be used to delineate stream networks.
|strD8File||Path to a D8 grid to be converted into an area D8 grid.|
|strResAreaD8File||Path to an area D8 output grid,|
|strOutletsFile||Optional path to a point shape file which is used to designate outlet points on a grid. If this path is given, the resulting area D8 grid will only include values for those areas of the grid which flow into the outlet points given. All other portions of the grid will be set to 0.|
|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