Commit graph

2 commits

Author SHA1 Message Date
d7401b63cd Add start page with tiles for the available maps
The app will show several maps and datasets, so it now opens on a
start page with one large tile per map instead of the traffic map.

- Routing with react-router-dom: "/" is the start page, the Thurgau
  traffic map moved to "/verkehr/thurgau" (pages/TrafficThurgauPage)
- Map registry in src/maps.ts drives the tiles (title, region,
  description, tags, source, preview image)
- SVG preview illustration for the traffic map tile
- Traffic map header links back to the start page; page titles set
  per page

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 20:50:55 +01:00
e729ea3403 Add Thurgau traffic visualizer with animated map
ASP.NET Core 10 API and React client that visualize the canton of
Thurgau's hourly traffic counts by vehicle class (data.tg.ch, CC0).

- Background refresh from data.tg.ch every 6 h into a per-day JSON
  cache, so history grows beyond the source's two-week window
- Road geometry per station direction from swisstopo swissTLM3D,
  oriented by geocoding the direction's target town; roundabout arms
  follow the road outward only
- Leaflet map with canvas animation: dots drive along the road in
  both directions, density by hourly count, colour by vehicle class,
  right-hand traffic; play/pause, time slider and day selection
- Station panel with per-class counts and Chart.js charts (hourly,
  weekday/weekend profile, daily totals, class mix)
- swisstopo base map switcher (grey, colour, aerial)
- Dockerfile and docker-compose with a data volume
- xUnit tests for mapping, cache, geometry, geocoding and analysis

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 20:33:58 +01:00