make trips.direction_id an enum
derhuerst opened this issue · comments
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).