Ellipsoid, geoid and elevation · GNSS and Geodesy 101

A free interactive course on GNSS and geodesy: the shape of the Earth, geographic, Earth-centred and UTM coordinates, scale factor, pseudoranges and their errors, carrier phase and RTK, static networks and heights above the geoid, on a 3D model of a mine.

Every lesson is practised on a 3D model of a mining operation: move a control and the scene and the figures change. The same content, as text:

The course in words

  1. Lesson 1

    The shape of the Earth

    The coordinates a GNSS receiver gives refer not to the ground but to a model of the Earth: an ellipsoid flattened by 21 km at the poles.

    Geodesy measures the shape and size of the Earth. Computing coordinates needs a surface that can be written down with formulas, and the one that fits best is an ellipsoid of revolution: a sphere flattened at the poles. The one GNSS uses is WGS 84, with a semi-major axis a = 6,378,137 m and a flattening f = 1 / 298.257223563. The polar radius is 21.4 km shorter than the equatorial one.

    Geodetic latitude is the angle between the equatorial plane and the normal to the ellipsoid at the point. That normal does not go through the centre of the Earth, except at the equator and at the poles: latitude measured from the centre, the geocentric one, differs from the geodetic by up to 11.5′ at 45°. Maps, receivers and this course always use the geodetic one.

    The geoid is another surface: the level surface of gravity that best fits mean sea level, carried on under the continents. The gravity potential is the same at all its points (gravity itself is not: it is stronger at the poles) and a plumb line is square to it. It is irregular because the Earth's mass is not spread evenly, and it departs from the ellipsoid by between about −106 m, south of India, and +85 m, over New Guinea. Elevations above sea level are measured from the geoid; GNSS heights, from the ellipsoid.

    An ellipsoid with an origin and an orientation fixed to the Earth is a datum. Many old plans in Peru are in PSAD56, with another ellipsoid and another origin: between PSAD56 and WGS 84 the same points move by hundreds of metres. Before putting two surveys together, always ask which datum each one is in, and go from one to the other with a seven-parameter transformation (three shifts, three rotations and a scale) computed on points with coordinates in both.

    • WGS 84: a = 6,378,137 m and b = 6,356,752.314 m
    • Geodetic latitude is measured from the normal to the ellipsoid, not from the centre
    • Mixing datums, such as PSAD56 and WGS 84, moves points by hundreds of metres
  2. Lesson 2

    Three ways to give a point

    The same point can be written as latitude, longitude and height, as X, Y, Z from the centre of the Earth or as East and North on a map. They are three ways of saying the same thing.

    Geographic (geodetic) coordinates place a point relative to the ellipsoid: latitude φ, north or south of the equator; longitude λ, east or west of the Greenwich meridian; and ellipsoidal height h, above the surface of the ellipsoid along its normal. It is the position a GNSS receiver shows until it is asked for a projection.

    Inside, the receiver works in Earth-centred Cartesian coordinates: X, Y and Z in metres from the Earth's centre of mass, with Z along the axis of rotation towards the North Pole and X on the equator, towards the Greenwich meridian. That is where the satellites' orbits are, where the ranges are computed and where it solves its position; φ, λ and h come afterwards. To measure on the ground, local axes are used: East, North and up (the normal).

    One second of latitude is worth about 31 m on the ground anywhere. A second of longitude is 30.9 m at the equator and shortens with the cosine of the latitude towards the poles: at the site, 9° S, it is 30.52 m, and the second of latitude 30.72 m. That is why a GNSS controller writes seconds with five decimals: with only one, each coordinate is rounded to about 3 m. The UTM coordinates of a plan are the projection of the same ones: they come in lesson 3.

    • Latitude and longitude in degrees, minutes and seconds; height h above the ellipsoid
    • X, Y, Z from the centre of the Earth: where the receiver solves the position
    • 1″ of latitude ≈ 31 m: the millimetre needs five decimals of a second
  3. Lesson 3

    From the ellipsoid to the plane

    UTM flattens the ellipsoid in 6° zones. A UTM plan does not measure like the ground: at the course site, 4,193 m above sea level, the grid is 43 cm short per kilometre.

    A plane cannot copy a curved surface without distorting it. The UTM projection (Universal Transverse Mercator) is conformal: it keeps angles at each point and distorts distances. It divides the Earth into 60 zones of 6° of longitude; each has its central meridian, λ0 = −183° + 6° × zone, which on the grid is a straight line with a false easting of 500,000 m, so no easting is negative. In the southern hemisphere the equator carries a false northing of 10,000,000 m. Peru falls in zones 17, 18 and 19 south; the course site is in 18, 225.6 km west of the 75° W meridian.

    The scale factor k is the ratio between a short distance on the grid and the same distance on the ellipsoid. On the central meridian it is k0 = 0.9996, deliberately less than 1 to spread the distortion; it grows with the square of the distance from the meridian, reaches 1 about 180 km either side and close to 1.0010 at the zone edge near the equator. At the site it is 1.000230.

    A total station measures on the ground, not on the ellipsoid. Taking a horizontal distance from ellipsoidal height h down to the ellipsoid shortens it by the ratio R / (R + h), the elevation factor, with R the mean radius of curvature, √(M · ν), 6,358 km here. On line A–B, at 4,193 m of elevation and h = 4,218 m, it is 0.99934: 66 cm less per kilometre. The product of the two is the combined factor, and grid distance = ground distance × combined factor. Nor does the grid point to true north: the angle between the two norths is the meridian convergence, 0° 19′ 59″ at the site.

    At a high mine the two factors hardly ever cancel: the elevation factor takes away more than the scale factor adds, except about 293 km from the central meridian, near the zone edge. Everywhere else the UTM plan departs from the ground by tens of centimetres per kilometre, and more so near the meridian, where both factors are below 1. That is why many projects at altitude work on a local plane: a transverse Mercator with its central meridian on the project and a factor k0 = (R + h0) / R for its mean height h0, where plan distances are ground distances. Its coordinates are not UTM: they are labelled as local and the parameters that tie them to UTM are kept.

    • 6° zones, k0 = 0.9996, false easting 500,000 m, false northing 10,000,000 m in the south
    • Elevation factor R / (R + h): at 4,193 m, 66 cm less per kilometre
    • Grid = ground × combined factor: the two distances are never mixed
  4. Lesson 4

    Ranges to the satellites

    The receiver measures how long each satellite's signal takes to arrive and turns it into a distance. Its clock is not perfect, so it solves for the time along with the position.

    Each satellite broadcasts where it is (its ephemeris: the orbit in the navigation message) and, modulated on the signal, a code that marks the time of its atomic clock at transmission. The receiver generates a copy of the same code, slides it until it lines up with the incoming one and so reads the arrival time on its own clock. The difference is the travel time, about 67 to 86 ms for GPS; times the speed of light it gives a distance of about 20,000 to 26,000 km.

    The receiver's clock is a quartz oscillator, not an atomic clock: its time drifts away from the satellites' time. One microsecond of difference is 300 m of range, and that error is the same in every range measured at the same instant. That is why they are called pseudoranges: they are the true distance plus the receiver clock error times the speed of light, plus the errors of lesson 5.

    There are four unknowns: the receiver's X, Y, Z and its clock error. Four satellites give four equations and an exact solution, with no check. With more satellites the receiver adjusts by least squares: the position that best spreads the differences, and residuals that show how far the measurements fail to close. Geometry weighs as much as the count: satellites bunched in one part of the sky give almost identical equations and a position that the same noise moves several times further.

    • 1 µs of clock = 300 m: the same error in every range
    • Four satellites for X, Y, Z and the clock; with more, least squares and residuals
    • With three satellites there are too few equations; with bunched satellites, noise is multiplied
  5. Lesson 5

    What throws the range off

    The signal crosses the ionosphere and the troposphere, bounces off pit faces and roofs, and leaves a satellite whose orbit and clock are known to about half a metre. Each of those errors goes into the position, multiplied by the geometry.

    The ionosphere, the layer of the atmosphere between about 60 and 1,000 km up where the Sun ionises the gas, delays the code. The delay depends on the free electrons the signal crosses: it is larger by day, peaking in the early afternoon, and larger in years of high solar activity; on L1 it runs from one to more than ten metres at the zenith. It also depends on frequency (it grows as 1 / f²), so a dual-frequency receiver, L1 and L2, removes it to first order by combining the two, at the cost of about three times the code noise and multipath. A single-frequency one uses the model the satellites broadcast, which corrects roughly half.

    The troposphere, the lowest 10 to 17 km of air, delays the signal about 2.3 m at the zenith at sea level. About 90 % is the dry part, which is computed from pressure; at 4,200 m a.s.l. the pressure is around 600 hPa and the dry delay drops to about 1.4 m. The wet part depends on water vapour and is hard to predict. Both parts grow towards the horizon, about ten times at 5° of elevation. Multipath is the signal arriving bounced off a pit face, a roof or a truck as well as directly: metres on code, and no model corrects it. The orbits and clocks the satellites broadcast leave about half a metre.

    What each source leaves is added as the root of the sum of squares: the user equivalent range error (UERE). Geometry multiplies it: position error ≈ DOP × UERE, with HDOP horizontally and VDOP in height. The atmosphere's and the orbits' errors change over tens of minutes, so ten minutes of positions do not spread around the point: they bunch up somewhere else. Averaging for longer helps little; removing the common error with a nearby base is lesson 6.

    • Ionosphere by day and with an active Sun: metres on L1; L1 + L2 removes it
    • Next to a pit face or a truck, multipath adds metres no one corrects
    • Error ≈ DOP × UERE; ten minutes of data do not average out the slow errors
  6. Lesson 6

    Measuring with the phase

    The carrier wave is 19 cm long and its phase is read to the millimetre. What is missing is how many whole cycles there are to the satellite.

    The GNSS signal's code gives ranges with an error of decimetres to a metre (lesson 4). The carrier wave it rides on is much finer: L1, at 1,575.42 MHz, has a wavelength of 19.03 cm, and the receiver measures at which point of its cycle it arrives, the phase, with an error of a few millimetres. The catch is that the phase only gives the fraction of the last cycle. The whole number of cycles between the satellite and the antenna when the receiver locks on to the signal, the integer ambiguity N, is unknown. From then on the receiver counts the cycles added or taken away as the satellite moves, but N stays the same.

    To resolve N, a base on a monument with known coordinates and the rover observe the same satellites. Subtracting one satellite's phase at the two receivers removes the satellite's clock; subtracting that difference from the one of a reference satellite also removes the receivers' clocks. These are the double differences. Over a short baseline, the ionosphere and troposphere both signals cross are nearly the same and cancel too. What is left are coordinates and integers.

    While the integers are unresolved, the receiver estimates them as real numbers: this is the float solution, good to a few centimetres or decimetres. As the satellites change position, the estimate closes in on the grid of integers, until one set of integers fits clearly better than the second best: the receiver fixes it and the solution becomes fixed, at the centimetre. With two or three frequencies and four constellations this takes seconds; with one frequency, minutes. The longer the baseline, the less alike the atmosphere over the base and the rover: the error grows in parts per million (1 ppm is 1 mm per km) and fixing gets harder.

    When the computation runs in the rover, as it measures, it is RTK (real-time kinematic). Corrections from the base reach the rover by radio, good for a few kilometres, or over the internet with NTRIP on the mobile network. In PPK (post-processed kinematic) nothing is sent: base and rover log, and the same computation is done afterwards, in the office. PPP (precise point positioning) does without a base, using precise orbits and clocks, but needs tens of minutes to hours to converge to the centimetre.

    • Phase is measured to the millimetre; the number of whole cycles N is the unknown
    • Double differences: two receivers and two satellites cancel the clocks and most of the atmosphere
    • A signal cut loses the cycle count and the search starts again
  7. Lesson 7

    Control networks

    A mine's network of monuments is measured with static GNSS and computed as a whole: the loops give away the errors and the adjustment says what each coordinate is worth.

    Everything staked out at a mine rests on a few concrete monuments with known coordinates: the control network. It is measured with static GNSS. Several receivers on tripods occupy monuments at the same time for a session, tens of minutes to hours, logging the phase without moving. In the office each baseline, the vector between two antennas that observed together, is processed as in lesson 6 but with the whole session of data. The network is tied to one or more of the IGN's continuously operating stations, which carry the official reference frame.

    The first check is the loops: walking round a triangle of baselines, the vectors should add up to zero. What is left over is the loop misclosure, and it is compared with what the precisions of its baselines allow. A blunder, such as an antenna height written down wrong, shows up in every loop that goes through that baseline.

    Then the least-squares adjustment uses every baseline at once, each weighted by its precision, and gives the coordinates that explain them best. Each baseline is left with a residual, the correction it needed; the residual divided by its expected deviation is the standardised residual, and one above 3 points at the suspect baseline. The a posteriori sigma σ₀, unitless because every baseline is weighted by its precision, sums up whether the residuals are the size those precisions announced (close to 1). The error ellipses enclose, with 95 % probability, the position of each monument.

    Session length buys precision on long baselines: in the lesson's model, with sessions under 41 min the 18.4 km tie to the permanent station does not resolve its integers and stays float, with errors of centimetres that carry over to the whole network.

    • Loops: the baselines of a triangle must add up to zero
    • The adjustment gives coordinates, residuals and 95 % error ellipses
    • A baseline in no loop cannot be checked
  8. Lesson 8

    Ellipsoid, geoid and elevation

    The receiver measures height above the ellipsoid; the plan asks for elevation above sea level. Between the two lies the geoid, and a global geoid model can be decimetres off in the mountains.

    A GNSS receiver gives the ellipsoidal height h: the distance above the ellipsoid along its normal. Plans, levelling and water use the elevation or orthometric height H, measured above the geoid, the level surface closest to mean sea level (lesson 1). The separation between the two surfaces is the geoid undulation N, and h = H + N. With this course's illustrative geoid, N is about 24 m at the site. Water runs from high elevation to low: on a nearly flat channel, two points with the same h can have different elevations.

    To go from h to H the receiver subtracts N from a global geoid model, computed from gravity measured all over the Earth. Where gravity measurements are dense the model is good to a few centimetres; in high mountains, with sparse data, it can be decimetres off, and it does not see features smaller than its resolution.

    That is why a project fits the model to benchmarks (BM): points with an elevation levelled from the levelling network, occupied with GNSS. At each BM, h − H is the observed N, and its difference from the model's N says how wrong the model is there. One BM corrects a shift; three or more spread around the work, a tilted plane. With more BMs than unknowns there are observations to spare, and the residuals say whether the fit holds together.

    GNSS heights are 1.5 to 2 times less precise than horizontal positions, and every BM brings that noise into the fit. This site's geoid is illustrative: its N, and the bias and slope of the «global model», are numbers chosen for the lesson, not EGM2008 values.

    • h = H + N: GNSS height is ellipsoidal, the plan's elevation is above the geoid
    • A global geoid model can be decimetres off in high mountains
    • BMs spread around the work: a shift with one, a plane with three or more