N-vector
   HOME

TheInfoList



OR:

The ''n''-vector representation (also called geodetic normal or ellipsoid normal vector) is a three-parameter
non-singular In the mathematical field of algebraic geometry, a singular point of an algebraic variety is a point that is 'special' (so, singular), in the geometric sense that at this point the tangent space at the variety may not be regularly defined. In ca ...
representation well-suited for replacing geodetic coordinates (
latitude In geography, latitude is a coordinate that specifies the north– south position of a point on the surface of the Earth or another celestial body. Latitude is given as an angle that ranges from –90° at the south pole to 90° at the north pol ...
and
longitude Longitude (, ) is a geographic coordinate that specifies the east– west position of a point on the surface of the Earth, or another celestial body. It is an angular measurement, usually expressed in degrees and denoted by the Greek lette ...
) for horizontal position representation in mathematical calculations and computer algorithms. Geometrically, the ''n''-vector for a given position on an ellipsoid is the outward-pointing
unit vector In mathematics, a unit vector in a normed vector space is a vector (often a spatial vector) of length 1. A unit vector is often denoted by a lowercase letter with a circumflex, or "hat", as in \hat (pronounced "v-hat"). The term ''direction v ...
that is
normal Normal(s) or The Normal(s) may refer to: Film and television * ''Normal'' (2003 film), starring Jessica Lange and Tom Wilkinson * ''Normal'' (2007 film), starring Carrie-Anne Moss, Kevin Zegers, Callum Keith Rennie, and Andrew Airlie * ''Norma ...
in that position to the ellipsoid. For representing horizontal positions on Earth, the ellipsoid is a reference ellipsoid and the vector is decomposed in an Earth-centered Earth-fixed coordinate system. It behaves smoothly at all Earth positions, and it holds the mathematical one-to-one property. More in general, the concept can be applied to representing positions on the boundary of a strictly
convex Convex or convexity may refer to: Science and technology * Convex lens, in optics Mathematics * Convex set, containing the whole line segment that joins points ** Convex polygon, a polygon which encloses a convex set of points ** Convex polytop ...
bounded subset of ''k''-dimensional
Euclidean space Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, that is, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are Euclidean ...
, provided that that boundary is a differentiable manifold. In this general case, the ''n''-vector consists of ''k'' parameters.


General properties

A normal vector to a strictly
convex Convex or convexity may refer to: Science and technology * Convex lens, in optics Mathematics * Convex set, containing the whole line segment that joins points ** Convex polygon, a polygon which encloses a convex set of points ** Convex polytop ...
surface can be used to uniquely define a surface position. ''n''-vector is an outward-pointing normal vector with
unit length Unit may refer to: Arts and entertainment * UNIT, a fictional military organization in the science fiction television series ''Doctor Who'' * Unit of action, a discrete piece of action (or beat) in a theatrical presentation Music * ''Unit'' (al ...
used as a position representation. For most applications the surface is the reference ellipsoid of the Earth, and thus ''n''-vector is used to represent a horizontal position. Hence, the angle between ''n''-vector and the equatorial plane corresponds to geodetic latitude, as shown in the figure. A surface position has two degrees of freedom, and thus two parameters are sufficient to represent any position on the surface. On the reference ellipsoid,
latitude In geography, latitude is a coordinate that specifies the north– south position of a point on the surface of the Earth or another celestial body. Latitude is given as an angle that ranges from –90° at the south pole to 90° at the north pol ...
and
longitude Longitude (, ) is a geographic coordinate that specifies the east– west position of a point on the surface of the Earth, or another celestial body. It is an angular measurement, usually expressed in degrees and denoted by the Greek lette ...
are common parameters for this purpose, but like all ''two-parameter representations'', they have singularities. This is similar to orientation, which has three degrees of freedom, but all ''three-parameter representations'' have singularities. In both cases the singularities are avoided by adding an extra parameter, i.e. to use ''n''-vector (three parameters) to represent horizontal position and a unit quaternion (four parameters) to represent orientation. ''n''-vector is a one-to-one representation, meaning that any surface position corresponds to one unique ''n''-vector, and any ''n''-vector corresponds to one unique surface position. As a Euclidean 3D vector, standard 3D vector algebra can be used for the position calculations, and this makes ''n''-vector well-suited for most horizontal position calculations.


Converting latitude/longitude to ''n''-vector

Based on the definition of the ECEF coordinate system, called ''e'', it is clear that going from latitude/longitude to ''n''-vector, is achieved by: :\mathbf n^e=\left \begin \cos (\mathrm)\cos (\mathrm) \\ \cos (\mathrm)\sin (\mathrm) \\ \sin (\mathrm) \\ \end \right/math> The superscript ''e'' means that ''n''-vector is decomposed in the coordinate system ''e'' (i.e. the first component is the
scalar projection In mathematics, the scalar projection of a vector \mathbf on (or onto) a vector \mathbf, also known as the scalar resolute of \mathbf in the direction of \mathbf, is given by: :s = \left\, \mathbf\right\, \cos\theta = \mathbf\cdot\mathbf, wher ...
of ''n''-vector onto the ''x''-axis of ''e'', the second onto the ''y''-axis of ''e'' etc.). Note that the equation is exact both for spherical and ellipsoidal Earth model.


Converting ''n''-vector to latitude/longitude

From the three components of ''n''-vector, n_x^e, n_y^e, and n_z^e, latitude can be found by using: :\mathrm=\arcsin\left( n_z^e \right)=\arctan\left( \frac \right) The rightmost expression is best suited for computer program implementation. Longitude is found using: :\mathrm=\arctan\left(\frac \right) In these expressions \arctan(y/x) should be implemented using a call to atan2(''y'',''x''). The
Pole Pole may refer to: Astronomy *Celestial pole, the projection of the planet Earth's axis of rotation onto the celestial sphere; also applies to the axis of rotation of other planets *Pole star, a visible star that is approximately aligned with the ...
singularity of longitude is evident as atan2(0,0) is undefined. Note that the equations are exact both for spherical and ellipsoidal Earth model.


Example: Great circle distance

Finding the
great circle distance The great-circle distance, orthodromic distance, or spherical distance is the distance along a great circle. It is the shortest distance between two points on the surface of a sphere, measured along the surface of the sphere (as opposed to a st ...
between two horizontal positions (assuming spherical Earth) is usually done by means of latitude and longitude. Three different expressions for this distance are common; the first is based on arccos, the second is based on
arcsin In mathematics, the inverse trigonometric functions (occasionally also called arcus functions, antitrigonometric functions or cyclometric functions) are the inverse functions of the trigonometric functions (with suitably restricted Domain of a fu ...
, and the final is based on arctan. The expressions, which are successively more complex to avoid numerical instabilities, are not easy to find, and since they are based on latitude and longitude, the Pole singularities may become a problem. They also contain deltas of latitude and longitude, which in general should be used with care near the ± 180° meridian and the Poles. Solving the same problem using ''n''-vector is simpler due to the possibility of using vector algebra. The arccos expression is achieved from the
dot product In mathematics, the dot product or scalar productThe term ''scalar product'' means literally "product with a scalar as a result". It is also used sometimes for other symmetric bilinear forms, for example in a pseudo-Euclidean space. is an alge ...
, while the
magnitude Magnitude may refer to: Mathematics *Euclidean vector, a quantity defined by both its magnitude and its direction *Magnitude (mathematics), the relative size of an object *Norm (mathematics), a term for the size or length of a vector *Order of ...
of the cross product gives the arcsin expression. Combining the two gives the arctan expression: :\begin & \Delta \sigma=\arccos\left( \mathbf n_a\cdot \mathbf n_b \right) \\ & \Delta \sigma=\arcsin\left( \left, \mathbf n_a\times \mathbf n_b \ \right) \\ & \Delta \sigma=\arctan\left( \frac \right) \\ \end where \mathbf n_a and \mathbf n_b are the ''n''-vectors representing the two positions ''a'' and ''b''. \Delta\sigma is the angular difference, and thus the great-circle distance is achieved by multiplying with the Earth radius. This expression also works at the poles and at the ±180° meridian. There are several other examples where the use of vector algebra simplifies standard problems. For a general comparison of the various representations, see the horizontal position representations page.


See also

* Earth normal section * Horizontal position representation *
Latitude In geography, latitude is a coordinate that specifies the north– south position of a point on the surface of the Earth or another celestial body. Latitude is given as an angle that ranges from –90° at the south pole to 90° at the north pol ...
*
Longitude Longitude (, ) is a geographic coordinate that specifies the east– west position of a point on the surface of the Earth, or another celestial body. It is an angular measurement, usually expressed in degrees and denoted by the Greek lette ...
*
Universal Transverse Mercator coordinate system The Universal Transverse Mercator (UTM) is a map projection system for assigning coordinates to locations on the surface of the Earth. Like the traditional method of latitude and longitude, it is a horizontal position representation, which means i ...
* Quaternion


References

{{Reflist


External links


Solving 10 problems by means of the ''n''-vector
Navigation Geodesy Geographic position Geographic coordinate systems