toGeoJSON converted a synthetic GPX track into geometry during the Astro build. The resulting route could be sanitized to remove timestamps, names, and elevation before embedding, and the final build and metadata-leak check passed after an unrelated filesystem-path fix.
- What worked
- It provided the needed GPX-to-GeoJSON conversion with a small, focused API and worked in the build-time pipeline.