MapWinGeoProc:SpatialOperations ClipShapesWithPolygon2

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 ClipShapesWithPolygon(ref string inputSFPath, ref MapWinGIS.Shape polygon, ref string resultSFPath, System.Boolean speedOptimized)


Saves all points/lines/polygons within the polygon's border to a new shapefile.


inputSFPath Full path to the input shapefile that will be clipped.
polygon 2D polygon used for clipping objects in inputSF.
resultSFPath Full path to where the resulting shapefile should be saved.
speedOptimized True if speed of computation is more important than accuracy when dealing with line shapefiles.


True if clipping was successful, false if an error was encountered.

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

Retrieved from ""

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