AnsweredAssumed Answered

Arcpy - 3D straight line length of polyline

Question asked by thanhngocdao on May 8, 2017
Latest reply on May 11, 2017 by Dan_Patterson

Dear guys,

Currently i'm writting a script to calculate the surface length and 3D length (mean that the straight line length from begin vertex to the end vertex, mean that the length which has Z value apply, in math we can calculate by function in this topic: 3D Coordinate Geometry - Distance | Brilliant Math & Science Wiki 


 At first i used th SurfaceLength_3d function to get surface length then i use the Intersect function which will produce the 3D_length in attribute table for 3D length but 3D length and surface length are equal for every case so i think that 3d length is the Surface length in this case

Do we have any function to get the 3D straight line length of polyline in Arcgis?