OpenDataVisualizer/client/src/maps.ts
Claudio Schaad a082eafdad Add Thurgau watercraft map
New Schaad.OpenData.Watercraft library that discovers the yearly
"immatrikulierte Wasserfahrzeuge" datasets (2021–2025) on data.tg.ch,
caches them and aggregates boats per harbour location by type,
propulsion, fuel, emission group and use, with length/power bins.

API under /api/watercraft, new page /schifffahrt/thurgau with donut
markers per location, year playback, toggleable categories and a
location/canton panel. Swisstopo base layers moved to map/baseLayers.ts
for both maps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 21:49:32 +01:00

32 lines
1 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export interface MapEntry {
path: string;
title: string;
region: string;
description: string;
source: string;
tags: string[];
preview: string;
}
export const MAPS: MapEntry[] = [
{
path: '/verkehr/thurgau',
title: 'Strassenverkehr',
region: 'Kanton Thurgau',
description:
'Fahrzeuge fahren animiert über die Strassen der 64 Zählstellen – stündlich nach Fahrzeugklasse, mit Tagesverlauf und Auswertungen pro Zählstelle.',
source: 'Tiefbauamt Kanton Thurgau',
tags: ['Verkehr', 'Stundenwerte', 'Animation'],
preview: '/previews/traffic-thurgau.svg',
},
{
path: '/schifffahrt/thurgau',
title: 'Wasserfahrzeuge',
region: 'Kanton Thurgau',
description:
'Alle immatrikulierten Boote an Bodensee, Untersee und Rhein – pro Standort nach Schiffsart, Antrieb, Treibstoff oder Abgasnorm, mit Jahresvergleich seit 2021.',
source: 'Kantonspolizei Thurgau, Schifffahrtskontrolle',
tags: ['Schifffahrt', 'Jahresbestand', 'Standorte'],
preview: '/previews/watercraft-thurgau.svg',
},
];