Skip to content

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.

5 standards 2 sea level, 2 ellipsoid, 1 with no rule
7 SDKs with a height 3 sea level, 1 scene-defined, 1 ellipsoid, 1 above ground, 1 unstated
48.4 m between sea level and the ellipsoid at Wildspitz

Three surfaces under one camera

The straight-down Wildspitz camera has one eye and three possible heights. Each is measured from a different surface.

A cross-section. The ellipsoid is a smooth line at the bottom. The geoid, which marks sea level, is a gently waving line above it. The terrain rises above the geoid. The eye floats above the terrain. Three arrows reach the eye: 10,148.8 metres from the ground, 11,006.3 metres from sea level and about 11,054.7 metres from the ellipsoid. A short arrow marks the 48.4 metre geoid height between the ellipsoid and sea level.
Not to scale. The heights are the straight-down Wildspitz example from the shared view specification. The geoid height is the EGM2008 value at the nearby tilted eye. Excalidraw source

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.

Where the straight-down eye ends up
The viewer reads 11,006.3 m asEye above the groundChangeEffect on the view
Above sea level10,148.8 mNoneThe view the sender saved.
Above the ellipsoid10,100.4 m48.4 m too lowAbout 0.5% less ground per pixel.
Above ground11,006.3 m857.5 m too highAbout 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

What each height is measured from
HeightMeasured fromWhere people meet itStrengthCatch
Above sea levelThe 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 ellipsoidThe 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 groundThe 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 groundNo height is stored.KML placemarks, flat map markers.Nothing to get wrong.It cannot place a camera in the air.

EGM96 grid · Orthometric height

Who defines which height

Standards and exchange formats
StandardHeightWhat it saysSource
OGC KMLsea level above groundAltitude 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: URIsea level“Altitudes are relative to the WGS-84 reference geoid rather than Earth's surface.”RFC 5870
RFC 7946, GeoJSONellipsoidThe optional third value is “the height in meters above or below the WGS 84 reference ellipsoid”.RFC 7946
OGC API Features, CRS84hellipsoid“WGS 84 longitude/latitude plus ellipsoidal height” for geometries with a height.OGC API Features, Part 1
ISO 6709no ruleIt 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

Height in camera and position APIs
SDKHeightHow it is writtenSource
ArcGIS Maps SDK for JavaScriptscene-definedcamera.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 JSsea levelThe center elevation is “in meters above sea level”. Camera altitude uses the same reference.Camera options · Map API
Google Maps JavaScript 3Dsea levelThe center altitude is “in meters above the mean sea level”. Minimum and maximum altitude are measured above the ground.3D reference
deck.glsea levelGeographic 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
CesiumJSellipsoidCartographic.height is “the height, in meters, above the ellipsoid”. Quantized-mesh terrain heights use the same reference.Cartographic · Quantized-mesh terrain
Apple MapKit JSabove groundcameraDistance is the altitude relative to the elevation of the map center.Camera distance
Mapbox GL JSunstatedThe 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.

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.

Coordinate and height units as stored
SourcePosition coordinatesHeight or third axis
ArcGIS local scene, Chap Ave Rockfall6095613.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 cameraLongitude and latitude in degrees.Camera altitude in metres. The absolute mode measures it from sea level. KML camera
TerriaJS camera shareThe 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 planThe 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 dataState Plane coordinates in US survey feet.NAVD88 elevations in international feet. The two foot units have different conversion factors. Product format
Central Florida lidar surveyThe 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 surveyState 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 height at the tilted Wildspitz eye, 47.082215° N, 8.578901° E
Geoid modelGeoid height1,578.2 m above sea level becomes
EGM200848.42 m1,626.6 m above the ellipsoid
EGM9647.80 m1,626.0 m above the ellipsoid
EGM8449.30 m1,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.