1
HEAT-AWARE WALKING · PROJECT DECK
HeatRoute
The cooler way to get there.
Origin + destination → several real walking routes → one honest recommendation.
2
Fastest is not always coolest
Routes differ
Estimated shade potential can change from one street to the next.
People choose
A few extra minutes may be a worthwhile trade-off for a cooler path.
Heat compounds
Longer walks under high apparent heat and UV increase exposure.
THE PROBLEM
Nearby paths share almost the same weather—but not the same trees, parks, covered ways or walking time. HeatRoute makes that difference visible.
3
ONE SIMPLE DECISION
Compare. Understand. Walk.
Enter FROM and TO. HeatRoute returns 2–3 walking alternatives and highlights the coolest reasonable option.
Time · distance · heat score · estimated shade
4
One request, four clear stages
01 · Resolve places
Photon suggestions; exact coordinates are preferred, with Nominatim as a text fallback.
02 · Generate routes
Valhalla returns pedestrian geometry, time, distance and native alternatives.
03 · Read environment
Weather comes from the trip midpoint; Overpass supplies nearby shade features.
04 · Rank and render
Deterministic scoring feeds route cards and Leaflet polylines in one response.
5
Valhalla creates every path
Filter
Reject near-duplicates and routes that are unreasonably long.
Supplement
If needed, controlled waypoints ask Valhalla for additional real detours.
Ask
Request the primary path plus native walking alternatives.
ROUTE INTEGRITY
The backend asks for the default pedestrian route plus up to two alternatives. HeatRoute filters and compares geometry; it never invents streets or draws a routing line itself.
6
A deterministic, explainable score
Heat risk
Apparent temperature + humidity
Sun exposure
100 − estimated shade potential
UV risk
Current UV index
45%
25%
30%
ESTIMATED HEAT EXPOSURE
A transparent product heuristic combines current environmental risk with trip duration. It is an estimate—not a medical or safety measurement.
intensity = 0.45 × heat risk + 0.25 × UV risk + 0.30 × sun exposure · score = intensity × duration factor
7
Shade separates nearby routes
Trees
Mapped trees within 65 m contribute to the route’s shade proxy.
Parks + gardens
Green leisure areas within 120 m raise estimated shade potential.
Forests + grounds
Mapped forest and recreation land adds greenery evidence.
Covered ways
Covered paths within 45 m receive the strongest per-feature weight.
8
Useful GPS, private by design
Move the pointer
watchPosition updates the marker and its accuracy circle.
Keep it local
No account or database; live tracking coordinates stay in the browser.
Ask permission
Geolocation starts only after the user chooses a location action.
LIVE LOCATION
Current location can be selected as either endpoint and shown on the map. The browser updates a separate Leaflet layer without creating a tracking history.
9
A small, open-source stack
Application
React 19 + TypeScript + a Next-compatible App Router through vinext.
Map
Leaflet 1.9 renders OpenStreetMap raster tiles and every route layer.
Live data
Photon, Nominatim, Valhalla, Open-Meteo, MET Norway and Overpass.
Backend
Two serverless API routes orchestrate providers, scoring and error fallbacks.
10
A focused walking MVP
Route choices
When the street network permits
Paid API keys
Required by the current build
Endpoint limit
Straight-line MVP guardrail
2–3
30 km
0
CURRENT SCOPE
Walking only, current conditions and nearby trips—with Bengaluru-biased suggestions, India-focused fallback geocoding and explicit provider-failure states.
11
Trust starts with honest limits
Proxy, not shadows
No sun angle, canopy, seasonal foliage or street-level shadow simulation yet.
One weather point
Conditions are sampled at the endpoint midpoint, not continuously along each path.
No water points yet
The feature stays removed until route-level availability can be represented reliably.
Next: explain + improve
Gemini may explain computed facts; better shade and water evidence come first.
12
THE DESIGN PRINCIPLE
Better signals. Better walking decisions.
Real routes. Transparent estimates. Clear trade-offs.
Live prototype
https://heatroute-theta.vercel.app/