-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to newest HAFAS format (hrdf 5.4) (#232)
* support for commented lines * support multiple operator codes * new length of Fahrtnummer * new filename for BFKOORD * additional updates in the format for FPLAN * updates in the hrdf format for BFKOORD * ignore comments in BITFELD file * fix substring length * update test files to match new format * fix git pull issue
- Loading branch information
1 parent
a7b68d3
commit 44a2bb1
Showing
17 changed files
with
118 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
* Kommentarzeile | ||
00075 K "BRB" L "BRB" V "Brienz Rothorn Bahn AG" | ||
00075 : 000104 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
* Kommentarzeile | ||
8508350 8.0380890 46.7552140 566 % Brienz BRB | ||
8508351 8.0198450 46.7723730 1346 % Planalp | ||
8508352 8.0384470 46.7873990 2252 % Brienzer Rothorn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
* Kommentarzeile | ||
003499 F00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
Extract of http://www.fahrplanfelder.ch/de/fahrplandaten.html => testdaten.zip (accessed 02.11.2016), which is publicly available. | ||
Note 2024: test files are no longer available in the link above and the HAFAS-Format has changed since. The test files have been manually edited to reflect the changes. | ||
|
||
Extracted the files | ||
- BETRIEB_DE | ||
- BFKOORD_GEO | ||
- BFKOORD_WGS | ||
- BITFELD | ||
- FPLAN | ||
|
||
Modifications: | ||
- FPLAN is reduced to the first two public transport lines (Brienz BRB to Rothorn via Planalp and back). | ||
- BETRIEB_DE and BFKOORD_GEO are reduced to only the values required by the reduced FPLAN. | ||
- BETRIEB_DE and BFKOORD_WGS are reduced to only the values required by the reduced FPLAN. | ||
- BITFELD is also reduced to the line required by the reduced FPLAN, but additionally the BITFELD-Stream of this line was changed and simplified for testing purposes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
* Kommentarzeile | ||
00343 K "RhB" L "RhB" V "Rhätische Bahn" | ||
00343 : 000072 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
* Kommentarzeile | ||
8509002 9.5540280 46.9674390 523 % Landquart | ||
8509056 9.5608660 46.9571990 523 % Landquart Ried | ||
8509055 9.5647540 46.9498290 523 % Igis | ||
8509054 9.5595890 46.9348430 531 % Zizers | ||
8509053 9.5591730 46.9189870 537 % Untervaz-Trimmis | ||
8509051 9.5331220 46.8769840 562 % Haldenstein | ||
8509006 9.5314450 46.8618980 577 % Chur Wiesental | ||
8509000 9.5289250 46.8530800 585 % Chur | ||
8509183 9.4125510 46.8236640 604 % Reichenau-Tamins | ||
8509167 9.3595210 46.8165780 609 % Trin | ||
8509168 9.3102990 46.8073800 635 % Versam-Safien | ||
8509169 9.2754590 46.7917940 669 % Valendas-Sagogn | ||
8509170 9.2330800 46.7784940 655 % Castrisch | ||
8509171 9.2074370 46.7753590 698 % Ilanz | ||
8509173 9.1456140 46.7746980 733 % Rueun | ||
8509174 9.1201520 46.7695600 744 % Waltensburg/Vuorz | ||
8509175 9.0624300 46.7547680 788 % Tavanasa-Breil/Brigels | ||
8509176 8.9904440 46.7425430 852 % Trun | ||
8509177 8.9574960 46.7325770 928 % Rabius-Surrein | ||
8509178 8.9313260 46.7240780 982 % Sumvitg-Cumpadials | ||
8509179 8.8550210 46.7049790 1130 % Disentis/Mustér |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters