Skip to content
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

make trips.direction_id an enum #43

Open
derhuerst opened this issue Jul 6, 2022 · 0 comments
Open

make trips.direction_id an enum #43

derhuerst opened this issue Jul 6, 2022 · 0 comments
Assignees
Labels
breaking breaking change

Comments

@derhuerst
Copy link
Member

Currently, trips.direction_id is an integer, which is a bit confusing.

From the trips.txt reference:

direction_id
Enum
Optional
Indicates the direction of travel for a trip. This field should not be used in routing; it provides a way to separate trips by direction when publishing time tables. Valid options are:
0 - Travel in one direction (e.g. outbound travel).
1 - Travel in the opposite direction (e.g. inbound travel).

@derhuerst derhuerst added the breaking breaking change label Jul 6, 2022
@derhuerst derhuerst self-assigned this Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking breaking change
Development

No branches or pull requests

1 participant