AnsweredAssumed Answered

Calculate Z values of 3D Polyline for new vertices

Question asked by Playa on Aug 11, 2016
Latest reply on Aug 11, 2016 by cdspatial

I've created a 3D polyline from a 3D point feature class and then reshaped the polyline feature class to follow the meandering of the river thawleg (centreline). I would like to calculate the Z values for the new vertices that are added to the 3D polyline based on the existing vertices that already have Z values and the distance along the polyline as a linear proportion of the elevation drop. Is there a way that I can achieve the following in  python.

 

Points (Red) were used to create the 3D polyline

 

New vertices added through reshaping 3D Polyline

Outcomes