| name | lgs-1920-studio-gpx-journey-import |
| description | Build or repair LGS1920 GPX journey import, parsing, validation, normalization, sequencing, metrics, colors, and sample journey handling. |
GPX Journey Import
Use for GPX files, journey creation, imported tracks, waypoint handling, and malformed data. Inspect import utilities, journey stores, sample assets, and existing fixtures before editing.
Workflow:
- Parse tracks, segments, points, timestamps, elevations, and extensions with the existing library.
- Normalize coordinate order, missing values, timestamps, colors, and segment sequencing.
- Validate useful geometry and report invalid or incomplete data without crashing the map.
- Recompute derived statistics after import and after profile edits.
- Preserve source metadata and activity-specific defaults where available.
- Add fixtures for valid, multi-segment, missing-elevation, malformed, and reordered GPX data.
Never silently discard points or invent elevation. Keep parsing pure where possible and keep store mutations explicit.