Files
Noel Sabia 2bc52a314d
ci / check (push) Successful in 55s
feat: build the Cool City public route demo
- add /cool, /cool?vote=1, /cool/stage and /cool/city on the existing Nuxt/Onyx stack
- wire real route/shade metrics and OSM geometry from the route bundle; city-gap data for the city view
- show shade % and direct-sun minutes together; recommend Accessible for Ruth with the 15% ramp trade-off
- add in-memory time/scene/round state and one anonymous vote per session, polled every 2 s
- keep the retail module linked but out of the Cool City story
2026-11-14 13:49:22 +01:00

952 lines
19 KiB
JSON

{
"status": "ready",
"generatedAt": "2026-08-14",
"hotDay": {
"date": "2026-08-14",
"temperature_max_c": 35,
"temperature_min_c": 18.2,
"precipitation_mm": 0,
"sunshine_hours": 13.9,
"cloud_cover_pct": {
"10:00": 0,
"12:00": 0,
"14:00": 0,
"16:00": 0
},
"source": "Open-Meteo historical archive, 49.1423 N 9.2187 E, Europe/Berlin"
},
"label": "Modeled shade on the 2026-08-14 hot day (35°C, clear sky).",
"shadeLabel": "modeled shade, not measured",
"origin": {
"name": "Stadtgalerie",
"note": "Stadtgalerie (OSM-tagged main entrance, east side)",
"lat": 49.140269,
"lon": 9.218444
},
"destination": {
"name": "Marktplatz",
"lat": 49.142318,
"lon": 9.218659
},
"times": [
"10:00",
"12:00",
"14:00",
"16:00"
],
"routes": [
{
"id": "shortest",
"label": "Shortest",
"longName": "Shortest",
"description": "Direct via Fleiner Straße, Kirchbrunnenstraße and Windgasse.",
"fullDescription": "Direct route via Fleiner Straße, Kirchbrunnenstraße and Windgasse.",
"values": {
"10:00": {
"shadePct": 61.6,
"directSunMin": 1.8,
"distanceM": 359.5,
"durationMin": 4.8,
"stepFree": true,
"waterStops": 2,
"benchStops": 8,
"rampInclinePct": 15
},
"12:00": {
"shadePct": 46.6,
"directSunMin": 2.6,
"distanceM": 359.5,
"durationMin": 4.8,
"stepFree": true,
"waterStops": 2,
"benchStops": 8,
"rampInclinePct": 15
},
"14:00": {
"shadePct": 27.4,
"directSunMin": 3.5,
"distanceM": 359.5,
"durationMin": 4.8,
"stepFree": true,
"waterStops": 2,
"benchStops": 8,
"rampInclinePct": 15
},
"16:00": {
"shadePct": 43.8,
"directSunMin": 2.7,
"distanceM": 359.5,
"durationMin": 4.8,
"stepFree": true,
"waterStops": 2,
"benchStops": 8,
"rampInclinePct": 15
}
},
"ramp": {
"incline": "15.0%",
"location": "Marktplatz tram crossing",
"wheelchair": "yes"
},
"accessibilityNotes": [
"Step-free status is based on OSM highway=steps, wheelchair and locked-gate tags, not a field survey.",
"The accessible route avoids the 15% ramp at the Marktplatz tram crossing by entering Marktplatz from the north via Sülmerstraße/Falkenstraße.",
"The Deutschhof courtyard is a dead end in OSM: the east/south passage is tagged access=no and the north-east gate is locked=yes. The shaded route enters and leaves through the real tunnel/passage on the north side.",
"The 'shaded passage' label is descriptive; OSM has no signed name for the tunnel."
],
"geometry": [
[
9.218444,
49.140269
],
[
9.218519,
49.140295
],
[
9.21863,
49.140235
],
[
9.218708,
49.140241
],
[
9.218776,
49.140433
],
[
9.218928,
49.140615
],
[
9.219171,
49.140903
],
[
9.219365,
49.141179
],
[
9.219399,
49.141228
],
[
9.219422,
49.141249
],
[
9.219685,
49.141379
],
[
9.219485,
49.14145
],
[
9.219432,
49.14146
],
[
9.21907,
49.141483
],
[
9.218977,
49.141489
],
[
9.218891,
49.141495
],
[
9.218896,
49.141614
],
[
9.218894,
49.141628
],
[
9.21889,
49.14164
],
[
9.218876,
49.141673
],
[
9.218874,
49.141683
],
[
9.218873,
49.141694
],
[
9.218882,
49.141756
],
[
9.218926,
49.141883
],
[
9.218973,
49.141936
],
[
9.218975,
49.141945
],
[
9.218977,
49.141953
],
[
9.218981,
49.141969
],
[
9.218984,
49.141979
],
[
9.218986,
49.14199
],
[
9.21899,
49.142005
],
[
9.219019,
49.14205
],
[
9.219065,
49.142364
],
[
9.218659,
49.142318
]
]
},
{
"id": "shaded",
"label": "Shaded",
"longName": "Shaded via Deutschhof & Kiliansplatz",
"description": "Via the shaded passage, the Deutschhof courtyard and Kiliansplatz.",
"fullDescription": "Detour via the shaded passage at the Deutschhof, the Deutschhof courtyard (Taubenbrunnen) and Kiliansplatz.",
"values": {
"10:00": {
"shadePct": 61.5,
"directSunMin": 3.8,
"distanceM": 732.3,
"durationMin": 9.8,
"stepFree": true,
"waterStops": 2,
"benchStops": 9,
"rampInclinePct": 15
},
"12:00": {
"shadePct": 54.1,
"directSunMin": 4.5,
"distanceM": 732.3,
"durationMin": 9.8,
"stepFree": true,
"waterStops": 2,
"benchStops": 9,
"rampInclinePct": 15
},
"14:00": {
"shadePct": 42.6,
"directSunMin": 5.6,
"distanceM": 732.3,
"durationMin": 9.8,
"stepFree": true,
"waterStops": 2,
"benchStops": 9,
"rampInclinePct": 15
},
"16:00": {
"shadePct": 50,
"directSunMin": 4.9,
"distanceM": 732.3,
"durationMin": 9.8,
"stepFree": true,
"waterStops": 2,
"benchStops": 9,
"rampInclinePct": 15
}
},
"ramp": {
"incline": "15.0%",
"location": "Marktplatz tram crossing",
"wheelchair": "yes"
},
"accessibilityNotes": [
"Step-free status is based on OSM highway=steps, wheelchair and locked-gate tags, not a field survey.",
"The accessible route avoids the 15% ramp at the Marktplatz tram crossing by entering Marktplatz from the north via Sülmerstraße/Falkenstraße.",
"The Deutschhof courtyard is a dead end in OSM: the east/south passage is tagged access=no and the north-east gate is locked=yes. The shaded route enters and leaves through the real tunnel/passage on the north side.",
"The 'shaded passage' label is descriptive; OSM has no signed name for the tunnel."
],
"geometry": [
[
9.218444,
49.140269
],
[
9.218519,
49.140295
],
[
9.21863,
49.140235
],
[
9.218708,
49.140241
],
[
9.218776,
49.140433
],
[
9.218928,
49.140615
],
[
9.219171,
49.140903
],
[
9.219082,
49.140927
],
[
9.218896,
49.140978
],
[
9.21888,
49.140984
],
[
9.218863,
49.140991
],
[
9.218808,
49.141022
],
[
9.218788,
49.14103
],
[
9.218766,
49.141036
],
[
9.218451,
49.141096
],
[
9.218408,
49.140996
],
[
9.218403,
49.14098
],
[
9.218315,
49.141
],
[
9.218078,
49.141029
],
[
9.218044,
49.141031
],
[
9.217998,
49.141033
],
[
9.217824,
49.14104
],
[
9.217795,
49.141042
],
[
9.217769,
49.141051
],
[
9.217747,
49.14104
],
[
9.21773,
49.141035
],
[
9.217711,
49.141032
],
[
9.217675,
49.141027
],
[
9.217651,
49.141021
],
[
9.217642,
49.141015
],
[
9.217633,
49.141009
],
[
9.217626,
49.141
],
[
9.217599,
49.140959
],
[
9.217584,
49.140939
],
[
9.217576,
49.14093
],
[
9.217569,
49.140923
],
[
9.217564,
49.140915
],
[
9.217561,
49.140907
],
[
9.217541,
49.140834
],
[
9.217536,
49.140819
],
[
9.217534,
49.140806
],
[
9.217534,
49.140793
],
[
9.21756,
49.140668
],
[
9.217534,
49.140793
],
[
9.217534,
49.140806
],
[
9.217536,
49.140819
],
[
9.217541,
49.140834
],
[
9.217561,
49.140907
],
[
9.217564,
49.140915
],
[
9.217569,
49.140923
],
[
9.217576,
49.14093
],
[
9.217584,
49.140939
],
[
9.217599,
49.140959
],
[
9.217626,
49.141
],
[
9.217633,
49.141009
],
[
9.217642,
49.141015
],
[
9.217651,
49.141021
],
[
9.217675,
49.141027
],
[
9.217711,
49.141032
],
[
9.21773,
49.141035
],
[
9.217747,
49.14104
],
[
9.217769,
49.141051
],
[
9.217795,
49.141042
],
[
9.217824,
49.14104
],
[
9.217998,
49.141033
],
[
9.218044,
49.141031
],
[
9.218078,
49.141029
],
[
9.218315,
49.141
],
[
9.218403,
49.14098
],
[
9.218408,
49.140996
],
[
9.218451,
49.141096
],
[
9.218766,
49.141036
],
[
9.218788,
49.14103
],
[
9.218808,
49.141022
],
[
9.218863,
49.140991
],
[
9.21888,
49.140984
],
[
9.218896,
49.140978
],
[
9.219082,
49.140927
],
[
9.219171,
49.140903
],
[
9.219365,
49.141179
],
[
9.219399,
49.141228
],
[
9.219422,
49.141249
],
[
9.219685,
49.141379
],
[
9.219914,
49.141492
],
[
9.220133,
49.14176
],
[
9.220158,
49.141805
],
[
9.220171,
49.141829
],
[
9.220105,
49.141838
],
[
9.219952,
49.141856
],
[
9.21981,
49.141873
],
[
9.218981,
49.141969
],
[
9.218984,
49.141979
],
[
9.218986,
49.14199
],
[
9.21899,
49.142005
],
[
9.219019,
49.14205
],
[
9.219065,
49.142364
],
[
9.218659,
49.142318
]
]
},
{
"id": "accessible",
"label": "Accessible",
"longName": "Step-free with water & benches",
"description": "Step-free with water and benches, via Fleiner Straße and Sülmerstraße.",
"fullDescription": "Step-free route via Fleiner Straße, Sülmerstraße and Falkenstraße, entering Marktplatz from the north to avoid the 15% tram-crossing ramp.",
"values": {
"10:00": {
"shadePct": 67.4,
"directSunMin": 1.9,
"distanceM": 438.2,
"durationMin": 5.8,
"stepFree": true,
"waterStops": 2,
"benchStops": 6,
"rampInclinePct": null
},
"12:00": {
"shadePct": 55.1,
"directSunMin": 2.6,
"distanceM": 438.2,
"durationMin": 5.8,
"stepFree": true,
"waterStops": 2,
"benchStops": 6,
"rampInclinePct": null
},
"14:00": {
"shadePct": 30.3,
"directSunMin": 4,
"distanceM": 438.2,
"durationMin": 5.8,
"stepFree": true,
"waterStops": 2,
"benchStops": 6,
"rampInclinePct": null
},
"16:00": {
"shadePct": 43.8,
"directSunMin": 3.3,
"distanceM": 438.2,
"durationMin": 5.8,
"stepFree": true,
"waterStops": 2,
"benchStops": 6,
"rampInclinePct": null
}
},
"ramp": null,
"accessibilityNotes": [
"Step-free status is based on OSM highway=steps, wheelchair and locked-gate tags, not a field survey.",
"The accessible route avoids the 15% ramp at the Marktplatz tram crossing by entering Marktplatz from the north via Sülmerstraße/Falkenstraße.",
"The Deutschhof courtyard is a dead end in OSM: the east/south passage is tagged access=no and the north-east gate is locked=yes. The shaded route enters and leaves through the real tunnel/passage on the north side.",
"The 'shaded passage' label is descriptive; OSM has no signed name for the tunnel."
],
"geometry": [
[
9.218444,
49.140269
],
[
9.218519,
49.140295
],
[
9.21863,
49.140235
],
[
9.218708,
49.140241
],
[
9.218776,
49.140433
],
[
9.218928,
49.140615
],
[
9.219171,
49.140903
],
[
9.219365,
49.141179
],
[
9.219399,
49.141228
],
[
9.219422,
49.141249
],
[
9.219685,
49.141379
],
[
9.219914,
49.141492
],
[
9.220133,
49.14176
],
[
9.220158,
49.141805
],
[
9.220171,
49.141829
],
[
9.220176,
49.141838
],
[
9.220212,
49.141921
],
[
9.220309,
49.142145
],
[
9.220393,
49.142357
],
[
9.220161,
49.142396
],
[
9.220084,
49.142408
],
[
9.219981,
49.142423
],
[
9.219843,
49.142446
],
[
9.219601,
49.14249
],
[
9.219389,
49.142528
],
[
9.219329,
49.142538
],
[
9.219255,
49.142545
],
[
9.219199,
49.142543
],
[
9.219139,
49.142531
],
[
9.219094,
49.1425
],
[
9.219079,
49.142458
],
[
9.219065,
49.142364
],
[
9.218659,
49.142318
]
]
}
],
"recommendationByTime": {
"10:00": "shortest",
"12:00": "shortest",
"14:00": "accessible",
"16:00": "accessible"
},
"modelLabel": "Accessible for Ruth",
"water": [
{
"name": "Drinking water fountain (Kiliansplatz)",
"lat": 49.141237,
"lon": 9.219556,
"wheelchair": null,
"nearRoutesM": {
"shortest": 7,
"shaded": 7,
"accessible": 7
}
},
{
"name": "Trinkwasser am Marktplatz",
"lat": 49.1422,
"lon": 9.218956,
"wheelchair": "yes",
"nearRoutesM": {
"shortest": 6.1,
"shaded": 6.1,
"accessible": 16.6
}
}
],
"meta": {
"city": "Heilbronn",
"hotDay": {
"date": "2026-08-14",
"temperature_max_c": 35,
"temperature_min_c": 18.2,
"precipitation_mm": 0,
"sunshine_hours": 13.9,
"cloud_cover_pct": {
"10:00": 0,
"12:00": 0,
"14:00": 0,
"16:00": 0
},
"source": "Open-Meteo historical archive, 49.1423 N 9.2187 E, Europe/Berlin"
},
"shadeLabel": "modeled shade, not measured",
"method": "NOAA solar position + 2D building-footprint shadow sweep + tree-canopy shadow discs; 5 m route sampling.",
"solarPositions": {
"10:00": {
"altitude_deg": 35.3,
"azimuth_deg": 110.8
},
"12:00": {
"altitude_deg": 50.8,
"azimuth_deg": 145
},
"14:00": {
"altitude_deg": 54.5,
"azimuth_deg": 193.5
},
"16:00": {
"altitude_deg": 43.3,
"azimuth_deg": 235.1
}
},
"dataGaps": [
"Building heights: 445 of 854 main footprints have no height or building:levels in OSM; type-based defaults are used.",
"Tree heights are modeled from cadastre crown diameters, not measured.",
"Shade is clear-sky geometric shade; cloud cover is reported but not applied to direct_sun_min.",
"OSM is crowd-sourced; completeness of benches, water and kerb tags is not guaranteed."
],
"walkingSpeedMps": 1.25
}
}