TYEclipse/dsh-geodesy

TYEclipse★ 1TypeScript最后同步: 2026-08-20

在 GitHub 打开

Geodesic math toolbox for DeepSeek Harness (dsh): great-circle distance, bearings, destination points, and DMS coordinate parsing — zero runtime dependencies

README 摘要

dsh-geodesy Geodesic math toolbox for DeepSeek Harness (dsh): great-circle distances, bearings, destination points, and DMS coordinate parsing — all as local, deterministic tools with zero runtime dependencies . 中文简介:dsh 插件「大地测量工具箱」——大圆距离、方位角、目的地推算与 DMS 坐标解析四个纯计算工具,零运行时依赖。专治大模型手算球面距离/坐标换算的常见错误(弧度与角度混用、忘记地球半径、经纬度顺序颠倒等)。 Why LLMs reliably fumble geodesic math: they mix up latitude/longitude order, use the wrong Earth radius, forget degrees→radians, and botch DMS conversions. This plugin moves that math out of the model's head and into exact spherical trigonometry: - geo distance — great-circle distance (haversine) between two points, with initial/final bearings and the 16-wind compass direction; results in km, m, mi, or nmi - geo bearing — initial & final great-circle bearings plus the great-circle midpoint of two points - geo destination — the direct geodesic problem: given a start point, bearing and distance, compute the destination (with a round-trip distance check) - coord parse — parse and validate coordinate strings (decimal, DMS, suffixes, pairs) and convert them to decimal degrees + formatted DMS All math uses the IUGG mean Earth radius 6371.0088 km (configurable via the plug…

在 GitHub 查看完整 README →
终端/TUIcoordinatesdeepseek-harnessdsh-plugingeodesyhaversine

分类