Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Libraries
KPublicTransport
Commits
5153aa00
Commit
5153aa00
authored
Jun 17, 2021
by
Volker Krause
Browse files
Add VRT backend configuration
parent
5efc8d6e
Pipeline
#66333
passed with stage
in 25 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/lib/networks/de_rp_vrt.json
0 → 100644
View file @
5153aa00
{
"KPlugin"
:
{
"Description"
:
"Local transport in and around Trier, Germany."
,
"Name"
:
"Verkehrsverbund Region Trier (VRT)"
},
"coverage"
:
{
"realtimeCoverage"
:
{
"area"
:
{
"coordinates"
:
[
[
[
6.0196
,
50.2981
],
[
6.4207
,
49.2901
],
[
8.5435
,
48.8369
],
[
8.3899
,
51.1577
],
[
6.0196
,
50.2981
]
]
],
"type"
:
"Polygon"
},
"region"
:
[
"DE-RP"
]
}
},
"options"
:
{
"endpoint"
:
"https://www.vrt-info.de/fahrplanauskunft/"
,
"supportedOutputFormats"
:
[
"XML"
,
"JSON"
],
"xmlOutputFormat"
:
"full"
},
"supportedLanguages"
:
[
"de"
],
"timezone"
:
"Europe/Berlin"
,
"type"
:
{
"efa"
:
true
}
}
src/lib/networks/networks.qrc
View file @
5153aa00
...
...
@@ -69,6 +69,7 @@
<file>de_nw_zks.json</file>
<file>de_rp_rolph.json</file>
<file>de_rp_vrn.json</file>
<file>de_rp_vrt.json</file>
<file>de_sh_sh.json</file>
<file>de_sl_saarvv.json</file>
<file>de_sn_vvo.json</file>
...
...
tests/querytest.cpp
View file @
5153aa00
...
...
@@ -125,6 +125,7 @@ private Q_SLOTS:
QTest
::
newRow
(
"de_nw_zks"
)
<<
"de_nw_zks"
<<
loc
(
"Düsseldorf Hbf"
,
51.21991
,
6.79419
)
<<
loc
(
"Essen Hbf"
,
51.45127
,
7.01388
);
QTest
::
newRow
(
"de_rp_rolph"
)
<<
"de_rp_rolph"
<<
loc
(
"Mainz Hbf"
,
50.00113
,
8.25865
)
<<
loc
(
"Kaiserslautern Hauptbahnhof"
,
49.43607
,
7.76849
);
QTest
::
newRow
(
"de_rp_vrn"
)
<<
"de_rp_vrn"
<<
loc
(
"Kaiserslautern Hauptbahnhof"
,
49.43607
,
7.76849
)
<<
loc
(
"Mannheim Hauptbahnhof"
,
49.47930
,
8.46947
);
QTest
::
newRow
(
"de_rp_vrt"
)
<<
"de_rp_vrt"
<<
loc
(
"Trier Hauptbahnhof"
,
49.75687
,
6.65245
)
<<
loc
(
"Wittlich Hauptbahnhof"
,
49.97306
,
6.94357
);
QTest
::
newRow
(
"de_sh_sh"
)
<<
"de_sh_sh"
<<
loc
(
"Hamburg Hauptbahnhof"
,
53.55299
,
10.00702
)
<<
loc
(
"Hamburg-Altona"
,
53.55284
,
9.93569
);
QTest
::
newRow
(
"de_sl_saarvv"
)
<<
"de_sl_saarvv"
<<
loc
(
"Saarbrücken Hauptbahnhof"
,
49.24116
,
6.99110
)
<<
loc
(
"Saarlouis Hbf"
,
49.32766
,
6.75103
);
QTest
::
newRow
(
"de_sn_vvo"
)
<<
"de_sn_vvo"
<<
loc
(
"Dresden Hbf"
,
51.04025
,
13.73160
)
<<
loc
(
"Chemnitz Hauptbahnhof"
,
50.83981
,
12.93069
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment