Commit 21f18776 authored by Volker Krause's avatar Volker Krause
Browse files

Add VSN backend configuration from Transport API repository

parent fae064e6
Pipeline #61168 passed with stage
in 11 seconds
{
"KPlugin": {
"Name": "Verkehrsverbund Süd-Niedersachsen (VSN)",
"Description": "Public transport in southern Lower Saxony, Germany."
},
"attribution": {
"homepage": "https://vsninfo.de/",
"isProprietary": true,
"name": "Verkehrsverbund Süd-Niedersachsen GmbH"
},
"coverage": {
"anyCoverage": {
"area": {
"coordinates": [
[
[
10.0527784,
50.2715847
],
[
10.3388413,
50.7113531
],
[
10.1414522,
50.7597134
],
[
10.4657031,
51.2451686
],
[
10.3413216,
51.3140011
],
[
10.8409881,
51.4409768
],
[
10.7655998,
51.893307
],
[
11.2835431,
52.0609401
],
[
10.9995318,
52.6874633
],
[
11.3728836,
52.723217
],
[
11.7613264,
52.9690497
],
[
11.7518115,
53.1411564
],
[
11.0426205,
53.4870466
],
[
10.4380801,
53.573541
],
[
10.2540569,
53.9334857
],
[
9.7323597,
53.7375741
],
[
9.3647325,
54.0110308
],
[
8.5116213,
54.1901841
],
[
6.7347979,
54.0284686
],
[
6.1819782,
53.8280093
],
[
6.1709161,
53.6347698
],
[
7.0047134,
53.2193443
],
[
6.9152685,
52.7997899
],
[
6.642255,
52.811087
],
[
6.475638,
52.3592026
],
[
6.8722096,
52.307532
],
[
6.9552357,
52.044616
],
[
7.6698133,
52.2881698
],
[
7.786613,
52.2446654
],
[
7.8449631,
51.8540769
],
[
8.2120861,
51.9167564
],
[
8.2136902,
51.8673592
],
[
8.2432149,
51.8583193
],
[
8.1934521,
51.8408102
],
[
8.3912012,
51.3689878
],
[
8.3901653,
51.368379
],
[
8.3922716,
51.1979919
],
[
8.4598673,
51.160478
],
[
8.2876684,
51.0311733
],
[
8.3301267,
50.8454108
],
[
9.4180421,
50.6309059
],
[
9.3587398,
50.2146704
],
[
10.0527784,
50.2715847
]
]
],
"type": "Polygon"
},
"region": [
"DE-HB",
"DE-HE",
"DE-HH",
"DE-NI",
"DE-NW"
]
},
"realtimeCoverage": {
"area": {
"coordinates": [
[
[
[
8.334987,
52.488987
],
[
7.775013,
52.488987
],
[
7.775013,
52.066013
],
[
8.334987,
52.066013
],
[
8.334987,
52.488987
]
]
],
[
[
[
9.1196076,
52.9039066
],
[
9.1533103,
53.1469138
],
[
8.4032175,
53.4095922
],
[
8.2814297,
53.1855903
],
[
8.6798313,
52.8769471
],
[
9.1196076,
52.9039066
]
]
],
[
[
[
8.8998848,
53.7787842
],
[
8.3655172,
53.7446756
],
[
8.298992,
53.5559692
],
[
8.660623,
53.2247039
],
[
8.8998848,
53.7787842
]
]
],
[
[
[
9.8838009,
51.2763628
],
[
10.8286332,
51.5160328
],
[
10.8386532,
51.7304483
],
[
9.5231103,
52.1984998
],
[
9.109232,
52.0023575
],
[
9.2628637,
51.6710174
],
[
8.9217751,
51.3015863
],
[
8.97521,
51.1396601
],
[
9.6644848,
51.0086847
],
[
9.8838009,
51.2763628
]
]
],
[
[
[
10.5615649,
53.292914
],
[
10.242833,
53.9386566
],
[
9.4274284,
53.5975366
],
[
9.8599323,
53.2557188
],
[
10.5615649,
53.292914
]
]
],
[
[
[
10.8426282,
52.5084566
],
[
10.2870161,
52.4541301
],
[
10.2374808,
52.251751
],
[
10.6611629,
51.9756436
],
[
10.8426282,
52.5084566
]
]
]
],
"type": "MultiPolygon"
},
"region": [
"DE-HB",
"DE-HE",
"DE-HH",
"DE-NI"
]
}
},
"options": {
"auth": {
"aid": "Mpf5UPC0DmzV8jkg",
"type": "AID"
},
"micMacSalt": "535033316D4275665379434C6D4E7870",
"client": {
"id": "VSN",
"type": "IPA"
},
"endpoint": "https://fahrplaner.vsninfo.de/hafas/mgate.exe",
"products": [
{
"bitmasks": [
1
],
"id": "nationalExpress",
"mode": "LongDistanceTrain",
"name": "InterCityExpress"
},
{
"bitmasks": [
2
],
"id": "national",
"mode": "LongDistanceTrain",
"name": "Fernzug"
},
{
"bitmasks": [
4
],
"id": "regionalExpress",
"mode": "LocalTrain",
"name": "RegionalExpress & InterRegio"
},
{
"bitmasks": [
8
],
"id": "regional",
"mode": "LocalTrain",
"name": "Nahverhehr"
},
{
"bitmasks": [
16
],
"id": "suburban",
"mode": "RapidTransit",
"name": "S-Bahn"
},
{
"bitmasks": [
32
],
"id": "bus",
"mode": "Bus",
"name": "Bus"
},
{
"bitmasks": [
64
],
"id": "ferry",
"mode": "Ferry",
"name": "Schiff"
},
{
"bitmasks": [
128
],
"id": "subway",
"mode": "Metro",
"name": "U-Bahn"
},
{
"bitmasks": [
256
],
"id": "tram",
"mode": "Tramway",
"name": "Straßen-/Stadtbahn"
},
{
"bitmasks": [
512
],
"id": "anrufSammelTaxi",
"mode": "Taxi",
"name": "Anruf-Sammel-Taxi"
}
],
"ver": "1.27"
},
"supportedLanguages": [
"de"
],
"timezone": "Europe/Berlin",
"type": {
"hafasMgate": true
}
}
......@@ -61,6 +61,7 @@
<file>de_ni_efa.json</file>
<file>de_ni_gvh.json</file>
<file>de_ni_vbn.json</file>
<file>de_ni_vsn.json</file>
<file>de_nw_avv.json</file>
<file>de_nw_muenster.json</file>
<file>de_nw_vrr.json</file>
......
......@@ -117,6 +117,7 @@ private Q_SLOTS:
QTest::newRow("de_ni_efa") << "de_ni_efa" << loc("Hannover Hbf", 52.37715, 9.74171) << loc("Bremen Hbf", 53.08322, 8.81388);
QTest::newRow("de_ni_gvh") << "de_ni_gvh" << loc("Hannover Hbf", 52.37715, 9.74171) << loc("Bremen Hbf", 53.08322, 8.81388);
QTest::newRow("de_ni_vbn") << "de_ni_vbn" << loc("Hannover Hbf", 52.37715, 9.74171) << loc("Bremen Hbf", 53.08322, 8.81388);
QTest::newRow("de_ni_vsn") << "de_ni_vsn" << loc("Osnabrück Hbf",52.27280, 8.06136) << loc("Göttingen", 51.53676, 9.92626);
QTest::newRow("de_nw_avv") << "de_nw_avv" << loc("Aachen Hbf", 50.76784, 6.09130) << loc("Aachen West", 50.78025, 6.07124);
// TODO de_nw_muenster
QTest::newRow("de_nw_vrr") << "de_nw_vrr" << loc("Düsseldorf Hbf", 51.21991, 6.79419) << loc("Essen Hbf", 51.45127, 7.01388);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment