Types in a GTFS feed.
- data LocationType
- = LocStop
- | LocStation
- data RouteType
- data DirectionID
- = DirectionA
- | DirectionB
- data OnOffType
- data ServiceFlag
- = NoService
- | HasService
- data ExceptionType
- data PaymentMethod
- data TransferType
- data Agency = Agency {}
- data Stop = Stop {}
- data Route = Route {}
- data Trip = Trip {}
- data StopTime = StopTime {}
- data Calendar = Calendar {}
- data CalendarDate = CalendarDate {}
- data FareAttribute = FareAttribute {}
- data FareRule = FareRule {}
- data Shape = Shape {}
- data Frequency = Frequency {}
- data Transfer = Transfer {}
- data Feed = Feed {
- f_agency :: [Agency]
- f_stops :: [Stop]
- f_routes :: [Route]
- f_trips :: [Trip]
- f_stop_times :: [StopTime]
- f_calendar :: [Calendar]
- f_calendar_dates :: [CalendarDate]
- f_fare_attributes :: [FareAttribute]
- f_fare_rules :: [FareRule]
- f_shapes :: [Shape]
- f_frequencies :: [Frequency]
- f_transfers :: [Transfer]
- data Date = Date Int Int Int
- data Time = Time Int Int Int
- type AgencyID = String
- type BlockID = String
- type FareID = String
- type RouteID = String
- type ServiceID = String
- type ShapeID = String
- type StopID = String
- type TripID = String
- type ZoneID = String
- type URL = String
- type Phone = String
- type Timezone = String
- type Language = String
- type Currency = String
- type Color = String
- type Sequence = Int
- type Seconds = Int
- type Distance = Double
- type Price = Double
- type LatLon = Double
- type TransferLimit = Maybe Int
Enums
data LocationType Source
data DirectionID Source
data ServiceFlag Source
data ExceptionType Source
data PaymentMethod Source
data TransferType Source
Row types
Stop | |
|
Calendar | |
|
data CalendarDate Source
Frequency | |
|
The feed itself
Feed | |
|
Date and time
Hour, minute, second.
Hours over 23 are legal, representing the next day relative to the start of a trip.
Type synonyms
type TransferLimit = Maybe IntSource