SunRoute
Find the perfect seat on your bus based on real-time sun position analysis. Never squint on a bus ride again.
Overview
SunRoute analyzes your journey in real-time, calculating exactly where the sun will be at every point to recommend the perfect seat. Whether you're commuting daily or taking a long trip, avoid the sun glare with intelligent seat recommendations.
Using OpenStreetMap's OSRM routing engine and SunCalc library, SunRoute provides precise sun position calculations for your specific route, time, and date to ensure optimal seating arrangements.
Key Features
Uses OpenStreetMap's OSRM routing engine to calculate the exact path your bus takes.
SunCalc library calculates the exact sun position at every point along your journey.
Analyzes sun angles relative to travel direction for optimal seating positions.
Get your seat recommendation in seconds — no account required, completely free.
Plan trips ahead on any device with advanced scheduling capabilities.
View your journey on an interactive map and open directions in Google/Apple Maps.
Challenges & Solutions
Accurate Sun Position Calculation
Determining precise sun position along a dynamic route required integrating multiple data sources and handling complex astronomical calculations.
Implemented SunCalc library for accurate solar position calculations and combined it with route segmentation to provide seat recommendations for each portion of the journey.
Route Precision
Needed to calculate exact paths buses take, not just straight lines between destinations.
Integrated Open Source Routing Machine (OSRM) API to get realistic route calculations based on actual road networks and traffic patterns.
About SunRoute
SunRoute is an open-source project built with open-source technologies. Inspired by the Veyil App by PCL Technologies, SunRoute expands on that innovative concept by adding web-based scheduling, route preview, and detailed segment analysis to help you find the best seat on your bus ride.
“100% free forever, with no tracking, no ads — just helpful sun avoidance for everyone. Built to make commuting more comfortable for bus travelers everywhere.”
Technology Stack
Azimuth & Heading Differential
By comparing the vehicle heading vector θ_bus against the solar azimuth angle θ_sun at each waypoint timestamp, SunRoute resolves thermal side incidence with >98% empirical accuracy.
Ready to plan your trip?
Enter your start, destination, and departure time for an instant smart seat recommendation.
Launch SunRoute App ↗