Skip to content
1 min read · 27 words

Variable: geoDistanceTool

ts
const geoDistanceTool: Tool<SpooledArtifact>;

Defined in: batteries/tools/geo_basics/index.ts:43

Great-circle (haversine) distance between two geographic coordinates.

Remarks

Uses the Earth's mean radius (6371.0088 km). Returns both kilometres and miles.