Dinosaur here who still prefers the classic version of ORS map website.
Usually, when I export to .gpx, I have no problem opening it in SublimeText (the code appears structured and with colors) nor importing it to Garmin Connect app on Android.
Recently, Classic ORS exported a “Normal Bike” itinerary with the following peculiarities:
- Starts with a UTF-8 BOM (
EF BB BF). - The entire 123 KB GPX is on a single line, with no line breaks at all.
- No XML declaration such as
<?xml version="1.0" encoding="UTF-8"?>
which means the code appeared without any structure or colors in SublimeText and Garmin Connect couldn’t import it.
ChatGPT fixed it for me by doing this:
- UTF-8 without BOM
- explicit XML declaration
- normal line breaks and indentation
Problem solved.
Hope that helps.