Select to view content in your preferred language

Create z-aware polygon that contains parametric curves

88
2
Jump to solution
Wednesday
EdwardBlair
Frequent Contributor

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

0 Kudos
1 Solution

Accepted Solutions
GKmieliauskas
Esri Regular Contributor

Hi,

Take a look at the other thread@AnnetteLocke sample for works for me.

GKmieliauskas_0-1764189631519.png

 

View solution in original post

2 Replies
GKmieliauskas
Esri Regular Contributor

Hi,

Take a look at the other thread@AnnetteLocke sample for works for me.

GKmieliauskas_0-1764189631519.png

 

EdwardBlair
Frequent Contributor

Works great!   Thank you.

Ed

0 Kudos