MapWinGeoProc:SpatialOperations ClipGridWithPolygon2

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



 bool ClipGridWithPolygon(ref string inputGFPath, ref MapWinGIS.Shape polygon, ref string resultGFPath, System.Boolean clipToExtents)


Creates a new grid containing data from the input grid that
falls within the polygon shape or within the polygon extents.


inputGFPath Full path to the input grid file.
polygon The 2D polygon used for clipping the input grid.
resultGFPath Full path to where the resulting grid will be saved.
clipToExtents True if clipping to polygon extents rather than actual polygon shape.


True if clipping was successful, false otherwise.

Visual Basic Net 2005 Example Implementation Code
Visual C# 2005 Example Implementation Code
Back to ClipGridWithPolygon

Retrieved from ""

This page has been accessed 501 times. This page was last modified on 26 June 2006, at 18:52.