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);
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.