Conversion of geodesic coordinates to local tangent plane coordinates.
blockType: SubSystem
Path in the library:
/Aerospace/Axes Transformations/LLA to Flat Earth
Description
The LLA to Flat Earth block converts geodetic coordinates - latitude (), longitude (), and elevation () - into a 3-by-1 vector of positions in a planar coordinate system (). Latitude and longitude can take any values, but latitude values +90° and −90° (poles) may return incorrect results due to peculiarities of calculations.
Algorithms
The local tangent plane coordinate system assumes a positive downward direction of the Z axis. The calculation begins by defining small changes in latitude and longitude as the difference between the final and initial values of latitude and longitude.
The algorithm uses to convert geodetic latitude and longitude to north/east coordinates:
where
- is the equatorial radius of the planet;
- the compression of the planet.
Small changes of coordinates in the north () and east () are approximated through small changes of latitude and longitude by the formulas:
When converting north/east coordinates to and coordinates of a plane coordinate system, a transformation of the form is used:
where is the clockwise angle (in degrees) between the axis and the north direction.
The value of coordinate in the local tangent plane coordinate system is calculated as:
Ports
Input
# μ l (deg)
—
geodetic latitude and longitude
`vector 2 by 1
Details
Geodetic latitude and longitude given as a vector, in degrees.