Geoid models

The plugin works with all existing geoid models. This page explains where they come from, how to install them and which one to choose.

Global and national models

Global models cover the whole Earth. They are the Earth Gravitational Models of the US NGA: EGM2008 (the most recent and accurate), EGM96 and EGM84 (older). They give altitudes in a homogeneous global system.

National models cover a country or a region. They are produced by the national agencies (IGN, Ordnance Survey, BKG, swisstopo, NOAA…) and fitted to the country’s levelling network. They give the legal altitude of that country, to the centimetre.

Some examples:

Area

Model

Altitudes obtained

Heights h in

World

EGM2008

EGM2008 height

WGS 84

Mainland France

RAF20

NGF-IGN69

RGF93 v2b

Corsica

RAC23

NGF-IGN78

RGF93 v2b

Martinique

RAMART2016

Martinique 1987

RGAF09

Réunion

RAR07_bl

Réunion 1989

RGR92

Great Britain

OSGM15_GB

ODN

ETRS89

Germany

GCG2016

DHHN2016

ETRS89

Belgium

hBG18

Ostend (DNG/TAW)

ETRS89

Netherlands

NLGEO2018

NAP

ETRS89

Switzerland

CHGeo2004

LHN95 / LN02

ETRS89

United States

GEOID18 (g2018u0)

NAVD88

NAD83(2011)

Australia

AUSGeoid2020

AHD

GDA2020

New Zealand

NZGeoid2016

NZVD2016

NZGD2000

The model manager

The manager opens with the gear button of the dock, or from Plugins ‣ AltiGeoid ‣ Geoid models….

The geoid model manager

The manager: here, the models covering the map centre. Installed models are in bold. The bottom of the window details the selected model.

It lists:

  • every geoid model known to PROJ, the projection library of QGIS: more than a hundred national and global grids from the EPSG and IGNF registries. The list comes from the proj.db database shipped with QGIS, so it grows with each QGIS update. These grids are downloaded from the PROJ server (cdn.proj.org);

  • the GeographicLib EGM grids (EGM2008 at 1′, 2.5′ and 5′, EGM96, EGM84), downloaded from the GeographicLib site;

  • the files you added yourself.

To find a model:

  • type a word in the search box: a country, a height system, a file name (“RAF”, “Belgium”, “NAVD88”…);

  • tick Covering the map centre to keep only the models usable where the map is;

  • tick Installed only to see only your models.

The bottom of the window details the selected model: geodetic system of the ellipsoidal heights, height system obtained, area of use, accuracy given by the registry, file and download link.

Downloading a model

Select the model and click Download (or double-click it). The download uses the QGIS network settings (proxy included). A progress bar shows its progress, and it can be cancelled.

The GeographicLib grids come as .tar.bz2 archives. The plugin extracts them in the background, which takes from a few seconds to a minute depending on the size. EGM2008 at 1′ means 170 MB to download and 470 MB on disk. The plugin asks for confirmation before downloads over 50 MB.

The files are stored in the QGIS profile folder: …/profiles/default/altigeoid/grids. The Grids folder button shows it.

Use in the dock (or a double-click on an installed model) chooses this model in the dock and closes the window. Remove deletes a model downloaded by the plugin, or removes from the list a file added by hand without deleting it.

Adding an existing grid

Add a grid file… uses a grid already on your computer, or a model missing from the PROJ catalogue. The plugin reads:

  • every geoid grid GDAL reads: PROJ GeoTIFF (.tif), .gtx, .byn (Canada), .isg (the format of the International Service for the Geoid), .asc, .gri…;

  • GeographicLib .pgm grids.

The International Service for the Geoid (ISG) distributes the models of many countries in .isg format, usable directly.

The plugin also finds by itself the grids already installed:

  • in the PROJ folders used by QGIS, if the PROJ grid package is installed (OSGeo4W, Linux distributions);

  • in the usual GeographicLib folders (C:\ProgramData\GeographicLib\geoids, /usr/share/GeographicLib/geoids…), and those named by the GEOGRAPHICLIB_GEOID_PATH and GEOGRAPHICLIB_DATA variables.

Automatic mode

In the Geoid list of the dock, Automatic picks for each point the best installed model covering it:

  1. national models first, from the most to the least accurate according to the registry;

  2. otherwise global models, from the finest to the coarsest (EGM2008 1′, 2.5′, then EGM96…).

With RAF20 and EGM2008 installed, a point in France gets RAF20 and a point in Sudan gets EGM2008. The model actually used is always shown in the results, and stored in the geoid field by the Processing algorithm.

Which model to choose?

The choice depends on the altitude you need, not on the “quality” of the model:

  • a legal altitude (plans, tie to levelling benchmarks, public data): the national model of the country;

  • a homogeneous global altitude, or a country without a national model: EGM2008, preferably at 1′;

  • legacy data: the model they used (for instance EGM96 for some GPS products), to stay consistent.

The map below, computed with the plugin, shows why the choice matters: in mainland France, the EGM2008 geoid lies on average 70 cm higher than the RAF20 surface. The gap varies from 0 to 96 cm depending on the place. An “EGM2008” altitude there is therefore about 70 cm lower than an NGF-IGN69 altitude. The gap shrinks in the Alps, where the normal height (NGF-IGN69) and the orthometric height (EGM2008) diverge most (see Heights explained).

RAF20 minus EGM2008 difference in France

N(RAF20) − N(EGM2008) in mainland France, on land. Mean −0.70 m.

Licences

The grids belong to their producers. The PROJ-data grids are distributed under open licences, and the licence is stated in each file (for instance the Etalab Open Licence for the IGN grids). EGM2008 and EGM96 are NGA products, freely distributed. The plugin contains no grid: it downloads them on request, from the official source.