Skip to content

make trips.direction_id an enum #43

@derhuerst

Description

@derhuerst

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).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions