OpenDataVisualizer/Schaad.OpenData.Watercraft/Source/ThurgauVesselRecord.cs
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

42 lines
1.1 KiB
C#

using System.Text.Json.Serialization;
namespace Schaad.OpenData.Watercraft.Source;
public sealed class ThurgauVesselRecord
{
[JsonPropertyName("standort")]
public string? Location { get; init; }
[JsonPropertyName("schiffsart")]
public string? Type { get; init; }
[JsonPropertyName("besondere_verwendung")]
public string? SpecialUse { get; init; }
[JsonPropertyName("laenge")]
public double? LengthCm { get; init; }
[JsonPropertyName("breite")]
public double? WidthCm { get; init; }
[JsonPropertyName("segelflaeche")]
public double? SailAreaM2 { get; init; }
[JsonPropertyName("antrieb")]
public string? Propulsion { get; init; }
[JsonPropertyName("anzahl_hauptmotoren")]
public double? EngineCount { get; init; }
[JsonPropertyName("gesamtleistung_hauptmotoren")]
public double? PowerKw { get; init; }
[JsonPropertyName("treibstoff")]
public string? Fuel { get; init; }
[JsonPropertyName("schadstoffwerte_abgas_gruppe")]
public string? EmissionGroup { get; init; }
[JsonPropertyName("stand")]
public string? ReferenceDate { get; init; }
}