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>
Stations like "WEINFELDEN Kreisel West - Umfahrung" have directions
such as "zur Umfahrung" or "von Egelseestrasse" that cannot be
geocoded, so their dots were drawn on a nearby side road or around
the roundabout ring.
- Derive the roundabout centre from all stations sharing the name
before " - " and point each arm outward from it
- Prefer road segments named like the station's address when
following an arm; reject arms that don't get away from the centre
- Parse "zur", "zum", "Richtung" and "vom" direction prefixes
- Treat only swissTLM3D object kinds 12-19 as non-roads; kind 20 is
a regular road (e.g. Dunantstrasse in Weinfelden)
- Bump the geometry cache to v7 so all stations are rebuilt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>