Inspiration

We went Interrailing in the summer and found it awkward having to manually add in each of the travel journeys and things we wanted to see. The idea of the project was to create an automated trip planner that would take any existing information, such as flights or hotels booked, and then create a fully-detailed schedule for you, that included things to see and all transit journeys between the places.

What it does / will do

A web app with a schedule and options for adding in travel or visit events, and then a button to automatically fill in the schedule with content. Currently we have a Python script for finding local attractions, calculating journeys between locations via public transport, and recommending local attractions (FlaskWebProject1/models.py), but we have not yet been able to implement this into the web app.

How I built it

The web app is written in HTML / CSS / JS / Flask, and the route finding is done in Python, using the Google Maps API.

Challenges I ran into

  • Linking the Python script into the web app
  • Google Maps API did not have the facility to calculate routes with waypoints, so finding an optimum path around the desired attractions (i.e. travelling salesman problem) was difficult
  • Each API code is only valid for 1,000 requests, so we regularly had to create new projects to get new codes

Accomplishments that I'm proud of

  • Staying awake for 23 hours (at the time of writing)
  • Managed to use the Google API effectively in Python to get good content

What I learned

  • Managing large quantities of JSON data
  • Web apps are difficult

What's next for Trip Planner Web App

  • Writing our own pathfinding algorithm to find an optimum route
  • Combining the Python code with the web app
Share this project:

Updates