Route planner · 2026 · Open Data Hackathon

On the hottest days,
take a walk through Lübeck and enjoy the shade.

On the hottest days, take a walk through Lübeck and enjoy the shade.

A route planner that finds the shadiest way on foot, for any day and hour.

Built from open data in a 30-hour hackathon.

The problem

On a hot day, the fastest way is often the sunniest.

Maps route people on foot by distance. On a summer afternoon that sends them along the open main road while the shady side street next to it goes unused, which matters most for the people the heat hits hardest: older people, small children, anyone with a long way to walk.

The shade is there, but it never stays put. It turns with the hour, grows towards evening and shrinks at noon, and the trees only cast it while they're in leaf. A shady route depends on exactly when you set out.

The product

A route planner for hot days.

The planner compares two routes, the shadiest and the fastest, and shows how much of each is in the shade. Pick a day and an hour, past or future, and the shadows on the map, the routes and the weather all follow. Around them it marks where to cool off on the way: drinking fountains, ice-cream shops, swimming spots and cool places to step into.

The route planner on a MacBook on a park bench (on a phone: on a foldable phone lying flat); in dark mode when the page is dark. The old town of Lübeck on 27 June at 16:00, a shady route over the Holstenbrücke and along Holstenstraße, 15 minutes, 1.1 km, 89 % in the shade, and 37 °C.
The shaded route through Lübeck.
Fast because it skips what it doesn't need.
Any hour of any day. The shadows move with it.
Where to cool off on the way.

How it works

A check every two metres.
Worked out in the browser.

A check every two metres. Every stretch of path is checked every two metres: is this point in the shadow of a building or a tree crown? The share of points that are gives the stretch its shade, for exactly the date and hour you picked. Nothing is worked out in advance.

Every building, at its height. Buildings come from the state's 3D building model where it exists, around the old town and the campus, and from OpenStreetMap elsewhere, with the height estimated from its tags. Each one's shadow follows from its outline, its height and the sun's position.

A crown from a name. The city's tree register gives each tree a position, a genus and a planting year, but no height and no crown. Both are estimated from the genus. It's the biggest uncertainty in the whole calculation.

Leaves from April to October. Deciduous trees only cast shade while they're in leaf, from April to October. In winter the same street is sunnier than in summer, and the route knows it.

On the pavement, not the road. Along streets with traffic, the points sit on the pavement, four to seven metres from the road's centre line, not in the middle of the road. Where there are pavements on both sides, the shadier one counts.

Sunny asphalt counts three times. The shadiest route isn't the one with the most shade at any cost. A sunny metre counts for more than a shaded one, and hot surfaces for more than cool ones: 100 metres of asphalt in full sun cost as much as 300 in the shade. Busy roads and paths without a pavement are avoided on top.

Results

The same seven minutes, 85 % in the shade.

The planner routes across the whole of Lübeck and works out the shade in the browser, for whatever date and hour you pick: past days from 2022 on, today, and up to fifteen days ahead. It only checks the paths the search actually touches, about one in twenty-five, so a whole route takes some twenty milliseconds.

Its limits are written down next to the formula. Tree heights are guesses from their genus, measured building heights exist only around the old town and the campus, and the shade is the shade at the moment you set out, not at every step along the way.

With Benjamin Schulz, Celine Markeli and Mattias Holand · Open Data Hackathon, University of Lübeck, 2026