Commit graph

2 commits

Author SHA1 Message Date
39a1cd4009 Add combined Thurgau map with switchable layers
- One shared Leaflet map (MapHost) with the traffic, watercraft and
  vehicle maps turned into layer components that attach to it and clean
  up on unmount; each layer adds its own data credit
- Data loading and per-dataset state moved into hooks used by both the
  single pages and the combined page
- /karte/thurgau: layer panel with on/off switch, controls and legend per
  dataset, shared year controls for the yearly layers, traffic day/time
  controls, layers and year in the URL
- Side panel shows the selected municipality, harbour or station, or an
  overview of all active layers; the municipality panel lists the
  counting stations and harbours in that municipality
- Start page shows only the combined map; single maps are linked from
  the layer cards
- Docs: combined map in docs/datasets.md and CLAUDE.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 20:04:50 +01:00
6a6b3a88c5 Add dataset docs, source credits and run script (#4)
- docs/datasets.md: overview of all sources with Mermaid diagrams, plus
  one page per dataset in docs/datasets/ (source, licence, fetch,
  refresh, cache, flowchart)
- CLAUDE.md: mandatory rule to keep the dataset docs up to date
- Map footers credit title, publisher and licence link of every source
  as required by CC BY 4.0, plus swisstopo and the processing applied
- run.ps1 builds the client and starts the server

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claudio Schaad <c.schaad@pog.ch>
Co-committed-by: Claudio Schaad <c.schaad@pog.ch>
2026-11-09 18:17:33 +00:00