Show / Hide Table of Contents

Enum DirectionType

Indicates the direction of travel for a trip.

Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public enum DirectionType
Remarks

For example, you could use the trip_headsign and direction_id fields together to assign a name to travel in each direction for a set of trips. A trips.txt file could contain these rows for use in time tables:

trip_id,...,trip_headsign,direction_id 1234,...,to Airport,0 1505,...,to Downtown,1

OneDirection

Travel in one direction (e.g. outbound travel).

OppositeDirection

Travel in the opposite direction (e.g. inbound travel).

Back to top Built by Itinero, MIT licensed.