I've create connections between most of all international airports with xy to line tools - tried all types (Geodesic, Rumbh line ... ) - its about 24000 lines. This tool creates shapefile in Geographic Coordinate System: GCS_WGS_1984. In this is case is of course impossible to calculate length of lines. So i tried to project them into WGS_1984_Web_Mercator_Auxiliary_Sphere, after that I can calculate planar lengths.
I know --- The geodesic lengths can be calculated only in projected coordinate system such as USA_Contiguous_Equidistant_Conic etc. so the lengths are correct only in area for which is concrete projection created.
My question (i thing kind of stupid) is:
Is there any tool or something which can calculate length for each line in geodesic system?
I've found one thread in Silveright api question How to recalculate distance from planar to geodesic value
and there is answer :
Glad it worked. The built-in is a nice addition. Should you need code for other purposes, then Vincenty's implementation of geodesic distance can be found ...here... which provides other threads on this topic