I've got polygons in my source data which are not z-aware that include, in nearly all cases, one or more parametric curves. I want to create polygons that *are* z-aware in my UN database from the source polygons.
I can use the PolygonBuilderEx to create a new z-aware polygon from all of the points in my source polygon with the code below -- but I lose the curves.
Polygon polygon = inGeom as Polygon;
IReadOnlyList<Coordinate3D> pt3dList = polygon.Copy3DCoordinatesToList();
Polygon polygon3D = PolygonBuilderEx.CreatePolygon(pt3dList, sr);
Is there a way to do this that retains curves *and* assigns a z value?
Thanks in advance for any suggestions.
Ed
Solved! Go to Solution.
Works great! Thank you.
Ed