Inspiration We aimed to transform a static report into an interactive, real-time route finder that allows users to visualize routes dynamically, add multiple waypoints, and calculate the best route.
What it does The app uses live transit data to display interactive maps with real-time vehicle positions and route suggestions. Users can input multiple waypoints, and the system calculates the best route using GTFS Realtime data.
How we built it Flask: Backend for dynamic routing and content.
Geopy: Geocodes addresses for source and destination.
GTFS Realtime API: Fetches live vehicle positions.
Folium: Creates interactive maps with live data overlays.
HTML Templates: Display maps and user inputs seamlessly.
Challenges we ran into Geolocation Errors: Address geocoding issues within Durham Region.
Real-Time Data Fetching: Handling slow responses and timeouts from the API.
Route Optimization Bug: Issues with waypoint handling affecting the optimal route calculation.
Combining Static and Dynamic Routes: Integrating live vehicle data with static route data on the map.
Accomplishments that we're proud of Successfully integrated real-time vehicle data with interactive maps.
Implemented a dynamic route finder with multiple waypoints.
Created a user-friendly interface for live transit navigation.
What we learned Mastered Flask for web application development and route handling.
Improved skills in real-time data integration and interactive mapping with Folium.
Learned how to handle geolocation errors and optimize API data fetching.
What's next for Interactive Map Routes Refining the waypoint handling algorithm for better route optimization.
Enhancing UI/UX for a more intuitive experience.
Further debugging and optimizing performance for real-time data fetching.
Built With
- apis
- durham-region-transit
- frameworks
- geopy-python
- gtfs-realtime-api
- html/css
- python
Log in or sign up for Devpost to join the conversation.