MapWinGeoProc:HydroProc PitFill

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy



 int PitFill(string strDEMFile, string strResPitFillFile, string strFlowBurnInFile, string strResVerifiedFlowFile, MapWinGIS.ICallback cback)


Not Implemented
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 Implementation Code
Visual C# 2005 Example Implementation Code
Back to HydroProc

Retrieved from ""

This page has been accessed 502 times. This page was last modified on 26 June 2006, at 02:55.