Skip to content

GPX export for portable GPS units#239

Draft
msupino wants to merge 7 commits into
devfrom
gpx-export
Draft

GPX export for portable GPS units#239
msupino wants to merge 7 commits into
devfrom
gpx-export

Conversation

@msupino
Copy link
Copy Markdown
Owner

@msupino msupino commented May 25, 2026

Add export to GPX 1.1 format alongside the existing JSON / KML exports. GPX is the de-facto format for handheld GPS (Garmin aera / GNS / etc.) and many EFB apps.

  • New exportGpx() function in io.js: generates GPX 1.1 rte with rtept per waypoint (lat/lng/name/optional ele from leg altitude)
  • Toolbar button '📍 Export GPX' in the Route section
  • EN + HE strings for button label and title
  • File name: route-.gpx

Implements #161

@github-actions github-actions Bot temporarily deployed to pr-preview-239 May 25, 2026 17:56 Inactive
@msupino msupino changed the base branch from main to dev May 25, 2026 19:58
@msupino msupino closed this May 26, 2026
@msupino msupino reopened this May 26, 2026
@msupino msupino marked this pull request as draft May 26, 2026 18:46
msupino added 5 commits May 27, 2026 09:06
- New exportGpx() function in io.js: generates GPX 1.1 <rte> with <rtept> per
  waypoint (lat/lng/name/optional ele from leg altitude)
- Toolbar button '📍 Export GPX' in the Route section
- EN + HE strings for button label and title
- File name: route-<timestamp>.gpx

Implements #161
- New loadGpx() in io.js: parses GPX XML with DOMParser, extracts
  <rtept lat/lon/name>, creates waypoints + default legs
- File input accepts .gpx alongside .json
- File change handler routes .gpx files to loadGpx(), .json to load()
tintFill only accepts one argument (hex). The second argument was an
unused alpha override that should be removed. Notes always use the
global yellowAlpha opacity.
@github-actions
Copy link
Copy Markdown

🚀 Preview deployed

Open PR preview →

https://msupino.github.io/NavigationApp/branch/gpx-export/

Commit: 3ca2dbb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant