ellipsoidalAltitude
The altitude as a height above the World Geodetic System 1984 (WGS84) ellipsoid, measured in meters.
Declaration
var ellipsoidalAltitude: CLLocationDistance { get }Discussion
The ellipsoidalAltitude property represents the altitude above the WGS84 ellipsoid associated with a location. Use the ellipsoidalAltitude property when your geodetic application needs an altitude with respect to a standard reference frame. Use altitude if your application needs an altitude with respect to the approximate mean sea level.
The ellipsoidalAltitude value is valid if verticalAccuracy is greater than 0, and invalid if verticalAccuracy is 0 or below. If verticalAccuracy is 0 or below, ellipsoidalAltitude is invalid and contains the value 0.0.
Valid values for ellipsoidalAltitude can be positive or negative. Positive values indicate altitudes above the ellipsoid. Negative values indicate altitudes below the ellipsoid.