Add the changelog fragment and document the shared distance contract

This commit is contained in:
Sameh Khamis committed 2026-10-17 11:43:23 -07:00
1 parent 64d7ed3c61
commit eb10f7ab0c
2 files changed
+19 -7

No files matched your search

@@ -0,0 +1,5 @@
- The client's great-circle distances now come from one shared
`src/geoDistance.js` (`greatCircleKm`/`greatCircleMeters`, `{lat, lon}`
points). The Earth radius is standardized on 6371.0088 km, so distances shift
by about 1.4 ppm and region areas by about 2.8 ppm, and missing or
out-of-range points return `Infinity` (onionviolet, #287; Rajojha-1, #749).