MapWinGeoProc:HydroProc DefineStreamGrid

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 DefineStreamGrid(int iThreshold, string strAreaD8File, string strD8SlopeFile, string strD8File, string strPitFillFile, string strResStreamGridFile, MapWinGIS.ICallback cback)


Not Implemented
Generates a grid containing values only in cells categorized as 'stream path cells' by the accumulation threshold method.


iThreshold The threshold value used for the accumulation algorithm wherein the value given is the minimum cell value on the Area D8 grid to be categorized as a stream cell. As such, the lower the number, the more branched the stream network will appear.
strAreaD8File Path to the Area D8 file.
strD8SlopeFile Path to the D8 slope file.
strD8File Path to the D8 grid file.
strPitFillFile Path to the pit filled DEM file.
strResStreamGridFile A path to the resulting output 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 Implementation Code
Visual C# 2005 Example Implementation Code
Back to HydroProc

Retrieved from ""

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