Task groups 5 and 6 of gpx-parser-robustness. Group 5 — packages/gpx/fixtures/*.gpx (synthetic, no personal data): route-only, missing-coords, garbage-ele, timestamps-partial, timestamps-mostly-invalid, multi-track, unicode-name, namespaced-extensions, plus trimmed Komoot/Wahoo-style exports. parse-node.test.ts gains a fixture table test that auto-discovers every *.gpx from disk, asserts finite stats + per-fixture shape, and fails loudly if a file has no EXPECTATIONS entry (the corpus is the regression mechanism). Group 6 — verification: GpxData shape unchanged; journal + planner compile with no changes; gpx suite 98/98; full pnpm typecheck 13/13, lint 13/13, test 11/11. Route-only + broken-file import behaviour is covered by the fixtures + consumer compile; the browser leg rides e2e. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
11 lines
582 B
XML
11 lines
582 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<gpx version="1.1" creator="https://www.komoot.de" xmlns="http://www.topografix.com/GPX/1/1">
|
|
|
|
<metadata><name>Rheinsteig Sampler</name><author><link href="https://www.komoot.de"><text>komoot</text></link></author></metadata>
|
|
<trk><name>Rheinsteig Sampler</name><trkseg>
|
|
<trkpt lat="50.3600" lon="7.5900"><ele>75</ele></trkpt>
|
|
<trkpt lat="50.3620" lon="7.5950"><ele>120</ele></trkpt>
|
|
<trkpt lat="50.3650" lon="7.6010"><ele>210</ele></trkpt>
|
|
<trkpt lat="50.3680" lon="7.6080"><ele>260</ele></trkpt>
|
|
</trkseg></trk>
|
|
</gpx>
|