← AVIATION GLOSSARY
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Aviation glossary

What are XYZ Coordinates?

Surveying · Coordinates · GNSS 8 languages
Definition
XYZ coordinates are three distances that give the position of a point along perpendicular X, Y and Z axes from a defined origin. In surveying, the term means geocentric (ECEF) or local coordinates.

Definition

XYZ coordinates are three distances that give the position of a point along three perpendicular axes, X, Y and Z, from a defined origin. The axes are usually right-handed. The unit is usually the metre.

The ordered triple (x, y, z) names a point. The system is a three-dimensional Cartesian coordinate system. A point in a plane has two coordinates, (x, y), and a third coordinate z adds the third dimension.

The term has two meanings in surveying. This page names the meaning each time.

  • Geocentric (ECEF) XYZ. The origin is the centre of mass of the Earth, and the axes turn with the Earth. GNSS and WGS 84 use this system.
  • Local XYZ. The origin is a point that the project chooses, near the site. One example is the topocentric system, with U east, V north and W up.

The X, Y and Z axes

The three axes are perpendicular to each other. They cross at the origin, the point (0, 0, 0). Each axis is a number line, and the origin is zero on all three.

The distance between two points (x₁, y₁, z₁) and (x₂, y₂, z₂) is:

d = √[(x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)²]

The letters X, Y and Z only name the axes. They do not say which way an axis points. The definition of each system sets the directions, so the same letters point different ways in different systems:

SystemFirst axisSecond axisThird axis
WGS 84 geocentric (X, Y, Z)X through the equator at the Greenwich meridianY through the equator at 90° EZ along the rotation axis of the Earth, positive to the north
Topocentric (U, V, W)U locally eastV locally northW up
Aircraft body axes (NASA)Roll axis toward the nosePitch axis toward the right wing tipYaw axis toward the bottom of the aircraft

NASA names the aircraft axes for the rotation about each one. The three axes meet at the centre of gravity and are perpendicular to each other. Note that the third axis points up in the topocentric system and down for the aircraft.

The right-hand rule

The right-hand rule gives the direction of the positive Z axis when you know the X and Y axes. Align the fingers of your right hand with the positive X axis. Curl them toward the positive Y axis. Your thumb points along the positive Z axis. A system that follows this rule is right-handed.

Some systems follow a left-hand rule, but the right-hand rule is the standard form. WGS 84 is a right-handed system, and so is the topocentric system of EPSG method 9836.

Coordinate planes and octants

The axes define three coordinate planes:

  • The XY plane holds all points with z = 0.
  • The XZ plane holds all points with y = 0.
  • The YZ plane holds all points with x = 0.

A plane parallel to the XY plane through the point (a, b, c) has the equation z = c. The three coordinate planes divide space into eight regions, called octants. In the first octant, all three coordinates are positive.

Geocentric (ECEF) XYZ

ECEF means Earth-centred, Earth-fixed. The WGS 84 definition (NGA.STND.0036) gives the axes:

  • Origin: the centre of mass of the whole Earth, including the oceans and the atmosphere.
  • Z axis: the direction of the IERS Reference Pole.
  • X axis: the intersection of the IERS Reference Meridian and a plane. The plane passes through the origin and is normal to the Z axis.
  • Y axis: completes the right-handed system. It points through 0° N, 90° E.

EPSG places the X axis on the Greenwich meridian. The EPSG record for WGS 84 geocentric coordinates (EPSG:4978) names the axes Geocentric X, Y and Z, in metres. It lists navigation and positioning with GPS as its scope.

The GPS performance standard for the standard positioning service makes an assumption about the receiver. The receiver computes satellite positions and ranges in the most current realization of the WGS 84 ECEF system. EPSG notes that GPS satellite observations deliver the height above the ellipsoid.

Conversion to latitude, longitude and height

A geodetic position has latitude φ, longitude λ and height h above the ellipsoid. EPSG method 9602 converts it to ECEF XYZ:

[ \begin{align*} X &= (N + h) \cos\varphi \cos\lambda \ Y &= (N + h) \cos\varphi \sin\lambda \ Z &= \left[ N(1 - e^2) + h \right] \sin\varphi \end{align*} ]

Here, N = a / √(1 − e² sin² φ), a is the semi-major axis of the ellipsoid, and e is its eccentricity. For WGS 84, a = 6,378,137.0 m and the inverse flattening is 298.257223563.

The height h is the height above the ellipsoid. It is not the height above mean sea level. For WGS 84, the two heights differ by values from about −100 m to +80 m.

EPSG gives this example on WGS 84. Latitude 53°48′33.820″ N, longitude 2°07′46.380″ E and h = 73.0 m give X = 3,771,793.968 m, Y = 140,253.342 m and Z = 5,124,304.349 m. The reverse conversion has an iterative form and a closed form. The closed form needs no iteration.

Local XYZ

A local system has its own origin and its own axis directions, so the origin and the axes must come with the data. In the topocentric system of EPSG method 9836, the origin is on or near the ground. U is east, V is north and W is up.

EASA defines a reference system by three things: the position of an origin, the orientation of an orthogonal set of Cartesian axes, and a scale. A local XYZ frame needs all three to be stated.

Axis order is not the same everywhere. For example, EPSG lists a north-east axis order for ETRS89 / UTM zone 33N as a separate coordinate reference system. Do not assume that X is east and Y is north.

Datum transformation

Two reference frames relate through a transformation on ECEF XYZ. EPSG describes three levels:

  • Three parameters. Three translations, ΔX, ΔY and ΔZ, move the origin. NGA defines them as the distances between the centre of a local ellipsoid and the centre of the WGS 84 ellipsoid. For one North Sea area, EPSG lists shifts of +84.87 m, +96.49 m and +116.95 m from WGS 84 to ED50.
  • Seven parameters. The Helmert transformation adds three rotations and one scale difference.
  • Fourteen parameters. NGA gives a form in which each of the seven quantities is a value at a reference epoch plus a rate of change.

Frames can differ by metres. NGA reports that, from 1994 onward, NAD 83 coordinates and WGS 84 coordinates have systematically differed by more than two metres. The original NAD 83 and the original WGS 84 used a geocentre that is more than two metres from the true geocentre.

Time and epoch

Station positions on the crust change with time, because of plate motion, earthquakes and tides. NGA reports plate motion of as much as 7 cm per year at some of its tracking stations. The precision of WGS 84 (G1762) is better than 1 cm per component.

A precise ECEF coordinate therefore needs a reference frame and an epoch. For precise surveying, NGA recommends that each coordinate carries an epoch and the name of the realization, for example WGS 84 (G1762).

Use in airfield work

Aerodrome data go to the aeronautical information service as geographical coordinates in WGS-84. For air navigation, EASA requires the aerodrome operator to use WGS-84 as the horizontal reference system (ADR.OPS.A.020). ICAO Annex 14 section 1.3.1 requires the same datum for reported aeronautical geographical coordinates.

The data cover the aerodrome reference point, each threshold, taxiway centre line points, aircraft stands and significant obstacles. EASA guidance says to report thresholds, taxiway centre line points and stands in degrees, minutes, seconds and hundredths of seconds.

The reported values are angles. XYZ values from a GNSS or survey system need the conversion above before they go to the aeronautical information service. If software adds a local frame, it must state the origin and the axis directions with the data.

Frequently Asked Questions

What are XYZ coordinates?
XYZ coordinates are three numbers that give the position of a point in space. Each number is the distance along one of three perpendicular axes, X, Y and Z, from a fixed origin. The ordered triple (x, y, z) names the point.
Which direction does each of the X, Y and Z axes point?
The letters only name the axes, and the definition of the system sets their directions. In the WGS 84 geocentric system, X points to 0° N 0° E and Y points to 0° N 90° E. Z points north along the rotation axis of the Earth. In a topocentric system, the axes are U east, V north and W up. Read the definition of the system that your data use.
What is the right-hand rule for XYZ axes?
The right-hand rule fixes the direction of the Z axis when you know the X and Y axes. Point the fingers of your right hand along the positive X axis. Curl them toward the positive Y axis. Your thumb then points along the positive Z axis. A system that follows this rule is right-handed. The WGS 84 coordinate system is right-handed.
What are the XY, XZ and YZ planes?
They are the three coordinate planes that the axes define. Every point on the XY plane has Z = 0, and every point on the XZ plane has Y = 0. Every point on the YZ plane has X = 0. The three planes divide space into eight regions, called octants.
Which meaning does XYZ have in surveying and GNSS?
It can mean geocentric (ECEF) coordinates. These are distances in metres from the centre of mass of the Earth, on axes fixed to the Earth. A local XYZ system is a different thing. It has its own origin near a site, and its definition must come with the data.
How do XYZ coordinates differ from latitude and longitude?
XYZ coordinates are three distances in metres. Latitude and longitude are two angles, and a third value gives the height above the ellipsoid. On the same datum, both forms describe the same point, and formulas convert one form into the other.
How do I convert latitude, longitude and height to ECEF XYZ?
Use the ellipsoid parameters in the formulas of EPSG method 9602. The height must be the height above the ellipsoid, not the height above mean sea level. For WGS 84, these two heights differ by values from about −100 m to +80 m.
Do ECEF coordinates change with time?
Yes, for a point on the crust. Plate motion, earthquakes and tides change station positions. NGA reports plate motion of as much as 7 cm per year at some of its tracking stations. A precise ECEF coordinate therefore needs a reference frame and an epoch.

References

nga-stnd-0036
NGA.STND.0036 v1.0.0, Department of Defense World Geodetic System 1984 National Geospatial-Intelligence Agency
epsg-4978
EPSG:4978, WGS 84 (geocentric) EPSG Geodetic Parameter Dataset (IOGP)
epsg-25833
EPSG:25833, ETRS89 / UTM zone 33N EPSG Geodetic Parameter Dataset (IOGP)
openstax-calculus-3-space
Calculus Volume 3, section 2.2, Vectors in Three Dimensions OpenStax, Rice University
nasa-aircraft-rotations
Aircraft Rotations NASA Glenn Research Center, Beginner's Guide to Aeronautics

This is a reference entry. TarmacView provides drone inspection services and doesn't sell the equipment or materials described in this glossary.

Get Started Need your airfield lighting verified? TarmacView inspects approach, runway and taxiway lights and the runway surface by drone, during full airport operation. The lighting protocol comes the same day.
Keep reading

Learn more

04 PAGES

Related terms

03 TERMS
Cartesian Coordinates in 3D: X, Y, Z System for Surveying
glossary

Cartesian Coordinates in 3D: X, Y, Z System for Surveying

A three-dimensional Cartesian coordinate system gives a point as (x, y, z) along three perpendicular axes. The x, y and z axes, octants, right-hand rule, distance formula with examples, Earth-centred and local systems.

Coordinates
glossary

Coordinates

Coordinates are numbers that give the position of a point in a coordinate reference system. The main types, how latitude, longitude and UTM values work, what a datum and an epoch change, and what aerodromes must use.

Coordinate System
glossary

Coordinate System

A coordinate system is a set of rules that assign coordinates to points. Its origin, axes and right-handed rule, the main kinds, aircraft axes, and the systems that aerodromes use.

Further reading

01 ARTICLES