int PitFill(string strDEMFile, string strResPitFillFile, string strFlowBurnInFile, string strResVerifiedFlowFile, MapWinGIS.ICallback cback)
Results in a DEM grid with pits (cells with surrounding cells all higher elevation) filled and plains (areas where there is no change to elevation) estimated to allow a flow path from all locations on the grid.
|strDEMFile||Path for the input DEM to be pit-filled.|
|strResPitFillFile||Path for the resulting output DEM grid.|
|strFlowBurnInFile||Optional path for a flow grid which has nodata values on everything except locations of a designated flow path, which will be burned in to the pit filled grid to ensure flow path along those grid cells.|
|strResVerifiedFlowFile||Optional path for a resulting output flow grid which has been generated from verifying the input burn in flow path. Will not be used if strFlowBurnInFile is not provided. If strFlowBurnInFile is provided but no strResVerifiedFlowFile, then the Verified file will be the input burn in file appended with ???ver???.|
|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