Geographic coordinate conversion
   HOME

TheInfoList



OR:

In
geodesy Geodesy ( ) is the Earth science of accurately measuring and understanding Earth's figure (geometric shape and size), orientation in space, and gravity. The field also incorporates studies of how these properties change over time and equival ...
, conversion among different geographic coordinate systems is made necessary by the different
geographic coordinate system The geographic coordinate system (GCS) is a spherical or ellipsoidal coordinate system for measuring and communicating positions directly on the Earth as latitude and longitude. It is the simplest, oldest and most widely used of the various ...
s in use across the world and over time. Coordinate conversion is composed of a number of different types of conversion: format change of geographic coordinates, conversion of coordinate systems, or transformation to different
geodetic datum A geodetic datum or geodetic system (also: geodetic reference datum, geodetic reference system, or geodetic reference frame) is a global datum reference or reference frame for precisely representing the position of locations on Earth or other pla ...
s. Geographic coordinate conversion has applications in
cartography Cartography (; from grc, χάρτης , "papyrus, sheet of paper, map"; and , "write") is the study and practice of making and using maps. Combining science, aesthetics and technique, cartography builds on the premise that reality (or an i ...
,
surveying Surveying or land surveying is the technique, profession, art, and science of determining the terrestrial two-dimensional or three-dimensional positions of points and the distances and angles between them. A land surveying professional is ...
,
navigation Navigation is a field of study that focuses on the process of monitoring and controlling the movement of a craft or vehicle from one place to another.Bowditch, 2003:799. The field of navigation includes four general categories: land navigation ...
and
geographic information systems A geographic information system (GIS) is a type of database containing geographic data (that is, descriptions of phenomena for which location is relevant), combined with software tools for managing, analyzing, and visualizing those data. In a ...
. In geodesy, geographic coordinate ''conversion'' is defined as translation among different coordinate formats or
map projection In cartography, map projection is the term used to describe a broad set of transformations employed to represent the two-dimensional curved surface of a globe on a plane. In a map projection, coordinates, often expressed as latitude and l ...
s all referenced to the same geodetic datum. A geographic coordinate ''transformation'' is a translation among different geodetic datums. Both geographic coordinate conversion and transformation will be considered in this article. This article assumes readers are already familiar with the content in the articles
geographic coordinate system The geographic coordinate system (GCS) is a spherical or ellipsoidal coordinate system for measuring and communicating positions directly on the Earth as latitude and longitude. It is the simplest, oldest and most widely used of the various ...
and
geodetic datum A geodetic datum or geodetic system (also: geodetic reference datum, geodetic reference system, or geodetic reference frame) is a global datum reference or reference frame for precisely representing the position of locations on Earth or other pla ...
.


Change of units and format

Informally, specifying a geographic location usually means giving the location's
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 ...
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 let ...
. The numerical values for latitude and longitude can occur in a number of different units or formats: * sexagesimal degree: degrees,
minutes Minutes, also known as minutes of meeting (abbreviation MoM), protocols or, informally, notes, are the instant written record of a meeting or hearing. They typically describe the events of the meeting and may include a list of attendees, a stat ...
, and
seconds The second (symbol: s) is the unit of time in the International System of Units (SI), historically defined as of a day – this factor derived from the division of the day first into 24 hours, then to 60 minutes and finally to 60 seconds each ...
: 40° 26′ 46″ N 79° 58′ 56″ W * degrees and decimal minutes: 40° 26.767′ N 79° 58.933′ W * decimal degrees: +40.446 -79.982 There are 60 minutes in a degree and 60 seconds in a minute. Therefore, to convert from a degrees minutes seconds format to a decimal degrees format, one may use the formula : \rm = \rm + \frac + \frac. To convert back from decimal degree format to degrees minutes seconds format, : \begin \rm & = , \rm , \\ \rm & = \lfloor \rm \rfloor \\ \rm & = \sgn ( \rm ) \times \rm \\ \rm & = \lfloor 60 \times (\rm - \rm)\rfloor \\ \rm & = 3600 \times (\rm - \rm) - 60 \times \rm \\ \end where \rm and \rm are just temporary variables to handle both positive and negative values properly.


Coordinate system conversion

A coordinate system conversion is a conversion from one coordinate system to another, with both coordinate systems based on the same geodetic datum. Common conversion tasks include conversion between geodetic and earth-centered, earth-fixed ( ECEF) coordinates and conversion from one type of map projection to another.


From geodetic to ECEF coordinates

Geodetic coordinates Geodetic coordinates are a type of curvilinear orthogonal coordinate system used in geodesy based on a '' reference ellipsoid''. They include geodetic latitude (north/south) , ''longitude'' (east/west) , and ellipsoidal height (also known as geo ...
(latitude \ \phi, longitude \ \lambda, height h) can be converted into ECEF coordinates using the following equation: : \begin X & = \left( N(\phi) + h\right)\cos\cos \\ Y & = \left( N(\phi) + h\right)\cos\sin \\ Z & = \left( \frac N(\phi) + h\right)\sin \\ & = \left( (1 - e^2) N(\phi) + h\right)\sin \\ & = \left( (1 - f)^2 N(\phi) + h\right)\sin \end where : N(\phi) = \frac = \frac, and a and b are the equatorial radius (
semi-major axis In geometry, the major axis of an ellipse is its longest diameter: a line segment that runs through the center and both foci, with ends at the two most widely separated points of the perimeter. The semi-major axis (major semiaxis) is the lon ...
) and the polar radius ( semi-minor axis), respectively. e^2 = 1 - \frac is the square of the first numerical eccentricity of the ellipsoid. f = 1 - \frac is the flattening of the ellipsoid. The '' prime vertical radius of curvature'' \, N(\phi) is the distance from the surface to the Z-axis along the ellipsoid normal.


Properties

The following condition holds for the longitude in the same way as in the geocentric coordinates system: :\frac - \frac = 0. And the following holds for the latitude: :\frac - \frac - e^2 N(\phi) = 0, where p = \sqrt, as the parameter h is eliminated by subtracting :\frac = N + h and :\frac = \fracN + h. Furthermore: :\tan(\phi) = (Z / p)/(1 - e^2 N / (N + h)).


Orthogonality

The
orthogonality In mathematics, orthogonality is the generalization of the geometric notion of '' perpendicularity''. By extension, orthogonality is also used to refer to the separation of specific features of a system. The term also has specialized meanings in ...
of the coordinates is confirmed via differentiation: :\begin \begin dX \\ dY \\ dZ \end &= \begin -\sin\lambda & -\sin\phi \cos\lambda & \cos\phi \cos\lambda \\ \cos\lambda & -\sin\phi \sin\lambda & \cos\phi \sin\lambda \\ 0 & \cos\phi & \sin\phi \\ \end \begin dE \\ dN \\ dU \end, \\ pt \begin dE \\ dN \\ dU \end &= \begin \left(N(\phi) + h\right) \cos\phi & 0 & 0 \\ 0 & M(\phi) + h & 0 \\ 0 & 0 & 1 \\ \end \begin d\lambda \\ d\phi \\ dh \end, \end where : M(\phi) = \frac (see also " Meridian arc on the ellipsoid").


From ECEF to geodetic coordinates

The conversion of ECEF coordinates to longitude is: : \lambda = \operatorname(Y,X). where
atan2 In computing and mathematics, the function atan2 is the 2-argument arctangent. By definition, \theta = \operatorname(y, x) is the angle measure (in radians, with -\pi < \theta \leq \pi) between the positive
is the quadrant-resolving arc-tangent function. The geocentric longitude and geodetic longitude have the same value; this is true for Earth and other similar shaped planets because they have a large amount of rotational symmetry around their spin axis (see
triaxial ellipsoidal longitude The study of geodesics on an ellipsoid arose in connection with geodesy specifically with the solution of triangulation networks. The figure of the Earth is well approximated by an ''oblate ellipsoid'', a slightly flattened sphere. A ''geodesi ...
for a generalization). The conversion for the latitude and height involves a circular relationship involving ''N'', which is a function of latitude: :\phi = \arctan\left( (Z / p)/(1 - e^2 N / (N + h)) \right), :h=\frac - N. It can be solved iteratively,A guide to coordinate systems in Great Britain. This is available as a pdf document at Appendices B1, B2Osborne, P (2008)
The Mercator Projections
Section 5.4
for example, starting with a first guess ''h''≈0 then updating ''N''. More elaborate methods are shown below. The procedure is, however, sensitive to small accuracy due to N and h being maybe 10 apart.


Newton–Raphson method

The following Bowring's irrational geodetic-latitude equation is efficient to be solved by
Newton–Raphson In numerical analysis, Newton's method, also known as the Newton–Raphson method, named after Isaac Newton and Joseph Raphson, is a root-finding algorithm which produces successively better approximations to the roots (or zeroes) of a real-va ...
iteration method: : \kappa - 1 - \frac = 0, where \kappa = \frac \tan \phi and p = \sqrt as before. The height is calculated as: : \begin h &= e^ \left(\kappa^ - ^\right) \sqrt, \\ \kappa_0 &= \left(1 - e^2\right)^. \end The iteration can be transformed into the following calculation: : \kappa_ = \frac = 1 + \frac, where c_i = \frac . The constant \,\kappa_0 is a good starter value for the iteration when h \approx 0. Bowring showed that the single iteration produces a sufficiently accurate solution. He used extra trigonometric functions in his original formulation.


Ferrari's solution

The quartic equation of \kappa, derived from the above, can be solved by Ferrari's solution to yield: : \begin \zeta &= \left(1 - e^2\right)\frac ,\\ pt \rho &= \frac\left(\frac + \zeta - e^4\right) ,\\ pt s &= \frac ,\\ pt t &= \sqrt ,\\ pt u &= \rho \left(t + 1 + \frac\right) ,\\ pt v &= \sqrt ,\\ pt w &= e^2 \frac ,\\ pt \kappa &= 1 + e^2 \frac. \end


= The application of Ferrari's solution

= A number of techniques and algorithms are available but the most accurate, according to Zhu, is the following procedure established by Heikkinen, as cited by Zhu. It is assumed that geodetic parameters \ are known : \begin a &= 6378137.0 \text \\ pt b &= 6356752.3142 \text \\ pt e^2 &= \frac \\ pt e'^2 &= \frac \\ pt p &= \sqrt \\ pt F &= 54b^2 Z^2 \\ pt G &= p^2 + \left(1 - e^2\right)Z^2 - e^2\left(a^2 - b^2\right) \\ pt c &= \frac \\ pt s &= \sqrt \\ pt k &= s + 1 + \frac\\ pt P &= \frac \\ pt Q &= \sqrt \\ pt r_0 &= \frac + \sqrt \\ pt U &= \sqrt \\ pt V &= \sqrt \\ pt z_0 &= \frac \\ pt h &= U\left(1 - \frac\right) \\ pt \phi &= \arctan\left frac\right\\ pt \lambda &= \operatorname ,\, X\end Note: arctan2 , Xis the four-quadrant inverse tangent function.


Power series

For small the power series :\kappa = \sum_ \alpha_i e^ starts with :\begin \alpha_0 &= 1; \\ \alpha_1 &= \frac; \\ \alpha_2 &= \frac. \end


Geodetic to/from ENU coordinates

To convert from geodetic coordinates to
local tangent plane Local tangent plane coordinates (LTP), also known as local ellipsoidal system, local geodetic coordinate system, or local vertical, local horizontal coordinates (LVLH), are a spatial reference system based on the tangent plane defined by the loca ...
(
ENU ENU, also known as ''N''-ethyl-''N''-nitrosourea (chemical formula C3H7N3O2), is a highly potent mutagen. For a given gene in mice, ENU can induce 1 new mutation in every 700 loci. It is also toxic at high doses. The chemical is an alkylating a ...
) coordinates is a two-stage process: # Convert geodetic coordinates to ECEF coordinates # Convert ECEF coordinates to local ENU coordinates


From ECEF to ENU

To transform from ECEF coordinates to the local coordinates we need a local reference point. Typically, this might be the location of a radar. If a radar is located at \left\ and an aircraft at \left\, then the vector pointing from the radar to the aircraft in the ENU frame is : \beginx \\ y \\ z\end = \begin -\sin\lambda_r & \cos\lambda_r & 0 \\ -\sin\phi_r\cos\lambda_r & -\sin\phi_r\sin\lambda_r & \cos\phi_r \\ \cos\phi_r\cos\lambda_r & \cos\phi_r\sin\lambda_r & \sin\phi_r \end \begin X_p - X_r \\ Y_p - Y_r \\ Z_p - Z_r \end Note: \ \phi is the ''
geodetic latitude Geodetic coordinates are a type of curvilinear orthogonal coordinate system used in geodesy based on a ''reference ellipsoid''. They include geodetic latitude (north/south) , '' longitude'' (east/west) , and ellipsoidal height (also known as g ...
''; the '' geocentric latitude'' is inappropriate for representing
vertical direction In astronomy, geography, and related sciences and contexts, a '' direction'' or '' plane'' passing by a given point is said to be vertical if it contains the local gravity direction at that point. Conversely, a direction or plane is said to be h ...
for the local tangent plane and must be
converted Conversion or convert may refer to: Arts, entertainment, and media * "Conversion" (''Doctor Who'' audio), an episode of the audio drama ''Cyberman'' * "Conversion" (''Stargate Atlantis''), an episode of the television series * "The Conversion" ...
if necessary.


From ENU to ECEF

This is just the inversion of the ECEF to ENU transformation so : \beginX_p \\ Y_p \\ Z_p\end = \begin -\sin\lambda_r & -\sin\phi_r\cos\lambda_r & \cos\phi_r\cos\lambda_r \\ \cos\lambda_r & -\sin\phi_r\sin\lambda_r & \cos\phi_r\sin\lambda_r \\ 0 & \cos\phi_r & \sin\phi_r \end \beginx \\ y \\ z\end + \beginX_r \\ Y_r \\ Z_r\end


Conversion across map projections

Conversion of coordinates and map positions among different map projections reference to the same datum may be accomplished either through direct translation formulas from one projection to another, or by first converting from a projection A to an intermediate coordinate system, such as ECEF, then converting from ECEF to projection B. The formulas involved can be complex and in some cases, such as in the ECEF to geodetic conversion above, the conversion has no closed-form solution and approximate methods must be used. References such as the ''DMA Technical Manual 8358.1'' and the USGS paper ''Map Projections: A Working Manual'' contain formulas for conversion of map projections. It is common to use computer programs to perform coordinate conversion tasks, such as with the DoD and NGA supported GEOTRANS program.


Datum transformations

Transformations among datums can be accomplished in a number of ways. There are transformations that directly convert geodetic coordinates from one datum to another. There are more indirect transforms that convert from geodetic coordinates to ECEF coordinates, transform the ECEF coordinates from one datum to the another, then transform ECEF coordinates of the new datum back to geodetic coordinates. There are also grid-based transformations that directly transform from one (datum, map projection) pair to another (datum, map projection) pair.


Helmert transformation

Use of the Helmert transform in the transformation from geodetic coordinates of datum A to geodetic coordinates of datum B occurs in the context of a three-step process: # Convert from geodetic coordinates to ECEF coordinates for datum A # Apply the Helmert transform, with the appropriate A\to B transform parameters, to transform from datum A ECEF coordinates to datum B ECEF coordinates # Convert from ECEF coordinates to geodetic coordinates for datum B In terms of ECEF XYZ vectors, the Helmert transform has the form (position vector transformation convention and very small rotation angles simplification) : \begin X_B \\ Y_B \\ Z_B \end = \begin c_x \\ c_y \\ c_z \end + \left(1 + s \times 10^\right) \begin 1 & -r_z & r_y \\ r_z & 1 & -r_x \\ -r_y & r_x & 1 \end \begin X_A \\ Y_A \\ Z_A \end. The Helmert transform is a seven-parameter transform with three translation (shift) parameters c_x,\, c_y,\, c_z, three rotation parameters r_x,\, r_y,\, r_z and one scaling (dilation) parameter s. The Helmert transform is an approximate method that is accurate when the transform parameters are small relative to the magnitudes of the ECEF vectors. Under these conditions, the transform is considered reversible. A fourteen-parameter Helmert transform, with linear time dependence for each parameter, can be used to capture the time evolution of geographic coordinates dues to geomorphic processes, such as continental drift and earthquakes. This has been incorporated into software, such as the Horizontal Time Dependent Positioning (HTDP) tool from the U.S. NGS.


Molodensky-Badekas transformation

To eliminate the coupling between the rotations and translations of the Helmert transform, three additional parameters can be introduced to give a new XYZ center of rotation closer to coordinates being transformed. This ten-parameter model is called the ''Molodensky-Badekas transformation'' and should not be confused with the more basic Molodensky transform. Like the Helmert transform, using the Molodensky-Badekas transform is a three-step process: # Convert from geodetic coordinates to ECEF coordinates for datum A # Apply the Molodensky-Badekas transform, with the appropriate A\to B transform parameters, to transform from datum A ECEF coordinates to datum B ECEF coordinates # Convert from ECEF coordinates to geodetic coordinates for datum B The transform has the form : \begin X_B \\ Y_B \\ Z_B \end = \begin X_A \\ Y_A \\ Z_A \end + \begin \Delta X_A \\ \Delta Y_A \\ \Delta Z_A \end + \begin 1 & -r_z & r_y \\ r_z & 1 & -r_x \\ -r_y & r_x & 1 \end \begin X_A - X^0_A \\ Y_A - Y^0_A \\ Z_A - Z^0_A \end + \Delta S \begin X_A - X^0_A \\ Y_A - Y^0_A \\ Z_A - Z^0_A \end. where \left(X^0_A,\, Y^0_A,\, Z^0_A\right) is the origin for the rotation and scaling transforms and \Delta S is the scaling factor. The Molodensky-Badekas transform is used to transform local geodetic datums to a global geodetic datum, such as WGS 84. Unlike the Helmert transform, the Molodensky-Badekas transform is not reversible due to the rotational origin being associated with the original datum.


Molodensky transformation

The Molodensky transformation converts directly between geodetic coordinate systems of different datums without the intermediate step of converting to geocentric coordinates (ECEF). It requires the three shifts between the datum centers and the differences between the reference ellipsoid semi-major axes and flattening parameters. The Molodensky transform is used by the
National Geospatial-Intelligence Agency The National Geospatial-Intelligence Agency (NGA) is a combat support agency within the United States Department of Defense whose primary mission is collecting, analyzing, and distributing geospatial intelligence (GEOINT) in support of natio ...
(NGA) in their standard TR8350.2 and the NGA supported GEOTRANS program. The Molodensky method was popular before the advent of modern computers and the method is part of many geodetic programs.


Grid-based method

Grid-based transformations directly convert map coordinates from one (map-projection, geodetic datum) pair to map coordinates of another (map-projection, geodetic datum) pair. An example is the NADCON method for transforming from the North American Datum (NAD) 1927 to the NAD 1983 datum. The High Accuracy Reference Network (HARN), a high accuracy version of the NADCON transforms, have an accuracy of approximately 5 centimeters. The National Transformation version 2 ( NTv2) is a Canadian version of NADCON for transforming between NAD 1927 and NAD 1983. HARNs are also known as NAD 83/91 and High Precision Grid Networks (HPGN). Subsequently, Australia and New Zealand adopted the NTv2 format to create grid-based methods for transforming among their own local datums. Like the multiple regression equation transform, grid-based methods use a low-order interpolation method for converting map coordinates, but in two dimensions instead of three. The
NOAA The National Oceanic and Atmospheric Administration (abbreviated as NOAA ) is an United States scientific and regulatory agency within the United States Department of Commerce that forecasts weather, monitors oceanic and atmospheric conditio ...
provides a software tool (as part of the NGS Geodetic Toolkit) for performing NADCON transformations.


Multiple regression equations

Datum transformations through the use of empirical multiple regression methods were created to achieve higher accuracy results over small geographic regions than the standard Molodensky transformations. MRE transforms are used to transform local datums over continent-sized or smaller regions to global datums, such as WGS 84. The standard NIMA TM 8350.2, Appendix D, lists MRE transforms from several local datums to WGS 84, with accuracies of about 2 meters. The MREs are a direct transformation of geodetic coordinates with no intermediate ECEF step. Geodetic coordinates \phi_B,\, \lambda_B,\, h_B in the new datum B are modeled as
polynomial In mathematics, a polynomial is an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An exampl ...
s of up to the ninth degree in the geodetic coordinates \phi_A,\, \lambda_A,\, h_A of the original datum A. For instance, the change in \phi_B could be parameterized as (with only up to quadratic terms shown) :\Delta \phi = a_0 + a_1 U + a_2 V + a_3 U^2 + a_4 UV + a_5 V^2 + \cdots where : a_i, parameters fitted by multiple regression : \begin U &= K(\phi_A - \phi_m) \\ V &= K(\lambda_A - \lambda_m) \\ \end : K, scale factor : \phi_m,\, \lambda_m, origin of the datum, A. with similar equations for \Delta\lambda and \Delta h. Given a sufficient number of (A,\, B) coordinate pairs for landmarks in both datums for good statistics, multiple regression methods are used to fit the parameters of these polynomials. The polynomials, along with the fitted coefficients, form the multiple regression equations.


See also

*
Gauss–Krüger coordinate system The transverse Mercator map projection (TM, TMP) is an adaptation of the standard Mercator projection. The transverse version is widely used in national and international mapping systems around the world, including the Universal Transverse Merca ...
*
List of map projections This is a summary of map projections that have articles of their own on Wikipedia or that are otherwise notable. Because there is no limit to the number of possible map projections, there can be no comprehensive list. Table of projections * ...
* Spatial reference system *
Topocentric coordinate system The horizontal coordinate system is a celestial coordinate system that uses the observer's local horizon as the fundamental plane (spherical coordinates), fundamental plane to define two angles: altitude and azimuth. Therefore, the horizontal co ...
* Universal polar stereographic coordinate system * Universal Transverse Mercator coordinate system


References

{{reflist, 30em *Conversion Geodesy