Height above sea level, the ellipsoid or the ground
Last checked ·
A height is a distance above something. Maps, satellite positioning and 3D viewers measure from different surfaces. This page compares those surfaces, shows who uses which and what happens when a viewer reads a height against the wrong one.
What the comparison shows
Above sea level is the height on maps and summit signs. Several map SDKs use it.
Above the ellipsoid is the height satellite positioning produces first. CesiumJS and GeoJSON use it.
Above ground is the distance to the terrain below. Some camera APIs and KML offer it.
At Wildspitz the first two differ by about 48 m. Worldwide the difference runs from −106 m to +85 m. A link has to say which one it carries.
Three surfaces under one camera
The straight-down Wildspitz camera has one eye and three possible heights. Each is measured from a different surface.
The ellipsoid is a simple shape that fits the whole Earth. The geoid is the level surface that the sea would follow if it continued under the land. It rises and falls with gravity. The terrain sits on top of both.
One number, read three ways
The link carries 11006.3 as a height above sea level. The ground below is at 857.5 m. A viewer that reads the same number against another surface moves the eye.
| The viewer reads 11,006.3 m as | Eye above the ground | Change | Effect on the view |
|---|---|---|---|
| Above sea level | 10,148.8 m | None | The view the sender saved. |
| Above the ellipsoid | 10,100.4 m | 48.4 m too low | About 0.5% less ground per pixel. |
| Above ground | 11,006.3 m | 857.5 m too high | About 8.4% more ground per pixel. |
The error matters more near the terrain. The tilted Wildspitz eye is at 1,578.2 m and looks at a point at 917.4 m, 660.8 m below it. Reading that height against the ellipsoid drops the eye by 48.4 m, which is 7% of its height above that point. A camera less than 48 m above the terrain would end up under the ground.
Kinds of height
| Height | Measured from | Where people meet it | Strength | Catch |
|---|---|---|---|---|
| Above sea level | The geoid, the surface that approximates mean sea level. Surveyors call it orthometric height. | Topographic maps, summit signs, three of the seven surveyed SDKs with a height. | People know the number. | There are several geoid models and national height systems. They differ slightly. |
| Above the ellipsoid | The WGS 84 ellipsoid. | Raw satellite positions, CesiumJS, GeoJSON. | One exact surface with simple maths. | It differs from the map height by −106 m to +85 m. |
| Above ground | The terrain directly below. | Drone flying heights, some camera APIs, KML. | Needs no height model. The camera stays above the terrain. | It changes with the terrain each viewer loads. |
| Clamped to ground | No height is stored. | KML placemarks, flat map markers. | Nothing to get wrong. | It cannot place a camera in the air. |
Who defines which height
| Standard | Height | What it says | Source |
|---|---|---|---|
| OGC KML | sea level above ground | Altitude is “in meters above sea level”. The altitude mode chooses between absolute, which is sea level, relativeToGround and clampToGround. | KML reference · Altitude modes |
RFC 5870, geo: URI | sea level | “Altitudes are relative to the WGS-84 reference geoid rather than Earth's surface.” | RFC 5870 |
| RFC 7946, GeoJSON | ellipsoid | The optional third value is “the height in meters above or below the WGS 84 reference ellipsoid”. | RFC 7946 |
| OGC API Features, CRS84h | ellipsoid | “WGS 84 longitude/latitude plus ellipsoidal height” for geometries with a height. | OGC API Features, Part 1 |
| ISO 6709 | no rule | It allows a height or depth as a third value and gives no rule for what it is measured from. | ISO 6709 summary |
The two formats made for people to share places, KML and the geo: URI, use sea level. The two made for data exchange between programs, GeoJSON and OGC API Features, use the ellipsoid.
What the SDKs take
| SDK | Height | How it is written | Source |
|---|---|---|---|
| ArcGIS Maps SDK for JavaScript | scene-defined | camera.position.z uses the vertical reference and units of the scene. The saved scene examples below include metres and US survey feet. | Web Scene camera · Spatial reference · Saved scene examples |
| MapLibre GL JS | sea level | The center elevation is “in meters above sea level”. Camera altitude uses the same reference. | Camera options · Map API |
| Google Maps JavaScript 3D | sea level | The center altitude is “in meters above the mean sea level”. Minimum and maximum altitude are measured above the ground. | 3D reference |
| deck.gl | sea level | Geographic altitude is in metres above sea level. A geospatial first-person camera uses an upward metre offset from its longitude–latitude anchor at altitude zero. | Coordinate systems · Viewport source |
| CesiumJS | ellipsoid | Cartographic.height is “the height, in meters, above the ellipsoid”. Quantized-mesh terrain heights use the same reference. | Cartographic · Quantized-mesh terrain |
| Apple MapKit JS | above ground | cameraDistance is the altitude relative to the elevation of the map center. | Camera distance |
| Mapbox GL JS | unstated | The free camera takes a z in Mercator units. The reference names no surface. Mapbox terrain data keeps the vertical datum of each source. | Camera properties · Terrain-DEM |
OpenLayers and Leaflet are flat map libraries and have no camera height.
What shared links write
Ten links in the outdoor app inventory carry a 3D view or a panorama. Six of them avoid a height. They store a zoom or a distance from a point on the ground and let the viewer's terrain do the rest. Outdoor app inventory · External link survey
| Viewer | Field | What we know about its reference |
|---|---|---|
| map.geo.admin.ch, 3D | camera=lon,lat,height,… | The viewer runs on CesiumJS, which uses ellipsoid heights. The link documentation does not state the reference. |
| Japan GSI Globe | #height/lat/lon/… | The height is ellipsoidal in the viewer's Cesium code. |
| ArcGIS Scene Viewer | viewpoint=cam:lon,lat,z;… | Esri documents the URL tuple. Saved Web Scene data carries the vertical reference separately. Scene Viewer URLs · Saved scene examples |
| Mapy.com, 3D | height=… | Not yet measured. |
| PeakFinder | ele=… and an optional off=… | The published parameter list gives an elevation and an elevation offset without a definition. PeakFinder API |
| PeakVisor | alt=… | Not stated in the link. |
These URL tuples rely on the viewer or linked scene for the height convention.
Metres and feet in shared positions
The ArcGIS examples below come from saved Web Scene camera records checked on 24 November 2026. Other examples come from published camera, waypoint and survey data.
| Source | Position coordinates | Height or third axis |
|---|---|---|
| ArcGIS local scene, Chap Ave Rockfall | 6095613.74,2235895.44 in US survey feet, EPSG:2230. | Camera z=599.10 US survey feet, with NAVD88 height identified separately as EPSG:6360. Saved scene data |
| ArcGIS local scene, Downtown 3D Building Heights | -12361192.51,5727914.48 in metres, EPSG:3857. | Camera z=2026.85 metres. The scene name includes (ft) and its stored height unit is meter. Saved scene data |
| Google Earth KML camera | Longitude and latitude in degrees. | Camera altitude in metres. The absolute mode measures it from sea level. KML camera |
| TerriaJS camera share | The Cartesian eye position uses Earth-centred, Earth-fixed x,y,z in metres. | z is the geocentric Z axis. A height above a surface can be derived from the full position. Camera sharing format |
| X-Plane flight plan | The published airport waypoint uses latitude 35.877640 and longitude -78.787476 in degrees. | The waypoint's altitude field is 435 feet. Flight plan format |
| NASA TerraPoint lidar data | State Plane coordinates in US survey feet. | NAVD88 elevations in international feet. The two foot units have different conversion factors. Product format |
| Central Florida lidar survey | The base station has UTM easting 466833.345 and northing 3157950.481 in metres. | The project uses NAVD88 elevations in US survey feet. The report shows the base station at 102.54 US survey feet, also given as 31.254 metres. Survey report |
| Louisiana DOTD control-point survey | State Plane coordinates in US survey feet. | The report gives NAD83 ellipsoid heights in metres and NAVD88 elevations in US survey feet for the same points. Control-point survey report |
On import, read the source’s vertical unit separately. For the Florida survey, write the 102.54 US survey foot height as about 31.254 m alongside its metre grid. For TerraPoint, convert international feet to US survey feet before writing a camera on that grid. An ellipsoid height also needs a height-reference conversion.
ArcGIS documents matching linear units as a convention for sharing local scenes. Its scene format carries a vertical CRS independently of the horizontal CRS. The feet-based example uses both to define the camera eye. Scene unit rules · Vertical CRS fields
When the input omits its vertical unit, Global Mapper defaults to the horizontal linear unit. For angular coordinates it defaults to metres. Elevation units
Cesium ion asks for a height unit and a height reference when importing terrain. It converts heights to metres for publication. Cesium terrain import
Converting between the two
The geoid height N is how far the geoid lies above the ellipsoid at one place. It comes from a geoid model.
height above the ellipsoid = height above sea level + N
height above sea level = height above the ellipsoid − N
| Geoid model | Geoid height | 1,578.2 m above sea level becomes |
|---|---|---|
| EGM2008 | 48.42 m | 1,626.6 m above the ellipsoid |
| EGM96 | 47.80 m | 1,626.0 m above the ellipsoid |
| EGM84 | 49.30 m | 1,627.5 m above the ellipsoid |
The models agree to within 1.5 m here. Leaving the conversion out costs 48 m. In the 15-arcminute EGM96 grid, the geoid lies up to about 107 m below the ellipsoid in the Indian Ocean, south of Sri Lanka, and about 85 m above it near Papua New Guinea. Terrain data also follows its sources. Mapbox notes that its elevation sources use different vertical datums, “including but not limited to NAVD 88, EGM 96, and Ordnance Datum Newlyn”. Geoid height calculator · EGM96 grid · Mapbox Terrain-DEM
What this means for shared view links
A shared camera writes its height above mean sea level after the horizontal pair, with no letter. Height uses the same linear unit as both axes when they share one, and metres otherwise. Convert the height to the receiver's unit. In a geospatial deck.gl first-person view, put the height in metres in the upward component of the camera offset. Camera fields · EPSG camera examples · Height decision
A viewer that works in ellipsoid heights, such as CesiumJS, adds the geoid height from a geoid model. A viewer with no terrain can still place the eye, because sea level needs no terrain.
A height from another reference has to be converted before it is shared. The number alone cannot show which surface it was measured from.
