Geoid
class Geoid - "Gravity Height Model"
The Geoid class calculates the difference between mean sea level height and WGS84 ellipsoid height.
Create an instance with parsePGM for GeographicLib PGM files,
or createGeoidFromGrid for decoded Uint16Array
grid samples. Model grids are available from
GeographicLib.
Methodsโ
Constructorโ
Create a Geoid instance.
@param options - object which includes parameters parsed from _.pgm header options.data - binary buffer of _.pgm file
Calculates difference between mean see level height and WGS84 ellipsoid height
@param lat - latitude @param lon - longitude @returns height in meters