FillGrid

Syntax

FillGrid(ref string inputGF, ref string resultGF, ref MapWinGIS.Shape poly, int newNumRows, int newNumCols, int rowClearCount, int firstCol, int firstRow, double firstXPt, double firstYPt, bool clipToExtents)

Summary

Fills the result grid with values from the input grid.

Parameters

Name Description
inputGF The path to the input grid.
resultGF The path to the result grid.
poly The polygon used in clipping.
newNumRows The number of rows in the result grid.
newNumCols The number of cols in the result grid.
rowClearCount The number of rows that should be filled before the unmanaged resources are disposed of.
firstCol The first column of the original grid that corresponds to the first column of the result grid.
firstRow The first row of the original grid that corresponds to the first row of the result grid.
firstXPt The X value (minX) of the first point in the result grid.
firstYPt The Y value (maxY) of the first point in the result grid.(
clipToExtents True if clipping to extents rather than polygon shape.

Returns

False if an error was encountered, true otherwise.

Last edited Jan 1, 2011 at 4:54 AM by gngdowid, version 1

Comments

No comments yet.