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

MergeShapes

Syntax

 bool MergeShapes(ref MapWinGIS.Shapefile shapes, int indexOne, int indexTwo, ref MapWinGIS.Shape resultShp)

Summary

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.

Parameters

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.

Returns

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 "http://mapwindow.org/wiki/index.php/MapWinGeoProc:Merge_MergeShapes"

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