trails/packages/gpx/src
Ullrich Schäfer 180f1fc4bd
Add unit tests for no-go area round-trip and waypoint extraction
15 tests covering:
- No-go area generation (namespace, structure, multiple areas)
- No-go area parsing (namespaced, non-namespaced, min 3 points, empty)
- Full round-trip: generate → parse → verify no-go areas match
- Complete planning state round-trip (waypoints + tracks + no-go areas)
- extractWaypoints: explicit waypoints, multi-segment, Douglas-Peucker,
  empty tracks

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 12:50:57 +01:00
..
generate.test.ts Remove sync parseGpx, use parseGpxAsync everywhere 2026-04-02 20:32:48 +01:00
generate.ts Add split export: Export Route vs Export Plan 2026-04-03 10:52:39 +01:00
geom.test.ts Fix PostGIS geom population: use parseGpxAsync + raw SQL 2026-04-02 17:32:07 +01:00
index.ts Add split export: Export Route vs Export Plan 2026-04-03 10:52:39 +01:00
nogo.test.ts Add unit tests for no-go area round-trip and waypoint extraction 2026-04-03 12:50:57 +01:00
parse.test.ts Remove sync parseGpx, use parseGpxAsync everywhere 2026-04-02 20:32:48 +01:00
parse.ts Fix no-go area parsing for namespaced XML elements 2026-04-03 12:26:54 +01:00
types.ts Add split export: Export Route vs Export Plan 2026-04-03 10:52:39 +01:00
waypoints.ts Use epsilon 0.005 for Douglas-Peucker waypoint extraction 2026-04-02 22:40:01 +01:00