An approximation to the shape of the earth that takes into account local gravity variations. It coincides with mean sea level. A geographic coordinate system can sometime use a geoid for its vertical datum instead of an ellipsoid approximation. See Ellipsoid.