I want to calculate distance of two points that is far away and at different place on Earth, for example flight-distance between major cities around the world. It will be desirable to take the Earth curvature into the calculation. Dose the "Distance or Near" function in ArcGIS do this? I don't believe so. How to do this and is there a script exist to do this?
From Anthony's replay I learned that the problem is referring as "great circle distances". I did further Google search and found the math formula for solve it in this site: http://en.wikipedia.org/wiki/Great-circle_distance.
Because I plan to do the calculation with c# code anyway (for special selection and post processing), I can use the formula to calculate the great-circle distance.
dmhoneycutt's replay prompt me to do a search in the ESRI SDK help, I found there is some interface to get the great-circle distance of two points. So I can skip the formula and direct use the interface.