MapWinGeoProc:Merge MergeShapes

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 MergeShapes(ref MapWinGIS.Shapefile shapes, int indexOne, int indexTwo, ref MapWinGIS.Shape resultShp)


Merges two lines (at matching end points) or two polygons
(by dissolving the common border or by combining into a multi-part polygon)
to make one result shape.
This version requires that both shapes be located in the same shapefile.


shapes The shapefile containing the two shapes to be merged.
indexOne The index of the first shape.
indexTwo The index of the second shape.
resultShp The result of merging the shapes at indexOne and indexTwo together.


True if the shapes were merged, false otherwise.

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

Retrieved from ""

This page has been accessed 1,440 times. This page was last modified on 26 June 2006, at 02:58.