Commit 6b88f8ff authored by Volker Krause's avatar Volker Krause
Browse files

Import INVG and RSAG from Transport API Repository

Now that we can compute the simplified coverage areas automatically,
importing new backend configurations requires only minimal manual work.
parent 9ab079fc
{
"KPlugin": {
"Description": "Local transport in and around Ingolstadt, Germany.",
"Name": "Ingolstädter Verkehrsgesellschaft (INVG)"
},
"attribution": {
"homepage": "https://www.invg.de/",
"isProprietary": true,
"name": "Ingolstädter Verkehrsgesellschaft"
},
"coverage": {
"realtimeCoverage": {
"area": {
"coordinates": [
[
[
11.9050155,
48.9176147
],
[
11.5746749,
49.2298665
],
[
10.7019789,
48.9282884
],
[
11.1869497,
48.3285226
],
[
11.7334832,
48.3225877
],
[
11.9050155,
48.9176147
]
]
],
"type": "Polygon"
},
"region": [
"DE-BY"
]
}
},
"options": {
"auth": {
"aid": "GITvwi3BGOmTQ2a5",
"type": "AID"
},
"client": {
"id": "INVG",
"type": "IPH"
},
"endpoint": "https://fpa.invg.de/bin/mgate.exe",
"products": [
{
"bitmasks": [
1,
16
],
"id": "bus",
"mode": "Bus",
"name": "Bus"
},
{
"bitmasks": [
2
],
"id": "express-train",
"mode": "LongDistanceTrain",
"name": "High-speed train"
},
{
"bitmasks": [
4
],
"id": "regional-train",
"mode": "LocalTrain",
"name": "Regional train"
},
{
"bitmasks": [
8
],
"id": "local-train",
"mode": "LocalTrain",
"name": "Nahverkehrszug"
},
{
"bitmasks": [
32
],
"id": "ferry",
"mode": "Ferry",
"name": "Ferry"
},
{
"bitmasks": [
64
],
"id": "subway",
"mode": "Metro",
"name": "Subway"
},
{
"bitmasks": [
128
],
"id": "tram",
"mode": "Tramway",
"name": "Tram"
},
{
"bitmasks": [
256
],
"id": "on-demand",
"mode": "Taxi",
"name": "On-demand traffic"
}
],
"standardLocationIdentifierCountries": [ 80 ],
"standardLocationIdentifierType": "ibnr",
"ver": "1.16"
},
"supportedLanguages": [
"de",
"en",
"fr",
"it"
],
"timezone": "Europe/Berlin",
"type": {
"hafasMgate": true
}
}
{
"KPlugin": {
"Description": "Local transport in and around Rostock, Germany.",
"Name": "Rostocker Straßenbahn (RSAG)"
},
"attribution": {
"homepage": "https://www.rsag-online.de",
"isProprietary": true,
"name": "Rostocker Straßenbahn AG"
},
"coverage": {
"realtimeCoverage": {
"area": {
"coordinates": [
[
[
12.7664186,
53.5168281
],
[
13.0139552,
54.0758775
],
[
12.3019624,
54.4428524
],
[
11.3660187,
54.1662382
],
[
11.3390645,
53.9709243
],
[
12.2185017,
53.4175483
],
[
12.7664186,
53.5168281
]
]
],
"type": "Polygon"
},
"region": [
"DE-MV"
]
}
},
"options": {
"auth": {
"aid": "tF5JTs25rzUhGrrl",
"type": "AID"
},
"client": {
"id": "RSAG",
"type": "WEB"
},
"endpoint": "https://fahrplan.rsag-online.de/bin/mgate.exe",
"ext": "VBN.2",
"products": [
{
"bitmasks": [
1
],
"id": "ice",
"mode": "LongDistanceTrain",
"name": "InterCityExpress"
},
{
"bitmasks": [
2
],
"id": "ic-ec",
"mode": "LongDistanceTrain",
"name": "InterCity & EuroCity"
},
{
"bitmasks": [
4
],
"id": "long-distance-train",
"mode": "Train",
"name": "InterRegio/high-speed train"
},
{
"bitmasks": [
8
],
"id": "regional-train",
"mode": "LocalTrain",
"name": "regional train"
},
{
"bitmasks": [
16
],
"id": "s-bahn",
"mode": "RapidTransit",
"name": "S-Bahn"
},
{
"bitmasks": [
32
],
"id": "bus",
"mode": "Bus",
"name": "Bus"
},
{
"bitmasks": [
64
],
"id": "ferry",
"mode": "Ferry",
"name": "Schiff"
},
{
"bitmasks": [
128
],
"id": "u-bahn",
"mode": "Metro",
"name": "U-Bahn"
},
{
"bitmasks": [
256
],
"id": "tram",
"mode": "Tramway",
"name": "Tram"
},
{
"bitmasks": [
512
],
"id": "on-call",
"mode": "Taxi",
"name": "Taxi/on-call vehicle"
}
],
"standardLocationIdentifierCountries": [ 80 ],
"standardLocationIdentifierType": "ibnr",
"ver": "1.24"
},
"supportedLanguages": [
"de",
"en",
"fr"
],
"timezone": "Europe/Berlin",
"type": {
"hafasMgate": true
}
}
......@@ -50,11 +50,13 @@
<file>de_bw_ulm.json</file>
<file>de_bw_vvs.json</file>
<file>de_by_bayern.json</file>
<file>de_by_invg.json</file>
<file>de_by_mvv.json</file>
<file>de_by_vgn.json</file>
<file>de_he_nvv.json</file>
<file>de_he_rmv.json</file>
<file>de_hh_hvv.json</file>
<file>de_mv_rsag.json</file>
<file>de_mv_vmv.json</file>
<file>de_ni_efa.json</file>
<file>de_ni_gvh.json</file>
......
......@@ -106,11 +106,13 @@ private Q_SLOTS:
QTest::newRow("de_bw_ulm") << "de_bw_ulm" << loc("Ulm Hbf", 48.39946, 9.98302) << loc("Neu Ulm", 48.39330, 10.00520);
QTest::newRow("de_bw_vvs") << "de_bw_vvs" << loc("Stuttgart Hbf", 48.78539, 9.18345) << loc("Herrenberg", 48.59392, 8.86275);
QTest::newRow("de_by_bayern") << "de_by_bayern" << loc("München Hbf", 48.14046, 11.55819) << loc("Nürnberg Hbf", 49.44559, 11.08219);
QTest::newRow("de_by_invg") << "de_by_invg" << loc("Ingolstadt Hbf", 48.74436, 11.43746) << loc("Ingolstadt Nord", 48.77350, 11.43251);
QTest::newRow("de_by_mvv") << "de_by_mvv" << loc("München Hbf", 48.14046, 11.55819) << loc("Isartor", 48.13375, 11.58303);
QTest::newRow("de_by_vgn") << "de_by_vgn" << loc("Erlangen", 49.59591, 11.00220) << loc("Nürnberg Hbf", 49.44559, 11.08219);
QTest::newRow("de_he_nvv") << "de_he_nvv" << loc("Kassel Hbf", 51.31836, 9.48946) << loc("Kassel Wilhelmshöhe", 51.31137, 9.44827);
QTest::newRow("de_he_rmv") << "de_he_rmv" << loc("Frankfurt Hbf", 50.10675, 8.66281) << loc("Frankfurt Flughafen Regionalbf", 50.05129, 8.57170);
QTest::newRow("de_hh_hvv") << "de_hh_hvv" << loc("Hamburg Hauptbahnhof", 53.55299, 10.00702) << loc("Hamburg Altona", 53.55284, 9.93569);
QTest::newRow("de_mv_rsag") << "de_mv_rsag" << loc("Rostock Hauptbahnhof", 54.07814, 12.13206) << loc("Warnemünde Bahnhof", 54.17695, 12.09069);
QTest::newRow("de_mv_vmv") << "de_mv_vmv" << loc("Rostock Hauptbahnhof", 54.07814, 12.13206) << loc("Stralsund Hbf", 54.30766, 13.07931);
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);
......
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