I'm looking to do a couple of calculations over a WGS84 ellipsoid, including: point in polygon on the surface, distance calculations between points, and conversion to/from Cartesian coordinates. It looks like there is a GIS extension to boost geometry that basically does what I need - except that it doesn't appear to convert altitudes to/from Cartesian coordinates - only X/Y and Lat/Lon. Am I missing something? Is this possible? Does anyone have any suggestions?
Asked
Active
Viewed 2,476 times
1 Answers
2
I'm not sure if the omission is because there are very few places in the world where the WGS84 ellipsoid actually corresponds to sea level.
But as for the mathematics itself, I can suggest this article, supplies conversions from lat-long-altitude (LLA) to Cartesian and back, and references the mathematics behind those conversions.

Gnawme
- 2,321
- 1
- 15
- 21