Hostname: page-component-74656f9884-c52kr Total loading time: 0 Render date: 2026-11-07T11:46:00.015Z Has data issue: false hasContentIssue false

A Non-singular Horizontal Position Representation

Published online by Cambridge University Press:  28 May 2010

Kenneth Gade*
Affiliation:
(Norwegian Defence Research Establishment (FFI))
Rights & Permissions [Opens in a new window]

Abstract

Position calculations, e.g. adding, subtracting, interpolating, and averaging positions, depend on the representation used, both with respect to simplicity of the written code and accuracy of the result. The latitude/longitude representation is widely used, but near the pole singularities, this representation has several complex properties, such as error in latitude leading to error in longitude. Longitude also has a discontinuity at ±180°. These properties may lead to large errors in many standard algorithms. Using an ellipsoidal Earth model also makes latitude/longitude calculations complex or approximate. Other common representations of horizontal position include UTM and local Cartesian ‘flat Earth’ approximations, but these usually only give approximate answers, and are complex to use over larger distances. The normal vector to the Earth ellipsoid (called n-vector) is a non-singular position representation that turns out to be very convenient for practical position calculations. This paper presents this representation, and compares it with other alternatives, showing that n-vector is simpler to use and gives exact answers for all global positions, and all distances, for both ellipsoidal and spherical Earth models. In addition, two functions based on n-vector are presented, that further simplify most practical position calculations, while ensuring full accuracy.

Information

Type
Research Article
Copyright
Copyright © The Royal Institute of Navigation 2010
Figure 0

Table 1. Symbols used to describe basic relations between two coordinate frames.

Figure 1

Figure 1. Earth reference ellipsoid with n-vector, geodetic and geocentric latitude. Two axes and the origin of the E-frame (blue) and the origin of the B-frame (green) are also shown.

Figure 2

Figure 2. a. The surface is differentiable, but not strictly convex: One n-vector corresponds to many positions. b. The surface is strictly convex, but not differentiable: Many n-vectors correspond to one position.

Figure 3

Figure 3. View from directly above the North Pole. The trajectory (passing the pole at d2 metres distance) is shown in solid (with an arrowhead showing the direction). Dotted straight lines: constant longitudes. Dotted circles: constant latitudes.

Figure 4

Figure 4. Latitude and longitude versus time. The true longitude and latitude are calculated directly from an exact function.

Figure 5

Figure 5. Error from the forward and backward Euler methods when using the latitude and longitude representation (calculated trajectory minus true trajectory).

Figure 6

Figure 6. The components of n-vector versus time. The true n-vector is calculated directly from an exact function. (The errors of the Euler methods are too small to be visible in this plot.)

Figure 7

Figure 7. Error from the forward and backward Euler methods when using the n-vector representation.

Figure 8

Figure 8. Final error in the Euler methods (the method with the largest error is plotted) at different distances to the pole (d2). In part a, the magnitude of the spike is compressed by using a logarithmic scale at the y-axis. Part b is zoomed in without including the large spike and has a linear y-axis.

Figure 9

Figure 9. Final error in forward or backward Euler (the one with largest error is plotted) at different integration rates for straight trajectory, with a minimum pole distance (d2) of 10 metres. The y-axis is logarithmic.

Figure 10

Figure 10. Coordinate frames E, N, L and B (figure uses spherical Earth).

Figure 11

Table 2. Coordinate frame definitions.