GPX to PDF

  • Category: Computer science
  • Project date: November 2026
  • Project URL (Web service):: GPX web
  • Project URL (Full story):: Corner Entry

Description

On September I went on a multi-day hike with a friend of mine and decided that it could be nice to have the route downloaded in paper just in case both our phones ran out of battery, broke or had no signal. I surfed the web for a while attempting to get an online converter that would split the .gpx file into multiple pages on a pdf ready for me to print them. I couldn't find one.

Using free-subscription claude I created a python script that was capable of doing this and had a lot of tunable parameters to get the result that I was expecting. After refining the script over 5 versions I got something fully functional that worked very well.

Wanting to aid other people who might have the same problem and are not willing to go through the (little) fuzz of doing it themselves, I created a very simple web interface to tune the parameters and upload the route. Once this is done and the "Create PDF" button is pressed, a PDF file with the split route is downloaded locally. This website can be accessed in here