trails/packages/gpx
Ullrich Schäfer cc90c32a0e
Extract shared extractWaypoints into @trails-cool/gpx
Both new.tsx and api.sessions.ts had duplicated track-segment
waypoint extraction logic. Moved to packages/gpx as
extractWaypoints(gpxData) — uses <wpt> elements when present,
falls back to start of each track segment + end of last.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 20:47:17 +01:00
..
src Extract shared extractWaypoints into @trails-cool/gpx 2026-04-02 20:47:17 +01:00
package.json Implement shared packages (tasks 2.1-2.6) 2026-03-22 13:09:35 +01:00
tsconfig.json Complete monorepo toolchain setup (tasks 1.1-1.7) 2026-03-22 12:12:57 +01:00