Data.GTFS.Types
Description
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
Constructors
LocStop | |
LocStation |
data DirectionID Source
Constructors
DirectionA | |
DirectionB |
Constructors
RegularlyScheduled | |
NotAvailable | |
MustPhone | |
MustAskDriver |
data ServiceFlag Source
Constructors
NoService | |
HasService |
data ExceptionType Source
Constructors
NoException | |
ServiceAdded | |
ServiceRemoved |
data PaymentMethod Source
Constructors
PayOnBoard | |
PayBeforeBoarding |
data TransferType Source
Constructors
RecommendedTransfer | |
TimedTransfer | |
MinimumTransfer | |
NoTransfer |
Row types
Constructors
Agency | |
Fields |
Constructors
Stop | |
Fields
|
Constructors
Route | |
Fields |
Constructors
Trip | |
Fields |
Constructors
StopTime | |
Fields |
Constructors
Calendar | |
Fields
|
Constructors
FareRule | |
Fields |
Constructors
Shape | |
Fields |
Constructors
Frequency | |
Fields
|
Constructors
Transfer | |
Fields |
The feed itself
Constructors
Feed | |
Fields
|
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