TRANSVERSE MERCATOR AND LAMBERT CONFORMAL CONIC PROJECTION FUNCTIONS Alan Vonderohe (February 2020)

Contents 1. Background. 2. General Notation and Definitions. 3. Ellipsoid Constants. 4. Transverse Mercator Projections (After Stem (1989)). a. Projection-Specific Notation. b. Projection Constants. c. Direct Transformation (Φ,λ to N,E). d. Inverse Transformation (N,E to Φ,λ). e. and Convergence. 5. Lambert Conformal Conic Projections. a. Secant (Two Standard Parallels) (After Stem (1989)). i. Projection-Specific Notation. ii. Projection Constants. iii. Direct Transformation (Φ,λ to N,E). iv. Inverse Transformation (N,E to Φ,λ). b. Non-Intersecting (Central Parallel and Its Scale Factor) (After Bomford (1985)). i. Projection-Specific Notation. ii. Projection Constants. iii. Direct Transformation (Φ,λ to N,E). iv. Inverse Transformation (N,E to Φ,λ). v. Scale and Convergence. 6. Linear Distortion at Φ,λ. 7. Geocentric Coordinates. a. Direct Transformation (Φ,λ,h to X,Y,Z). b. Inverse Transformation (X,Y,Z to Φ,λ,h). 8. List of References.

1

1. Background.

A is a mathematical surface with functional relationships between points having geodetic coordinates ( and longitude) on a reference ellipsoid and corresponding points with two-dimensional rectangular coordinates (northing and easting) on the map projection surface. A map projection is described by mathematical transformations between the two types of coordinates. A “direct” transformation computes northing and easting (N,E) from latitude and longitude (ϕ,λ):

N = f1(ϕ,λ, ellipsoid parameters, map projection parameters) E = f2(ϕ,λ, ellipsoid parameters, map projection parameters)

An “inverse” transformation computes ϕ,λ from N,E:

ϕ = g1(N,E, ellipsoid parameters, map projection parameters) λ = g2(N,E, ellipsoid parameters, map projection parameters)

In the equations above, ellipsoid parameters are two descriptors that define the size and shape of the reference ellipsoid. In this document, those two parameters are the semi-major axis (a) and the semi-minor axis (b). Map projection parameters are descriptors that define the size and shape of the map projection surface and its location and orientation with respect to the reference ellipsoid. Map projection parameters also define the location of the rectangular coordinate origin and its false northing and false easting values.

On any map projection, each point has a scale factor and a convergence. On conformal map projections, such as transverse Mercator and Lambert conformal conic, the scale factor is the same in all directions at any given point but is variable from point to point. Convergence, sometimes referred to as “the mapping angle”, also varies from point to point and is the angle between geodetic north and grid north. It is defined as a geodetic azimuth minus the projection of that azimuth on the map projection coordinate grid. Convergence at a point is not the difference between geodetic azimuth and grid azimuth. Such a difference depends not only upon convergence but also upon the “arc-to-chord” or “second term” correction. Arc-to-chord corrections, at any point, vary with distance and direction to an arbitrary second point, whose coordinates must be specified. This 2 document presents methods for computing scale and convergence. It does not address methods for computing arc-to-chord corrections. For many applications arc-to-chord corrections are negligible.

The scale factor (denoted k) and convergence (denoted  ) are found by functions:

k = h1(ϕ,λ, a, b, map projection parameters) = h2(ϕ,λ, a, b, map projection parameters)

Finally, any given point on a map projection has a linear distortion that is the ratio of a very small distance on Earth’s surface to the corresponding very small distance on the map projection surface. Linear distortion accounts for the separation between the two surfaces and expresses the error to be encountered if ground distances are used for grid distances:

LD = i(ϕ, a, b, k, ellipsoid height)

This document presents each of the functions described above for transverse Mercator projections and two types of Lambert conformal conic projections.

2. General Notation and Definitions. ϕ Geodetic latitude, positive north. λ Geodetic longitude, positive east (0° to 360°). N Northing coordinate on the projection. E Easting coordinate on the projection. λo Longitude of the central meridian and the coordinate origin. Eo False easting of the coordinate origin. ϕo Latitude of the coordinate origin (transverse Mercator and non-intersecting Lambert conformal conic). Also, latitude of the central parallel (Lambert conformal conic). ko Scale factor along the central meridian (transverse Mercator) or central parallel (Lambert conformal conic). k Scale factor. Convergence. a Semi-major axis of the reference ellipsoid. b Semi-minor axis of the reference ellipsoid. e First eccentricity of the reference ellipsoid. e’ Second eccentricity of the reference ellipsoid. ν Radius of curvature in the prime vertical.

3

ρ Radius of curvature in the meridian. RG Gaussian or geometric mean radius of curvature. Ng Geoid height. h Ellipsoid height. H Orthometric height.

3. Ellipsoid Constants. a2 − b2 e2 = a2 e2 e'2 = 1− e2 a − b n = a + b

4. Transverse Mercator Projections (After Stem (1989)).

Transverse Mercator projections are based upon right cylinders whose axes lie in the equatorial plane and pass through the center of the reference ellipsoid. The selected right cylinder can be secant or tangent to the reference ellipsoid. It can also not intersect the reference ellipsoid at all.

4.a. Projection-Specific Notation.

NOTE: Projection parameters are ϕo, λo, ko, No, Eo.

ω Rectifying latitude. S Meridional distance from the equator, multiplied by ko. ωo Rectifying latitude at ϕo. So Meridional distance from the equator to ϕo, multiplied by ko. r Radius of the rectifying sphere. No False northing of the coordinate origin.

4

4.b. Projection Constants.

2 4 2  9n 225n  r = a(1− n)(1− n )1+ +   4 64  3n 9n3 u = − + 2 2 16 15n2 15n4 u = − 4 16 32 35n3 u = − 6 48 315n4 u = 8 512

U0 = 2(u2 − 2u4 + 3u6 − 4u8 ) U = 8(u − 4u +10u ) 2 4 6 8 U 4 = 32(u6 − 6u8 )

U6 = 128u8

3n 27n3 v = − 2 2 32 21n2 55n4 v = − 4 16 32

151n3 v = 6 96 1097n4 v = 8 512

V0 = 2(v2 − 2v4 + 3v6 − 4v8 ) V = 8(v − 4v +10v ) 2 4 6 8 V4 = 32(v6 − 6v8 )

V6 = 128v8

 =  + sin cos (U +U cos2  +U cos4  +U cos6  ) o o o o 0 2 o 4 o 6 o So = koor

4.c. Direct Transformation (ϕ,λ to N,E)

5 t = tan  2 = e'2 cos2  k a R = o 1− e2 sin2 

A1 = −R Rt A = 2 2 1− t 2 + 2 A = 3 6 5 − t 2 + 2 (9 + 4 2 ) A = 4 12 5 −18t 2 + t 4 + 2 (14 − 58t 2 ) A = 5 120 61− 58t 2 + t 4 + 2 (270− 330t 2 ) A = 6 360 61− 479t 2 +179t 4 − t 6 A = 7 5040 N = S − S + N + A L2 1+ L2 (A + A L2 ) o o 2 4 6 2 2 2 E = Eo + A1L1+ L A3 + L (A5 + A7 L )

4.d. Inverse Transformation (N,E to ϕ,λ) N − N + S  = o o ko r 2 4 6  f =  + sin cos(V0 +V2 cos  +V4 cos  +V6 cos ) t f = tan f 2 2 2  f = e' cos  f k a R = o f 2 2 1− e sin  f E − E Q = o R f − t (1+ 2 ) B = f f 2 2

6

− (1+ 2t 2 + 2 ) B = f f 3 6 − (5 + 3t 2 + 2 (1− 9t 2 ) − 4 4 ) B = f f f f 4 12 5 + 28t 2 + 24t 4 + 2 (6 + 8t 2 ) B = f f f f 5 120 61+ 90t 2 + 45t 4 + 2 (46 − 252t 2 − 90t 4 ) B = f f f f f 6 360 − (61+ 662t 2 +1320t 4 + 720t 6 ) B = f f f 7 5040

4.e. Scale and Convergence. Convergence ( ) in radians. t = tan

 2 = e'2 cos2 

1 C = (2 − t 2 ) 5 15 2 2  = C1L1+ L (C3 + C5 L )

Scale Factor (k). 1 F = (1+ 2 ) 2 2 1 F = 5 − 4t 2 + 2 (9 − 24t 2 ) 4 12 2 2 k = ko 1+ F2 L (1+ F4 L )

7

5. Lambert Conformal Conic Projections.

Lambert conformal conic projections are based upon right circular cones whose axes coincide with the minor axis the reference ellipsoid. The selected right circular cone can be secant or tangent to the reference ellipsoid. It can also not intersect the reference ellipsoid at all.

5.a. Secant (Two Standard Parallels) (After Stem (1989)).

5.a.i. Projection-Specific Notation.

NOTE: Projection parameters are ϕN, ϕS, ϕb, λo, Nb, Eo.

ϕN Latitude of the northern standard parallel. ϕS Latitude of the southern standard parallel. ϕb Latitude of the coordinate origin. Nb False northing of the coordinate origin. R Mapping radius at latitude ϕ. Rb Mapping radius at latitude ϕb.

8

5.a.ii. Projection Constants.

1  1+ sin  1+ esin   S   S  QS = ln  − eln  2  1− sinS  1− esinS  2 2 WS = 1− e sin S 1  1+ sin  1+ esin   N   N  QN = ln  − eln  2  1− sinN  1− esinN  2 2 WN = 1− e sin N 1  1+ sin  1+ esin   b   b  Qb = ln  − eln  2  1− sinb  1− esinb   W cos  ln N S  W cos   = sin−1   S N  o  Q − Q   N S   

5.a.iii. Direct Transformation (Φ,λ to N,E).

N = R + N − Rcos b b E = Eo + Rsin

9

5.a.iv. Inverse Transformation (N,E to Φ,λ).

Latitude computation is iterative:

−1  exp(2Q) −1 1. Approximate ϕ with  = sin    exp(2Q) +1

2. Compute a correction of (-f1 / f2) from:

1  1+ sin  1+ esin  f1 = ln  − eln  − Q 2 1− sin  1− esin    1 e2 f = − 2 1− sin2  1− e2 sin2  3. Add the correction to sinϕ. 4. Repeat steps 2 and 3 twice more for a total of three corrections.

10

5.b. Non-Intersecting (Central Parallel and Its Scale Factor) (After Bomford (1985)).

5.b.i. Projection-Specific Notation.

NOTE: Projection parameters are ϕo, λo, ko, No, Eo.

No False northing of the coordinate origin and northing of the central parallel at the central meridian. ro Mapping radius at the coordinate origin. vo Radius of curvature in the prime vertical at ϕo. ρo Radius of curvature in the meridian at ϕo. Mo Meridional arc from the equator to ϕo. MΦ Meridional arc from the equator to ϕ. M Meridional arc from ϕ to ϕo (M is negative if MΦ < Mo). s Meridional arc from ϕ to ϕo scaled to the projection (s is negative if MΦ < Mo).

5.b.ii. Projection Constants.

e2 3e4 5e6 A = 1− − − o 4 64 256 3  e4 15e6   2  A2 = e + +  8  4 128  15  3e6   4  A4 = e +  256 4 

 35  6 A6 =  e  3072

M o = a(A0o − A2 sin2o + A4 sin4o − A6 sin6o )

11

5.b.iii. Direct Transformation (Φ,λ to N,E).

M = a(A0 − A2 sin2 + A4 sin4 − A6 sin6)

M = M  − M o M 3 M 3 = 6 o o

4 2 2 M tano (1− 4e' cos o ) M 4 = 2 24o o

5 2 2 2 2 M (5 + 3tan o − 3e' −e' cos o ) M 5 = 2 2 120o o

6 2 M tano (7 + 4 tan o ) M 6 = 2 3 240 o o

7 4 2 M (60tan o +180tan o + 61) M 7 = 3 3 5040 o o

s = ko (M + M3 + M4 + M5 + M6 + M7 )

 = ( − o )sino

E = (ro − s)sin

E = Eo + E    N = N o + s + E tan   2 

5.b.iv. Inverse Transformation (N,E to Φ,λ).

−1  E − Eo   = tan    ro − N + N o        =   + o  sino     s = N − N o − (E − Eo ) tan   2 

12

Computation of M is iterative: s 1. Begin with an approximation of M a = . ko 2. Compute the following: M 3 M = a 3a 6 o o M 4 tan (1− 4e'2 cos2  ) M = a o o 4a 2 24o o M 5 (5 + 3tan 2  − 3e'2 −e'2 cos2  ) M = a o o 5a 2 2 120o o M 6 tan (7 + 4 tan 2  ) M = a o o 6a 2 3 240 o o M 7 (60tan 4  +180tan 2  + 61) M = a o o 7a 3 3 5040 o o  s  − F =   − M − M − M − M − M − M a   a 3a 4a 5a 6a 7a  ko 

 F  3M 3 4M 4 5M 5 6M 6 7M 7   = 1+ a + a + a + a + a  M a M a M a M a M a M a

− F M = a  F     M a

3. Add M to Ma. 4. Repeat steps 2 and 3 until the absolute value of is less than 0.00005 (meters). M = M a M = M o + M Computation of latitude is iterative:

M  1. Begin with an approximation of a = (radians). aAo 2. Compute the following:

− Ga = M − a(A0a − A2 sin2a + A4 sin4a − A6 sin6a )  G    = a(A0 − 2A2 cos2a + 4A4 cos4a − 6A6 cos6a )   a

13

− G  = a  G      a

3. Add  to a . 4. Repeat steps 2 and 3 until the absolute value of is less than 0.0000005 seconds of arc.

 = a

5.b.v. Scale and Convergence.

Convergence ( ) in Angular Units.

 = ( − o )sino Scale Factor (k). a vo = 2 2 1− e sin o

a(1− e 2 )  o = 3 2 2 2 (1− e sin o )

M = a(A0 − A2 sin2 + A4 sin4 − A6 sin6)

M = M  − M o M 2 J1 = 2oo 3 M tano J 2 = 2 6oo 4 2 M (5 + 3tan o ) J 3 = 2 2 24oo k = ko (1+ J1 + J 2 + J 3 )

6. Linear Distortion at ϕ,λ.

14

For linear distortion in nearest integer parts per million:

7. Geocentric Coordinates.

Geocentric coordinates are 3D right-handed Cartesian with the origin at the intersection of the equatorial plane and the minor axis of the reference ellipsoid. The positive X axis lies in the equatorial plane and passes through the Greenwich meridian (0° longitude). The positive Y axis lies in the equatorial plane and passes through the meridian at 90°east longitude. The positive Z axis passes through the pole at 90° north latitude. Relationships among geocentric coordinates and geodetic coordinates are shown in Figure 1, where p is a point outside the reference ellipsoid and hp is the ellipsoid height of p (positive from the ellipsoid surface towards p).

Figure 1. Geocentric and Geodetic Coordinates of Point P

15

GNSS satellites are tracked in geocentric coordinates and transformations between geocentric and geodetic coordinates are essential.

7.a. Direct Transformation (Φ,λ,h to X,Y,Z).

7.b. Inverse Transformation (X,Y,Z to Φ,λ,h).

Computation of latitude is iterative:

1. Begin with an approximation of

2. Compute the following:

Repeat step 2 until the difference between and a is less than 0.0000005 seconds of arc.

16

8. List of References. Bomford, G., (1985), Geodesy, 4th Edition, Oxford University Press, New York, 855 pp.

Stem, J., (1989), State Plane Coordinate Systems of 1983, NOAA Manual NOS NGS 5, Rockville, MD.

17