IGeometryCollection unionCol = new GeometryBag() as IGeometryCollection; ITopologicalOperator unionPoly = new PolygonClass() as ITopologicalOperator; object Missing = Type.Missing; IFeature pFeature = featureCursor.NextFeature(); while(pFeature!=null) { IGeometry pGeometry = pFeature.Shape; unionCol.AddGeometry(pGeometry , ref Missing, ref Missing); pFeature = featureCursor.NextFeature(); } unionPoly.ConstructUnion((IEnumGeometry)unionCol);
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.