I'm not very familiar with how the GDB serializes geometries, so please excuse my noobie question. I am trying to insert a polygon feature into a GDB following the examples provided, but I'm having trouble understanding how things work for a polygon. I am specifically converting from KML, so my polygons have an outer and 0 or more inner rings, each of which is a simple point array. Can someone help me with the code I need to create these features?Here is my code so far (C#):Point[] oR= GetOuterRingFromKml();
List<Point[]> iRs= GetInnerRingsFromKml();
MultiPartShapeBuffer() geom = new MultiPartShapeBuffer();
geom.Setup(ShapeType.Polygon, 1 + iRs.Count(), oR.Count() + iRs.Sum(ring => ring.Count()));
//geom.Points = ??
//geom.Parts = ??