GPX share-sheet import intent, parser and simplification #24
Labels
No labels
area:companion
area:docs
area:shared
area:tooling
area:watchapp
blocker
kind:chore
kind:feature
kind:spike
kind:test
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
Depends on
#25 Route library: storage, list UI, distance and elevation profile
robert/PedalPebble
#26 CueSheetEnricher interface and canonical direction enum
robert/PedalPebble
#31 Navigation engine: windowed snapping to the route polyline
robert/PedalPebble
#14 Android project skeleton and Gradle setup
robert/PedalPebble
Reference
robert/PedalPebble#24
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Get routes onto the phone in two taps from komoot, or from any other planner.
Acceptance criteria
ACTION_SENDandACTION_VIEWonapplication/gpx+xmland*/*.gpxFiles
companion/.../route/import/GpxImporter.ktNotes
komoot GPX carries geometry only - no turn instructions. That is what the enrichment issues solve.
Update — 2026-09-01: parser edge cases
"Parse track points" left the awkward half of real GPX files undefined. Route sources differ more than
the plan assumed — which is the same observation that produced the tier-0 enricher in #63.
<rte>/<rtept>routes handled as well as<trk>/<trkpt>tracks — bikerouter.de andRideWithGPS both emit routes, not only tracks
<trkseg>segments joined, with the seam not treated as a turn<trk>elements in one file: handled or rejected with a clear message, not silentlytruncated to the first
<ele>tolerated — the elevation profile in #25 degrades, the import does not failClosed by PR #78 (merged): hardened SAX parser (trk+rte, multi-trkseg join, missing ele/time tolerated, multi-track rejection, XXE/size/depth/point caps), RDP simplification at 5m, and the share-sheet ACTION_SEND/ACTION_VIEW intent filters. Not yet verified against a real device or live komoot/bikerouter.de/RideWithGPS exports — that needs Robert's phone, tracked as a follow-up rather than blocking this issue further.