Measuring Travel: More Than Just Counting Countries
Published:
Calculating a travel score for myself
I know, I know—travel is supposed to be a fun activity, enjoyed without the constraints of metrics and measurements. But there’s a part of me that loves seeing improvement in what I do, especially when it involves some numbers moving up or down towards a goal.
After a recent trip, I started wondering how I could measure my travel experiences. The most obvious metric is the number of countries visited. While this is a decent measure, I wanted a more comprehensive view of my travels.
While googling, I stumbled upon this amazing tool by Patrick Stotz. I absolutely loved it because it combined two of my interests: travel/maps and discretization. However, there was a tiny hiccup—I had to manually click boxes based on the cities I have visited. This assumes two things about me:
- I enjoy clicking a lot.
- I know exactly where the cities I’ve visited are located on a map.
Probably neither of these assumptions is correct. But, I do know a bit of code. With my interest in learning JavaScript, I saw this as a micro-challenge to automate the process. I recycled some old code and modified the original Travel Score calculator to accept a new JSON object with all the places I’ve traveled to. Now, not only can I calculate my travel score, but I can also keep it updated as I roam the globe. Check it out here.
The original tool by Patrick Stotz is under an MIT License.
Future Improvements
I’m excited about the potential to enhance this tool further. Here are a few ideas I have in mind to better measure “how much one has traveled the world”:
- User Uploads: Allow others to upload their own JSON files to calculate their travel scores. (I’m still figuring out how to do this, so if anyone has tips, feel free to share!)
- World Heritage Sites: Include extra information about UNESCO World Heritage Sites visited to add another layer of cultural significance to the score.
- Country-Specific Scoring: Make each country’s score different. For example, visiting a rare or less-visited country would give more points than visiting a popular tourist destination.
- Duration of Stay: Incorporate the length of time spent in each location, with longer stays contributing more to the travel score.
- Repeat Visits: Acknowledge multiple visits to the same country or city, reflecting the depth of exploration rather than just the breadth.
- Regional Diversity: Measure the diversity of regions visited within a country to capture a more detailed picture of one’s travel experiences.
- Off-the-Beaten-Path Locations: Award additional points for visiting less well-known or remote locations that might be more challenging to reach.