-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update hafasreader.py #1
base: master
Are you sure you want to change the base?
Conversation
Add some documentation about the hdrf
In general: please indent the # (hash) for the comments. I don't know if its a good approach to polish this source at this moment. I am considering a rewrite with generalises the parsing based on the documentation. |
I try to give so more insights to the documentation. |
Guessing what the meaning could be was not the issue ;) But I am under the impression that the Haltestellennummer is actually not bahnhof here, but a mask. |
yes, it's a mask. the haltestellennummer starts with the UIC - Code. If you have a Haltestellennummer which is not in the zeitvs, you have to decrease the number of the haltestellennummer since you have a match in the list |
Could you maybe tell me if there are any other situations where this 'mask' situation applies? I would like to add the timezone to the GTFS stops.txt. |
I think for zeitvs there is no second mask 1100000 0000000 means, that all Station starting with 11 uses the same timezone as 00000000 |
I was more thinking in terms of the format itself, situation where a join on haltestellennummer = bahnhof doesn't directly apply but the mask does |
I didn't understand the question. Are you looking for situations where this masking works in other files? |
Exactly. |
no, the masking is just in zeitvs. sometimes @@@@@@ is used indicating, that all stations have the same properties. |
tab --> ....
Add some documentation about the hdrf