OpenDataVisualizer/Schaad.OpenData.Tests/VehicleTestData.cs
Claudio Schaad 688775e742 Add Thurgau vehicle stock map (#3)
Choropleth of the 80 Thurgau municipalities from the road vehicle stock dataset (djs-stv-17), with population from sk-stat-56 and outlines from swisstopo. Also fixes the broken ENV line in the Dockerfile.

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-06 21:43:23 +00:00

19 lines
604 B
C#

using Schaad.OpenData.Vehicles.Models;
namespace Schaad.OpenData.Tests;
internal static class VehicleTestData
{
public static StockEntry Entry(
int year = 2024,
string id = "4566",
string municipality = "Frauenfeld",
string group = "Personenwagen",
string type = "Personenwagen",
string brand = "VW",
int count = 10) =>
new(year, id, municipality, "Frauenfeld", group, type, brand, count);
public static MunicipalityOutline Outline(string id) =>
new(id, [[[[8.9, 47.55], [8.91, 47.55], [8.91, 47.56], [8.9, 47.55]]]]);
}