No more guessing the rain
Dryline is a public transport router that also weighs the weather. When you plan a trip, it looks at the open parts of your journey — the walk to the stop, the wait on the platform.
Heavy, localised rain in Jakarta can turn a fast motorcycle trip into an uncomfortable and hazardous one. Most journey planners rank options by travel time alone.
Open DrylineHow it works
- ForecastBMKG, every 3 hours
- NetworkWalk, ride, BRT, rail
- CostRain surcharge on exposed legs
- RouteFastest next to weather-aware
Bounded Penalty
ce(t) = τe wm [1 + βm Ee φ(r̂e(t))]
The cost never goes above (1 + β) times the dry cost.
- cₑ(t)
- cost of edge e at time t
- τₑ
- travel or waiting time, in minutes
- wₘ
- weight of the mode: 1.0 riding, 1.5 walking and waiting
- βₘ
- largest surcharge, 1 by default
- Eₑ
- exposure: open 1, BRT stop 0.4, rail station 0.1, vehicle 0
- φ
- rain response, 0 to 1, from the forecast intensity r̂
- 36.8%
- less rain on exposed legs
- +5.4%
- average travel time
- 0.91
- F1 score of rain detection
Simulation of 400 journeys, 237 of them affected by rain. Not measured in the real city.
Rain makes open legs cost more
Cost multiplier by rain intensity, β = 1
- Walking, motorcycle
- Waiting at a BRT stop
- Waiting in a rail station
- Inside a vehicle
You choose how cautious to be
Rain avoided against extra travel time, for each rain-aversion weight β
More rain avoided for a similar delay
Share of rain avoided on 237 rain-affected journeys
With a poor forecast the gain falls to 27.8%. It reaches 44.4% with a perfect one.
Most trips are rerouted, a few switch to transit
What happened to the 237 rain-affected journeys
- 165 rerouted36.9% less rain, 5.6% more time
- 55 unchangedNo better route nearby
- 17 switched to transit95.6% less rain, 20.2% more time
Contributors
Loading contributors from GitHub.