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. 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:
sexagesimal degree: degrees, minutes, and seconds : 40° 26′ 46″ N 79° 58′ 56″ W degrees and decimal minutes: 40° 26.767′ N 79° 58.933′ W or 40° 26'.767 N 79° 58'.933 W or 40° 26'767 N 79° 58'933 W decimal degrees: +40.446 -79.982 ('+' sign is commonly omitted) Some conventions include the consistent use of three digits for degrees of longitude below 100°; two digits for degrees of latitude below 10°; and two digits for minuites and seconds below 10' or 10''. This is carried out to limit the risk of confusion when digits are read in sequence; irrespective of value. For example, 05° 09' 01'' S 008° 03' 02'' E. Spaces in these formats are occasionally omitted and variations of the above formattings are common. For example, 10°59'26''123N000°00'04''902W. 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 decimal degrees=degrees+minutes60+seconds3600. To convert back from decimal degree format to degrees minutes seconds format, absDegrees=|decimal degrees|floorAbsDegrees=⌊absDegrees⌋degrees=sgn(decimal degrees)×floorAbsDegreesminutes=⌊60×(absDegrees−floorAbsDegrees)⌋seconds=3600×(absDegrees−floorAbsDegrees)−60×minutes where absDegrees and floorAbsDegrees 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 (latitude ϕ, longitude λ, height h) can be converted into ECEF coordinates using the following equation: X=(N(ϕ)+h)cosϕcosλY=(N(ϕ)+h)cosϕsinλZ=(b2a2N(ϕ)+h)sinϕ=((1−e2)N(ϕ)+h)sinϕ=((1−f)2N(ϕ)+h)sinϕ where N(ϕ)=a2a2cos2ϕ+b2sin2ϕ=a1−e2sin2ϕ=a1−e21+cot2ϕ, and a and b are the equatorial radius (semi-major axis) and the polar radius (semi-minor axis), respectively. e2=1−b2a2 is the square of the first numerical eccentricity of the ellipsoid. f=1−ba is the flattening of the ellipsoid. The prime vertical radius of curvature N(ϕ) 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: Xcosλ−Ysinλ=0. And the following holds for the latitude ϕ: pcosϕ−Zsinϕ−e2N(ϕ)=0, where p=X2+Y2, as the parameter h is eliminated by subtracting pcosϕ=N+h and Zsinϕ=b2a2N+h. The following holds for ϕ and h, derived from dividing above equations: Zpcotϕ=1−e2NN+h.
Orthogonality The orthogonality of the coordinates is confirmed via differentiation: (dXdYdZ)=(−sinλ−sinϕcosλcosϕcosλcosλ−sinϕsinλcosϕsinλ0cosϕsinϕ)(dEdNdU),(dEdNdU)=((N(ϕ)+h)cosϕ000M(ϕ)+h0001)(dλdϕdh), where M(ϕ)=a(1−e2)(1−e2sin2ϕ)32=N(ϕ)1−e21−e2sin2ϕ (see also "Meridian arc on the ellipsoid").
From ECEF to geodetic coordinates
Conversion for the longitude The conversion of ECEF coordinates to longitude is: λ=atan2(Y,X). 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 Unless the parameter h is eliminated, the conversion for the latitude ϕ and height h involves a circular relationship involving N, which is a function of latitude: {Zpcotϕ=1−e2NN+h,h=pcosϕ−N. It can be solved iteratively, 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 106 apart.
Newton–Raphson method The following Bowring's irrational geodetic-latitude equation, derived simply from the above properties, is efficient to be solved by Newton–Raphson iteration method: κ−1−e2aκp2+(1−e2)Z2κ2=0, where κ=pZtanϕ. The height is calculated as: h=e−2(κ−1−κ0−1)p2+Z2κ2,κ0≜(1−e2)−1. The iteration can be transformed into the following calculation: κi+1=ci+(1−e2)Z2κi3ci−p2=1+p2+(1−e2)Z2κi3ci−p2, where ci=(p2+(1−e2)Z2κi2)32ae2. The constant κ0 is a good starter value for the iteration when h≈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 κ, derived from the above, can be solved by Ferrari's solution to yield: ζ=(1−e2)z2a2,ρ=16(p2a2+ζ−e4),s=e4ζp24ρ3a2,t=1+s+s(s+2)3,u=ρ(t+1+1t),v=u2+e4ζ,w=e2u+v−ζ2v,κ=1+e2u+v+w2+wu+v.
… excerpt ends here. Continue reading the full article.


