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>
37 lines
1.6 KiB
C#
37 lines
1.6 KiB
C#
namespace Schaad.OpenData.Watercraft.Models;
|
|
|
|
public static class WatercraftLocations
|
|
{
|
|
private static readonly Dictionary<string, GeoPoint> Positions = new(StringComparer.OrdinalIgnoreCase)
|
|
{
|
|
["Altnau"] = new(47.62267, 9.27244),
|
|
["Arbon"] = new(47.51085, 9.43650),
|
|
["Berlingen"] = new(47.67412, 9.02568),
|
|
["Bottighofen"] = new(47.64241, 9.21595),
|
|
["Diessenhofen"] = new(47.69081, 8.74967),
|
|
["Egnach"] = new(47.54678, 9.38729),
|
|
["Ermatingen"] = new(47.67259, 9.07875),
|
|
["Eschenz"] = new(47.65308, 8.87093),
|
|
["Gottlieben"] = new(47.66538, 9.13405),
|
|
["Güttingen"] = new(47.61340, 9.29531),
|
|
["Horn"] = new(47.49765, 9.46293),
|
|
["Kesswil"] = new(47.59668, 9.32384),
|
|
["Kreuzlingen"] = new(47.65300, 9.18219),
|
|
["Landschlacht"] = new(47.62992, 9.25264),
|
|
["Mammern"] = new(47.64815, 8.91229),
|
|
["Mannenbach"] = new(47.67538, 9.05254),
|
|
["Münsterlingen"] = new(47.63420, 9.23615),
|
|
["Paradies"] = new(47.68606, 8.67424),
|
|
["Rheinklingen"] = new(47.67680, 8.80974),
|
|
["Romanshorn"] = new(47.56564, 9.38194),
|
|
["Salmsach"] = new(47.55440, 9.38216),
|
|
["Steckborn"] = new(47.66562, 8.97774),
|
|
["Tägerwilen"] = new(47.66407, 9.13854),
|
|
["Triboltingen"] = new(47.66570, 9.11262),
|
|
["Uttwil"] = new(47.58759, 9.34292),
|
|
["Wagenhausen"] = new(47.66247, 8.84938),
|
|
};
|
|
|
|
public static GeoPoint? Find(string location) =>
|
|
Positions.TryGetValue(location.Trim(), out var position) ? position : null;
|
|
}
|