Geographic coordinate conversion: Difference between revisions
Rescuing 1 sources and tagging 0 as dead. #IABot (v1.6.2) (Balon Greyjoy) |
Damning LaTeX typo. I'm not good enough to get the spacing completely right after fixing though. |
||
Line 129: | Line 129: | ||
: <math>\kappa - 1 - \frac{e^2 a \kappa}{\sqrt{p^2+(1-e^2) Z^2 \kappa^2 }} = 0,</math> |
: <math>\kappa - 1 - \frac{e^2 a \kappa}{\sqrt{p^2+(1-e^2) Z^2 \kappa^2 }} = 0,</math> |
||
where <math>\kappa = \frac{p}{Z} \tan \phi</math> |
where <math>\kappa = \frac{p}{Z} \tan \phi</math> and <math> p=\sqrt{x^2+y^2}.</math> The height is calculated as: |
||
: <math>h= e^{-2} (\kappa^{-1} - {\kappa_0}^{-1}) \sqrt{p^2+ Z^2 \kappa^2 }, </math> |
: <math>h= e^{-2} (\kappa^{-1} - {\kappa_0}^{-1}) \sqrt{p^2+ Z^2 \kappa^2 }, </math> |
Revision as of 01:20, 26 March 2018
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.
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.
Coordinate format conversion
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 formats:[2]
- degrees minutes seconds: 40° 26′ 46″ N 79° 58′ 56″ W
- degrees decimal minutes: 40° 26.767′ N 79° 58.933′ W
- decimal degrees: 40.446° N 79.982° W
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 the notation means take the integer part of and is called a floor function.
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 ECEF coordinates and conversion from one type of map projection to another.
From geodetic to ECEF coordinates
Geodetic coordinates (latitude , longitude , height ) can be converted into ECEF coordinates using the following formulae:[3]
where
and and are the equatorial radius (semi-major axis) and the polar radius (semi-minor axis), respectively. The normal is the distance from the surface to the Z-axis along the ellipsoid normal (see "Radius of curvature on the Earth"). The parameter h is eliminated by subtracting
and
so the following equation holds:
where and is the square of the first numerical eccentricity of the ellipsoid.
The orthogonality of the coordinates is confirmed via differentiation:
where
(see also "Meridian arc on the ellipsoid").
From ECEF to geodetic coordinates
The conversion of ECEF coordinates to geodetic coordinates (such WGS84) involves more trigonometry but is sensitive to small accuracy due to Rn and h being maybe 10^6 apart,[4][5] but longitude is same as geocentric, .
There are several methods that solve the equation; two are shown.
Newton–Raphson method
The following Bowring's irrational geodetic-latitude equation[6] is efficient to be solved by Newton–Raphson iteration method:[7][8]
where and 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[9][10] to yield:
The application of Ferrari's solution
A number of techniques and algorithms are available but the most accurate according to Zhu,[11] is the following 15 step procedure summarised by Kaplan. 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 ENU coordinates is a two-stage process:
- Convert geodetic coordinates to ECEF coordinates
- Convert ECEF coordinates to local ENU coordinates
To convert from local ENU coordinates to geodetic coordinates is a two-stage process
- Convert local ENU coordinates to ECEF coordinates
- Convert ECEF coordinates to geodetic 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. A prior version of this page showed use of the geocentric latitude (). The geocentric latitude is not the appropriate up direction for the local tangent plane. If the original geodetic latitude is available it should be used, otherwise, the relationship between geodetic and geocentric latitude has an altitude dependency, and is captured by:
Obtaining geodetic latitude from geocentric coordinates from this relationship requires an iterative solution approach, otherwise the geodetic coordinates may be computed via the approach in the section above labeled "From ECEF to geodetic coordinates."
The geocentric and geodetic longitude have the same value. This is true for the Earth and other similar shaped planets because their latitude lines (parallels) can be considered in much more degree perfect circles when compared to their longitude lines (meridians).
Note: Unambiguous determination of and requires knowledge of which quadrant the coordinates lie in.
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[12] and the USGS paper Map Projections: A Working Manual[13] 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.[14]
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.
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.[15] 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).[16] 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.[17][18]
Molodensky transformation
The Molodensky transformation converts directly between geodetic coordinate systems of different datums without the intermediate step of converting to geocentric ECEF coordinates.[19] 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.[20] The Molodensky method was popular before the advent of modern computers and the method is part of many geodetic programs.
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.[21] The standard NIMA TM 8350.2, Appendix D,[22] lists MRE transforms from several local datums to WGS 84, with accuracies of about 2 meters.[23]
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)[21]: 9
where
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.
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:[24]
- Convert from geodetic coordinates to ECEF coordinates for datum
- Apply the Helmert transform, with the appropriate transform parameters, to transform from datum ECEF coordinates to datum ECEF coordinates
- Convert from ECEF coordinates to geodetic coordinates for datum
In terms of ECEF XYZ vectors, the Helmert transform has the form[24]
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.[25]
A fourteen-parameter Helmert transform, with linear time dependence for each parameter,[25]: 131-133 can be used to capture the time evolution of geographic coordinates dues to geomorphic processes, such as continental drift.[26] and earthquakes.[27] This has been incorporated into software, such as the Horizontal Time Dependent Positioning (HTDP) tool from the U.S. NGS.[28]
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.[25]: 133-134
Like the Helmert transform, using the Molodensky-Badekas transform is a three-step process:
- Convert from geodetic coordinates to ECEF coordinates for datum
- Apply the Molodensky-Badekas transform, with the appropriate transform parameters, to transform from datum ECEF coordinates to datum ECEF coordinates
- Convert from ECEF coordinates to geodetic coordinates for datum
The transform has the form[29]
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.[25]: 134
See also
- Gauss–Krüger coordinate system
- List of map projections
- Spatial reference system
- Topocentric coordinate system
- Universal polar stereographic coordinate system
- Universal Transverse Mercator coordinate system
References
- ^ Roger Foster; Dan Mullaney. "Basic Geodesy Article 018: Conversions and Transformations" (PDF). National Geospatial Intelligence Agency. Retrieved 4 March 2014.
- ^ "Coordinate transformer". Ordnance Survey Great Britain. Retrieved 4 March 2014.
- ^ B. Hofmann-Wellenhof; H. Lichtenegger; J. Collins. GPS - theory and practice. Section 10.2.1. p. 282. ISBN 3-211-82839-7.
- ^ R. Burtch, A Comparison of Methods Used in Rectangular to Geodetic Coordinate Transformations.[permanent dead link]
- ^ Featherstone, W. E.; Claessens, S. J. (2008). "Closed-Form Transformation between Geodetic and Ellipsoidal Coordinates". Stud. Geophys. Geod. 52 (1): 1–18. doi:10.1007/s11200-008-0002-6.
- ^ Bowring, B. R. (1976). "Transformation from Spatial to Geographical Coordinates". Surv. Rev. 23 (181): 323–327. doi:10.1179/003962676791280626.
- ^ Fukushima, T. (1999). "Fast Transform from Geocentric to Geodetic Coordinates". J. Geod. 73 (11): 603–610. doi:10.1007/s001900050271. (Appendix B)
- ^ Sudano, J. J. (1997). "An exact conversion from an earth-centered coordinate system to latitude, longitude and altitude". doi:10.1109/NAECON.1997.622711.
{{cite journal}}
: Cite journal requires|journal=
(help) - ^ Vermeille, H., H. (2002). "Direct Transformation from Geocentric to Geodetic Coordinates". J. Geod. 76 (8): 451–454. doi:10.1007/s00190-002-0273-6.
- ^ 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. doi:10.1007/s00190-009-0325-2.
- ^ Zhu, J. (1994). "Conversion of Earth-centered Earth-fixed coordinates to geodetic coordinates". IEEE Trans. Aerospace and Electronic Systems. 30: 957–961. doi:10.1109/7.303772.
- ^ "TM8358.2: The Universal Grids: Universal Transverse Mercator (UTM) and Universal Polar Stereographic (UPS)" (PDF). National Geospatial-Intelligence Agency. Retrieved 4 March 2014.
- ^ Snyder, John P. (1987). Map Projections: A Working Manual. USGS Professional Paper: 1395.
- ^ "MSP GEOTRANS 3.3 (Geographic Translator)". NGA: Coordinate Systems Analysis Branch. Retrieved 4 March 2014.
- ^ "ArcGIS Help 10.1: Grid-based methods". ESRI. Retrieved 5 March 2014.
- ^ "NADCON/HARN Datum ShiftMethod". bluemarblegeo.com. Retrieved 5 March 2014.
- ^ "NADCON - Version 4.2". NOAA. Retrieved 5 March 2014.
- ^ 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.
{{cite web}}
: Unknown parameter|deadurl=
ignored (|url-status=
suggested) (help) - ^ "ArcGIS Help 10.1: Equation-based methods". ESRI. Retrieved 5 March 2014.
- ^ "Datum Transformations". National Geospatial-Intelligence Agency. Retrieved 5 March 2014.
- ^ a b User's Handbook on Datum Transformations Involving WGS 84 (PDF) (Report). Special Publication No. 60 (3rd ed.). Monaco: International Hydrographic Bureau. August 2008. Retrieved 2017-01-10.
- ^ "DEPARTMENT OF DEFENSE WORLD GEODETIC SYSTEM 1984 Its Definition and Relationships with Local Geodetic Systems" (PDF). National Imagery and Mapping Agency (NIMA). Retrieved 5 March 2014.
- ^ Taylor, Chuck. "High-Accuracy Datum Transformations". Retrieved 5 March 2014.
- ^ a b "Equations Used for Datum Transformations". Land Information New Zealand (LINZ). Retrieved 5 March 2014.
- ^ a b c d "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.
{{cite web}}
: Unknown parameter|deadurl=
ignored (|url-status=
suggested) (help) - ^ Bolstad, Paul. GIS Fundamentals, 4th Edition (PDF). Atlas books. p. 93. ISBN 978-0-9717647-3-6. Archived from the original (PDF) on 2016-02-02.
{{cite book}}
: Unknown parameter|deadurl=
ignored (|url-status=
suggested) (help) - ^ "Addendum to NIMA TR 8350.2: Implementation of the World Geodetic System 1984 (WGS 84) Reference Frame G1150" (PDF). National Geospatial-Intelligence Agency. Retrieved 6 March 2014.
- ^ "HTDP - Horizontal Time-Dependent Positioning". U.S. National Geodetic Survey (NGS). Retrieved 5 March 2014.
- ^ "Molodensky-Badekas (7+3) Transformations". National Geospatial Intelligence Agency (NGA). Retrieved 5 March 2014.
External links
- Online converter which can understand many different notations