Skip to main content

Module geodetic

Module geodetic 

Source

Constants§

WGS84_A
WGS84_B
WGS84_E2
WGS84_EP2
WGS84_F
WGS84_INV_F

Functions§

deg2rad
Convert degrees to radians
ecef_to_enu
Converts a position in ECEF to Local Tangent Plane (ENU) relative to a reference point.
ecef_to_enu_matrix
Computes the rotation matrix to convert from ECEF to Local Tangent Plane (ENU) at a given reference point. The reference point is given in Geodetic coordinates (degrees).
ecef_to_lat_lon_alt
Converts Earth-Centered, Earth-Fixed (ECEF) coordinates to Geodetic (latitude, longitude, altitude). Returns (latitude in degrees, longitude in degrees, altitude in meters).
lat_lon_alt_to_ecef
Converts Geodetic coordinates (latitude, longitude, altitude) to Earth-Centered, Earth-Fixed (ECEF) coordinates. Latitude and longitude are in degrees. Altitude is in meters. Returns (X, Y, Z) in meters.
rad2deg
Convert radians to degrees