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 Dryline

How it works

  1. ForecastBMKG, every 3 hours
  2. NetworkWalk, ride, BRT, rail
  3. CostRain surcharge on exposed legs
  4. 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

Cost multiplier against rain intensityOpen legs rise from 1 to almost 2 times the dry cost as rain grows from 0 to 20 millimetres per hour. Bus stop waiting rises to 1.4, rail station waiting to 1.1, and travel inside a vehicle stays at 1.LightModerateHeavy1×1.25×1.5×1.75×2×05101520mm of rain per hour
  • 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 β

Rain avoided against extra travel timeAt β 0.5, rain avoided is 24.9% for 2% more time. At β 1, 36.8% for 5.4%. At β 2, 53.7% for 11.9%. At β 8, 67.1% for 26.6%. Returns shrink as β grows.0%20%40%60%80%+0%+10%+20%+30%extra travel timeβ 0.5β 1 (default)β 2β 8

More rain avoided for a similar delay

Share of rain avoided on 237 rain-affected journeys

  • Hard threshold32.5%+5.7% time
  • Linear penalty30.4%+4.2% time
  • Dryline36.8%+5.4% time

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.

About this website

This site explains what Dryline is, how it works, and who contributes to it. The hero background follows the weather and time of day in the Jakarta area you choose.

Weather data comes from BMKG, the Indonesian Agency for Meteorology, Climatology, and Geophysics.

The ambient sound uses these recordings. All of them come from Wikimedia Commons.

Paper Author