s2-tools
Version:
A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.
21 lines • 935 B
TypeScript
/** Earth's radius in meters */
export declare const EARTH_RADIUS = 6371008.8;
/** Earth's equitorial radius in meters */
export declare const EARTH_RADIUS_EQUATORIAL = 6378137;
/** Earth's polar radius in meters */
export declare const EARTH_RADIUS_POLAR = 6356752.3;
/** The average circumference of Earth in meters. */
export declare const EARTH_CIRCUMFERENCE = 40030228.88407185;
/**
* Returns the altitude of the lowest known point on Earth in meters. The lowest known
* point on Earth is the Challenger Deep with an altitude of 10898 meters
* below the surface of the spherical earth.
*/
export declare const LOWEST_ALTITUDE = -10898;
/**
* Returns the altitude of the highest known point on Earth in meters. The highest
* known point on Earth is Mount Everest with an altitude of 8846 meters
* above the surface of the spherical earth.
*/
export declare const HIGHEST_ALTITUDE = 8846;
//# sourceMappingURL=earth.d.ts.map