feat: Gezeiten über BSH-OGC-API mit Stations-Suche
Amtliche BSH-Wasserstandsvorhersage ersetzt Open-Meteo als Primärquelle; nächster Pegel per Haversine, Open-Meteo nur außerhalb 75 km Reichweite. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -10,17 +10,20 @@ export interface TideExtreme {
|
||||
isHigh: boolean
|
||||
}
|
||||
|
||||
export type TideLocationSource = 'coordinates' | 'geocoded' | 'bsh_station'
|
||||
|
||||
export interface TideLookupResult {
|
||||
location: {
|
||||
name?: string
|
||||
lat: number
|
||||
lon: number
|
||||
source: 'coordinates' | 'geocoded'
|
||||
source: TideLocationSource
|
||||
stationId?: string
|
||||
}
|
||||
tides: {
|
||||
data: {
|
||||
timezone: string
|
||||
datum: 'MSL'
|
||||
datum: 'MSL' | 'gauge'
|
||||
source: string
|
||||
extrema: TideExtreme[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user