Coordinates, direction, time and height
Convert units and state the reference level clearly before reading a map or comparing flight results.
Coordinates need a format and a reference system
Latitude gives the north/south position and longitude gives the east/west position. Also check the order of values the software expects, because some systems put longitude before latitude. Identical numeric coordinates in a different datum or CRS may represent a different location.
Convert DMS to decimal degrees as degrees + minutes/60 + seconds/3600, then apply the sign according to the hemisphere. In a hypothetical example, 13°30′0″ N = 13.5° and 100°15′0″ E = 100.25°. For south/west, apply the minus sign to the whole sum, not just the degrees part.
Heading and ground track
Heading is the direction the nose points, while track is the direction of movement over the ground. The difference becomes visible when there is wind or when a multirotor flies sideways. Also check whether the direction is referenced to true north or magnetic north before comparing.
| Unit | Relationship |
|---|---|
| 1 nautical mile | 1,852 metres |
| 1 foot | 0.3048 metres |
| 1 knot | 1 nautical mile per hour |
| Thai time | UTC + 7 hours; adjust the date when crossing midnight |
Height referenced to what?
AGL is referenced to the local ground, MSL to mean sea level, while GNSS height may be referenced to the ellipsoid. Values displayed relative to the take-off point are yet another definition, so you must check the system metadata. Do not subtract numbers from one another if their reference levels do not match.
An example for learning: if the ground is 120 m MSL and a point is 30 m above that ground, it will be about 150 m MSL, assuming matching reference levels, not 150 m AGL. On sloping ground the AGL height changes even though the MSL height stays the same.
Do the coordinates and units worksheet with answers →
F13: Planar distance and height
Applied level · Question: how many metres apart are the differing coordinates, and are the two sets of heights referenced to the same surface?
dlocal = √(ΔE² + ΔN²); H = h − Ngeoid
dgeodesic = Geodesic.WGS84.Inverse(lat1, lon1, lat2, lon2)["s12"]
Read as: the local horizontal distance is the square root of the sum of the squared east and north distances. The orthometric height is the ellipsoidal height minus the geoid undulation. Distance on the ellipsoid uses the inverse geodesic instead of applying Pythagoras to degrees.
| Variable | Meaning and units in → out | Range/source of value |
|---|---|---|
| ΔE, ΔN | East/North coordinate differences m; input | Real numbers; the same local frame or projected CRS |
| dlocal | Horizontal distance in the plane m; output | ≥ 0; excludes the height difference |
| h, Ngeoid | Ellipsoidal height and geoid undulation m; input | Signed; datum/epoch/tide system must be consistent |
| H | Orthometric height m; output | Signed; not automatically AGL |
| lat1, lat2 | Latitude deg; input | −90 to 90; WGS84 datum for the example API |
| lon1, lon2 | Longitude deg; input | Use −180 to 180; state the lat/lon order clearly |
| s12 | Geodesic distance on the ellipsoid m; output | ≥ 0; not the distance travelled over terrain |
Assumptions: The planar distance suits the chosen area and CRS; distortion must be assessed before use over wide areas. Ngeoid is a different variable from the North axis, and a model that covers the actual area must be chosen. The example Ngeoid = −30 m below is a made-up value, not a geoid value for Thailand. The NOAA source is used only to explain the relationship; the US model is not to be applied to Thailand.
Cites GeographicLib Python API 2.1: Inverse (S12), NOAA Technical Notes on Geoid Undulations (S13) and NOAA, the relationship h = H + N (P2P04), checked 26 September B.E. 2569 (2026)
Image description: the left shows a horizontal distance of 3–4–5 m; the right sets a point 50 m above the ellipsoid with the geoid 30 m below the ellipsoid, so the point is 80 m above the geoid. The height figure is a hypothetical case and is not at the same scale as the distances on the left.
Example: keep the units and reference surface consistent
- ΔE = 3 m, ΔN = 4 m: dlocal = √(9+16) = 5 m; the square root of m² gives m
- h = 50 m, Ngeoid = −30 m: H = 50−(−30) = 80 m The minus sign of N must be kept.
- A geodesic example on the equator from (0°, 0°) to (0°, 1°) on WGS84 gives 111319.490793 m Check independently with the equatorial radius 6378137 m × π/180; this shortcut applies to the given equator case, not to every latitude.
Exercise: change one variable in each case
Change ΔE to 6 m while keeping ΔN = 4 m; in the other case change h to 60 m while keeping Ngeoid = −30 m. Find the distance and H. Accept ±0.000001 m for the distance.
Show F13 answer
dlocal = √(36+16) = 7.211103 m; H = 60−(−30) = 90 m. The two problems change variables in separate cases and do not claim to be the same field point.
Practise checking metadata in the coordinates worksheet and read Coordinate systems for mapping
References and scope
Sources checked 7 September B.E. 2569 (2026), compiled with knowledge kindly provided by DTI
Linking knowledge to missions and data
More digits let you write a position in more detail, but they do not prove the accuracy of the measurement. When receiving coordinates, record the reference system, units and source together. Separate the camera position from the position of what appears in the image. Read the reference: NGA, Coordinate Systems
Check your understanding: Given coordinates without a datum, write the questions you must ask the data owner before placing them on a map.
Read more in Chapters that apply this knowledge in simulated work · Sources reviewed 26 September B.E. 2569 (2026)
Download the applied formula practice set (CSV/JSON with answers) · Synthetic data for practising calculations and checking units