I need a formula that can give me the straight line distance between two points given latitude, longitude, and elevation above sea level in meters. I've been experimenting with converting to Cartesian coordinates and using pythagorean but it's not working. Do I need wgs84? Can someone dump me a formula? Preferably something that uses Cartesian coordinates.

Posted mobile using Tapatalk