trails/packages
Ullrich Schäfer d5bcecb345
Fix distance calculation for GPX files without elevation data
Distance was only stored in the elevation profile array, which was
empty when track points had no <ele> elements. Now computed via
haversine independently and exposed as gpxData.distance.

Tested: berlin-dresden-radweg-2021.gpx (5660 points, no elevation)
now correctly reports 248.8 km.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 20:32:47 +01:00
..
db Fix PostGIS geom population: use parseGpxAsync + raw SQL 2026-04-02 17:32:07 +01:00
gpx Fix distance calculation for GPX files without elevation data 2026-04-02 20:32:47 +01:00
i18n Add route error toasts with waypoint rollback 2026-03-29 14:09:20 +02:00
map Fix planner production server + use .ts extensions everywhere 2026-03-25 01:41:33 +01:00
types Fix planner production server + use .ts extensions everywhere 2026-03-25 01:41:33 +01:00
ui Fix planner production server + use .ts extensions everywhere 2026-03-25 01:41:33 +01:00