MapWinGeoProc:ClipGridWithPoly ClipGridWithPolygon
From MapWindow GIS
ClipGridWithPolygon
Syntax
bool ClipGridWithPolygon(ref string inputGF, ref MapWinGIS.Shape poly, ref string resultGF, System.Boolean clipToExtents)
Summary
Creates a new grid containing data from the input grid that
falls within the polygon boundary.
Parameters
| inputGF | Full path to the input grid file. |
| poly | The 2D polygon used for clipping the input grid. |
| resultGF | Full path to where the resulting grid will be saved. |
| clipToExtents | True if clipping to polygon extents rather than actual polygon shape. |
Returns
True if clipping was successful, false if an error occurs.
Visual Basic Net 2005 Example Implementation Code
Visual C# 2005 Example Implementation Code
Back to ClipGridWithPoly
















