Geographic coordinate conversion

Last updated

In geodesy, conversion among different geographic coordinate systems is made necessary by the different geographic coordinate systems 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 datums. Geographic coordinate conversion has applications in cartography, surveying, navigation and geographic information systems.

Contents

In geodesy, geographic coordinate conversion is defined as translation among different coordinate formats or map projections all referenced to the same geodetic datum. [1] 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 and geodetic datum.

Change of units and format

Informally, specifying a geographic location usually means giving the location's latitude and longitude. The numerical values for latitude and longitude can occur in a number of different units or formats: [2]

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

.

To convert back from decimal degree format to degrees minutes seconds format,

where and 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

The length PQ, called the prime vertical radius, is
N
(
ph
)
{\displaystyle N(\phi )}
. The length IQ is equal to
e
2
N
(
ph
)
{\displaystyle \,e^{2}N(\phi )}
.
R
=
(
X
,
Y
,
Z
)
{\displaystyle R=(X,\,Y,\,Z)}
. Geodetic latitude and the length of Normal.svg
The length PQ, called the prime vertical radius, is . The length IQ is equal to . .

Geodetic coordinates (latitude , longitude , height ) can be converted into ECEF coordinates using the following equation: [3]

where

and and are the equatorial radius (semi-major axis) and the polar radius (semi-minor axis), respectively. is the square of the first numerical eccentricity of the ellipsoid. is the flattening of the ellipsoid. The prime vertical radius of curvature 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:

And the following holds for the latitude:

where , as the parameter is eliminated by subtracting

and

The following holds furthermore, derived from dividing above equations:

Orthogonality

The orthogonality of the coordinates is confirmed via differentiation:

where

(see also "Meridian arc on the ellipsoid").

From ECEF to geodetic coordinates

Conversion for the longitude

The conversion of ECEF coordinates to longitude is:

.

where atan2 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 for a generalization).

Simple iterative conversion for latitude and height

The conversion for the latitude and height involves a circular relationship involving N, which is a function of latitude:

,
.

It can be solved iteratively, [4] [5] 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 and being maybe 106 apart. [6] [7]

Newton–Raphson method

The following Bowring's irrational geodetic-latitude equation, [8] derived simply from the above properties, is efficient to be solved by Newton–Raphson iteration method: [9] [10]

where and as before. The height is calculated as:

The iteration can be transformed into the following calculation:

where

The constant is a good starter value for the iteration when . 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 , derived from the above, can be solved by Ferrari's solution [11] [12] to yield:

The application of Ferrari's solution

A number of techniques and algorithms are available but the most accurate, according to Zhu, [13] is the following procedure established by Heikkinen, [14] as cited by Zhu. This overlaps with above. It is assumed that geodetic parameters are known

Note: arctan2[Y, X] is the four-quadrant inverse tangent function.

Power series

For small e2 the power series

starts with

Geodetic to/from ENU coordinates

To convert from geodetic coordinates to local tangent plane (ENU) coordinates is a two-stage process:

  1. Convert geodetic coordinates to ECEF coordinates
  2. 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 and an aircraft at , then the vector pointing from the radar to the aircraft in the ENU frame is

Note: is the geodetic latitude ; the geocentric latitude is inappropriate for representing vertical direction for the local tangent plane and must be converted if necessary.

From ENU to ECEF

This is just the inversion of the ECEF to ENU transformation so

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 to an intermediate coordinate system, such as ECEF, then converting from ECEF to projection . 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 [15] and the USGS paper Map Projections: A Working Manual [16] 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. [17]

Datum transformations

The different possible paths for transforming geographic coordinates from datum
A
{\displaystyle A}
to datum
B
{\displaystyle B} Possible paths for datum transform.svg
The different possible paths for transforming geographic coordinates from datum to datum

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 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 to geodetic coordinates of datum occurs in the context of a three-step process: [18]

  1. Convert from geodetic coordinates to ECEF coordinates for datum
  2. Apply the Helmert transform, with the appropriate transform parameters, to transform from datum ECEF coordinates to datum ECEF coordinates
  3. Convert from ECEF coordinates to geodetic coordinates for datum

In terms of ECEF XYZ vectors, the Helmert transform has the form (position vector transformation convention and very small rotation angles simplification) [18]

The Helmert transform is a seven-parameter transform with three translation (shift) parameters , three rotation parameters and one scaling (dilation) parameter . 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. [19]

A fourteen-parameter Helmert transform, with linear time dependence for each parameter, [19] :131-133 can be used to capture the time evolution of geographic coordinates dues to geomorphic processes, such as continental drift [20] and earthquakes. [21] This has been incorporated into software, such as the Horizontal Time Dependent Positioning (HTDP) tool from the U.S. NGS. [22]

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. [19] :133-134

Like the Helmert transform, using the Molodensky-Badekas transform is a three-step process:

  1. Convert from geodetic coordinates to ECEF coordinates for datum
  2. Apply the Molodensky-Badekas transform, with the appropriate transform parameters, to transform from datum ECEF coordinates to datum ECEF coordinates
  3. Convert from ECEF coordinates to geodetic coordinates for datum

The transform has the form [23]

where is the origin for the rotation and scaling transforms and 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. [19] :134

Molodensky transformation

The Molodensky transformation converts directly between geodetic coordinate systems of different datums without the intermediate step of converting to geocentric coordinates (ECEF). [24] 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 (NGA) in their standard TR8350.2 and the NGA supported GEOTRANS program. [25] The Molodensky method was popular before the advent of modern computers and the method is part of many geodetic programs.

Grid-based method

Magnitude of shift in position between NAD27 and NAD83 datum as a function of location. Datum Shift Between NAD27 and NAD83.png
Magnitude of shift in position between NAD27 and NAD83 datum as a function of location.

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. [26] 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). [27] 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 provides a software tool (as part of the NGS Geodetic Toolkit) for performing NADCON transformations. [28] [29]

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. [30] The standard NIMA TM 8350.2, Appendix D, [31] lists MRE transforms from several local datums to WGS 84, with accuracies of about 2 meters. [32]

The MREs are a direct transformation of geodetic coordinates with no intermediate ECEF step. Geodetic coordinates in the new datum are modeled as polynomials of up to the ninth degree in the geodetic coordinates of the original datum . For instance, the change in could be parameterized as (with only up to quadratic terms shown) [30] :9

where

parameters fitted by multiple regression
scale factor
origin of the datum,

with similar equations for and . Given a sufficient number of 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

Related Research Articles

<span class="mw-page-title-main">Latitude</span> Geographic coordinate specifying north–south position

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 pole, with 0° at the Equator. Lines of constant latitude, or parallels, run east–west as circles parallel to the equator. Latitude and longitude are used together as a coordinate pair to specify a location on the surface of the Earth.

<span class="mw-page-title-main">Spherical coordinate system</span> Coordinates comprising a distance and two angles

In mathematics, a spherical coordinate system is a coordinate system for three-dimensional space where the position of a given point in space is specified by three real numbers: the radial distancer along the radial line connecting the point to the fixed point of origin; the polar angleθ between the radial line and a polar axis; and the azimuthal angleφ as the angle of rotation of the radial line around the polar axis. (See graphic re the "physics convention".) Once the radius is fixed, the three coordinates (r, θ, φ), known as a 3-tuple, provide a coordinate system on a sphere, typically called the spherical polar coordinates.

<span class="mw-page-title-main">Astronomical coordinate systems</span> System for specifying positions of celestial objects

In astronomy, coordinate systems are used for specifying positions of celestial objects relative to a given reference frame, based on physical reference points available to a situated observer. Coordinate systems in astronomy can specify an object's relative position in three-dimensional space or plot merely by its direction on a celestial sphere, if the object's distance is unknown or trivial.

<span class="mw-page-title-main">Ellipsoid</span> Quadric surface that looks like a deformed sphere

An ellipsoid is a surface that can be obtained from a sphere by deforming it by means of directional scalings, or more generally, of an affine transformation.

<span class="mw-page-title-main">Great-circle distance</span> Shortest distance between two points on the surface of a sphere

The great-circle distance, orthodromic distance, or spherical distance is the distance between two points on a sphere, measured along the great-circle arc between them. This arc is the shortest path between the two points on the surface of the sphere.

In mathematics, the Carlson symmetric forms of elliptic integrals are a small canonical set of elliptic integrals to which all others may be reduced. They are a modern alternative to the Legendre forms. The Legendre forms may be expressed in terms of the Carlson forms and vice versa.

In probability theory, the Borel–Kolmogorov paradox is a paradox relating to conditional probability with respect to an event of probability zero. It is named after Émile Borel and Andrey Kolmogorov.

In linear algebra, a rotation matrix is a transformation matrix that is used to perform a rotation in Euclidean space. For example, using the convention below, the matrix

The solar zenith angle is the zenith angle of the sun, i.e., the angle between the sun’s rays and the vertical direction. It is the complement to the solar altitude or solar elevation, which is the altitude angle or elevation angle between the sun’s rays and a horizontal plane. At solar noon, the zenith angle is at a minimum and is equal to latitude minus solar declination angle. This is the basis by which ancient mariners navigated the oceans.

The Schwarzschild solution describes spacetime under the influence of a massive, non-rotating, spherically symmetric object. It is considered by some to be one of the simplest and most useful solutions to the Einstein field equations.

<span class="mw-page-title-main">Tissot's indicatrix</span> Characterization of distortion in map projections

In cartography, a Tissot's indicatrix is a mathematical contrivance presented by French mathematician Nicolas Auguste Tissot in 1859 and 1871 in order to characterize local distortions due to map projection. It is the geometry that results from projecting a circle of infinitesimal radius from a curved geometric model, such as a globe, onto a map. Tissot proved that the resulting diagram is an ellipse whose axes indicate the two principal directions along which scale is maximal and minimal at that point on the map.

<span class="mw-page-title-main">Lambert conformal conic projection</span> Conic conformal map projection

A Lambert conformal conic projection (LCC) is a conic map projection used for aeronautical charts, portions of the State Plane Coordinate System, and many national and regional mapping systems. It is one of seven projections introduced by Johann Heinrich Lambert in his 1772 publication Anmerkungen und Zusätze zur Entwerfung der Land- und Himmelscharten.

<span class="mw-page-title-main">Hopf bifurcation</span> Critical point where a periodic solution arises

In the mathematical theory of bifurcations, a Hopfbifurcation is a critical point where, as a parameter changes, a system's stability switches and a periodic solution arises. More accurately, it is a local bifurcation in which a fixed point of a dynamical system loses stability, as a pair of complex conjugate eigenvalues—of the linearization around the fixed point—crosses the complex plane imaginary axis as a parameter crosses a threshold value. Under reasonably generic assumptions about the dynamical system, the fixed point becomes a small-amplitude limit cycle as the parameter changes.

Ellipsoidal coordinates are a three-dimensional orthogonal coordinate system that generalizes the two-dimensional elliptic coordinate system. Unlike most three-dimensional orthogonal coordinate systems that feature quadratic coordinate surfaces, the ellipsoidal coordinate system is based on confocal quadrics.

<span class="mw-page-title-main">Local tangent plane coordinates</span> Geographic coordinate system

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 local vertical direction and the Earth's axis of rotation. It consists of three coordinates: one represents the position along the northern axis, one along the local eastern axis, and one represents the vertical position. Two right-handed variants exist: east, north, up (ENU) coordinates and north, east, down (NED) coordinates. They serve for representing state vectors that are commonly used in aviation and marine cybernetics.

In physics and mathematics, the solid harmonics are solutions of the Laplace equation in spherical polar coordinates, assumed to be (smooth) functions . There are two kinds: the regular solid harmonics, which are well-defined at the origin and the irregular solid harmonics, which are singular at the origin. Both sets of functions play an important role in potential theory, and are obtained by rescaling spherical harmonics appropriately:

<span class="mw-page-title-main">Geographical distance</span> Distance measured along the surface of the Earth

Geographical distance or geodetic distance is the distance measured along the surface of the Earth, or the shortest arch length.

<span class="mw-page-title-main">Geodetic coordinates</span> Geographic coordinate system

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 heighth. The triad is also known as Earth ellipsoidal coordinates.

Transverse Mercator projection has many implementations. Louis Krüger in 1912 developed one of his two implementations that expressed as a power series in the longitude difference from the central meridian. These series were recalculated by Lee in 1946, by Redfearn in 1948, and by Thomas in 1952. They are often referred to as the Redfearn series, or the Thomas series. This implementation is of great importance since it is widely used in the U.S. State Plane Coordinate System, in national and also international mapping systems, including the Universal Transverse Mercator coordinate system (UTM). They are also incorporated into the Geotrans coordinate converter made available by the United States National Geospatial-Intelligence Agency. When paired with a suitable geodetic datum, the series deliver high accuracy in zones less than a few degrees in east-west extent.

References

  1. Roger Foster; Dan Mullaney. "Basic Geodesy Article 018: Conversions and Transformations" (PDF). National Geospatial Intelligence Agency. Archived (PDF) from the original on 27 November 2020. Retrieved 4 March 2014.
  2. "Coordinate transformer". Ordnance Survey Great Britain. Archived from the original on 12 August 2013. Retrieved 4 March 2014.
  3. B. Hofmann-Wellenhof; H. Lichtenegger; J. Collins (1997). GPS - theory and practice. Section 10.2.1. p. 282. ISBN   3-211-82839-7.
  4. A guide to coordinate systems in Great Britain. This is available as a pdf document at "ordnancesurvey.co.uk". Archived from the original on 2012-02-11. Retrieved 2012-01-11. Appendices B1, B2
  5. Osborne, P (2008). The Mercator Projections Archived 2012-01-18 at the Wayback Machine Section 5.4
  6. R. Burtch, A Comparison of Methods Used in Rectangular to Geodetic Coordinate Transformations.
  7. Featherstone, W. E.; Claessens, S. J. (2008). "Closed-Form Transformation between Geodetic and Ellipsoidal Coordinates". Stud. Geophys. Geod. 52 (1): 1–18. Bibcode:2008StGG...52....1F. doi:10.1007/s11200-008-0002-6. hdl: 20.500.11937/11589 . S2CID   59401014.
  8. Bowring, B. R. (1976). "Transformation from Spatial to Geographical Coordinates". Surv. Rev. 23 (181): 323–327. doi:10.1179/003962676791280626.
  9. Fukushima, T. (1999). "Fast Transform from Geocentric to Geodetic Coordinates". J. Geod. 73 (11): 603–610. Bibcode:1999JGeod..73..603F. doi:10.1007/s001900050271. S2CID   121816294. (Appendix B)
  10. Sudano, J. J. (1997). "An exact conversion from an earth-centered coordinate system to latitude, longitude and altitude". Proceedings of the IEEE 1997 National Aerospace and Electronics Conference. NAECON 1997. Vol. 2. pp. 646–650. doi:10.1109/NAECON.1997.622711. ISBN   0-7803-3725-5. S2CID   111028929.
  11. Vermeille, H., H. (2002). "Direct Transformation from Geocentric to Geodetic Coordinates". J. Geod. 76 (8): 451–454. doi:10.1007/s00190-002-0273-6. S2CID   120075409.
  12. Gonzalez-Vega, Laureano; PoloBlanco, Irene (2009). "A symbolic analysis of Vermeille and Borkowski polynomials for transforming 3D Cartesian to geodetic coordinates". J. Geod. 83 (11): 1071–1081. Bibcode:2009JGeod..83.1071G. doi:10.1007/s00190-009-0325-2. S2CID   120864969.
  13. Zhu, J. (1994). "Conversion of Earth-centered Earth-fixed coordinates to geodetic coordinates". IEEE Transactions on Aerospace and Electronic Systems. 30 (3): 957–961. Bibcode:1994ITAES..30..957Z. doi:10.1109/7.303772.
  14. Heikkinen, M. (1982). "Geschlossene formeln zur berechnung räumlicher geodätischer koordinaten aus rechtwinkligen koordinaten". Z. Vermess. (in German). 107: 207–211.
  15. "TM8358.2: The Universal Grids: Universal Transverse Mercator (UTM) and Universal Polar Stereographic (UPS)" (PDF). National Geospatial-Intelligence Agency. Archived (PDF) from the original on 3 March 2020. Retrieved 4 March 2014.
  16. Snyder, John P. (1987). Map Projections: A Working Manual. USGS Professional Paper: 1395. Archived from the original on 2011-05-17. Retrieved 2017-08-28.
  17. "MSP GEOTRANS 3.3 (Geographic Translator)". NGA: Coordinate Systems Analysis Branch. Archived from the original on 15 March 2014. Retrieved 4 March 2014.
  18. 1 2 "Equations Used for Datum Transformations". Land Information New Zealand (LINZ). Archived from the original on 6 March 2014. Retrieved 5 March 2014.
  19. 1 2 3 4 "Geomatics Guidance Note Number 7, part 2 Coordinate Conversions and Transformations including Formulas" (PDF). International Association of Oil and Gas Producers (OGP). Archived from the original (PDF) on 6 March 2014. Retrieved 5 March 2014.
  20. Bolstad, Paul (2012). GIS Fundamentals, 4th Edition (PDF). Atlas books. p. 93. ISBN   978-0-9717647-3-6. Archived from the original (PDF) on 2016-02-02.
  21. "Addendum to NIMA TR 8350.2: Implementation of the World Geodetic System 1984 (WGS 84) Reference Frame G1150" (PDF). National Geospatial-Intelligence Agency. Archived (PDF) from the original on 11 May 2012. Retrieved 6 March 2014.
  22. "HTDP - Horizontal Time-Dependent Positioning". U.S. National Geodetic Survey (NGS). Archived from the original on 25 November 2019. Retrieved 5 March 2014.
  23. "Molodensky-Badekas (7+3) Transformations". National Geospatial Intelligence Agency (NGA). Archived from the original on 19 July 2013. Retrieved 5 March 2014.
  24. "ArcGIS Help 10.1: Equation-based methods". ESRI. Archived from the original on 4 December 2019. Retrieved 5 March 2014.
  25. "Datum Transformations". National Geospatial-Intelligence Agency. Archived from the original on 9 October 2014. Retrieved 5 March 2014.
  26. "ArcGIS Help 10.1: Grid-based methods". ESRI. Archived from the original on 4 December 2019. Retrieved 5 March 2014.
  27. "NADCON/HARN Datum ShiftMethod". bluemarblegeo.com. Archived from the original on 6 March 2014. Retrieved 5 March 2014.
  28. "NADCON - Version 4.2". NOAA. Archived from the original on 6 May 2021. Retrieved 5 March 2014.
  29. Mulcare, Donald M. "NGS Toolkit, Part 8: The National Geodetic Survey NADCON Tool". Professional Surveyor Magazine. Archived from the original on 6 March 2014. Retrieved 5 March 2014.
  30. 1 2 User's Handbook on Datum Transformations Involving WGS 84 (PDF) (Report). Special Publication No. 60 (3rd ed.). Monaco: International Hydrographic Bureau. August 2008. Archived (PDF) from the original on 2016-04-12. Retrieved 2017-01-10.
  31. "DEPARTMENT OF DEFENSE WORLD GEODETIC SYSTEM 1984 Its Definition and Relationships with Local Geodetic Systems" (PDF). National Imagery and Mapping Agency (NIMA). Archived (PDF) from the original on 11 April 2014. Retrieved 5 March 2014.
  32. Taylor, Chuck. "High-Accuracy Datum Transformations". Archived from the original on 4 January 2013. Retrieved 5 March 2014.