This project is read-only.

ClipGridWithPolygon

Syntax

ClipGridWithPolygon(ref string inputGF, ref MapWinGIS.Shape poly, ref string resultGF, bool clipToExtents)

Summary

Creates a new grid containing data from the input grid that falls within the polygon boundary.

Parameters

Name Description
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.

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

Comments

No comments yet.