hiking GPS tracks: fix bug
hiking GPS tracks: fix bug: a task in smol-software-harbor (Harbor dataset). Track distances are nonsense (a one-degree step along the equator gives several thousand km and test equator degree fails): haversine km in gpx/geo.py feeds degrees to trigonometric functions that expect radians. Fix it…
The task
Track distances are nonsense (a one-degree step along the equator gives several thousand km and `test_equator_degree` fails): `haversine_km` in `gpx/geo.py` feeds degrees to trigonometric functions that expect radians. Fix it and run `python3 -m pytest -q`.
Part of efederici/smol-software-harbor.