World Geodetic System 1984 (sarkit.wgs84)

Constants

WGS-84 Defining Parameters

Attribute

Quantity

Units

SEMI_MAJOR_AXIS

semi-major axis (equatorial radius of the Earth)

m

A

semi-major axis (equatorial radius of the Earth)

m

FLATTENING_FACTOR

flattening factor of the Earth (1/f)

(unitless)

NOMINAL_MEAN_ANGULAR_VELOCITY

nominal mean angular velocity of the earth

rad / s

GM

geocentric gravitational constant (mass of Earth’s atmosphere included)

m^3/s^2

WGS-84 Ellipsoid Derived Geometric Constants

Attribute

Quantity

Units

FLATTENING_REDUCED

flattening (reduced)

(unitless)

F

flattening (reduced)

(unitless)

SEMI_MINOR_AXIS

semi-minor axis (polar radius of the Earth)

m

B

semi-minor axis (polar radius of the Earth)

m

FIRST_ECCENTRICITY

first eccentricity

(unitless)

FIRST_ECCENTRICITY_SQUARED

first eccentricity squared

(unitless)

SECOND_ECCENTRICITY

second eccentricity

(unitless)

SECOND_ECCENTRICITY_SQUARED

second eccentricity squared

(unitless)

Global Coordinate Systems

cartesian_to_geodetic(xyz)

Converts WGS 84 cartesian coordinates to geodetic coordinates.

geodetic_to_cartesian(latlonhae)

Converts WGS 84 geodetic coordinates to cartesian coordinates.

Local Coordinate Systems

east(latlonhae)

Compute local east unit vectors from WGS 84 geodetic coordinates.

north(latlonhae)

Compute local north unit vectors from WGS 84 geodetic coordinates.

up(latlonhae)

Compute local up unit vectors from WGS 84 geodetic coordinates.