UNPKG

gtfs-stream

Version:

Streaming GTFS and GTFS-RT parser for node

144 lines (143 loc) 3.68 kB
"use strict"; exports.__esModule = true; exports.default = void 0; var _default = { // Core types - from: https://developers.google.com/transit/gtfs/reference/#routestxt 0: 'Light rail', 1: 'Subway', 3: 'Bus', 4: 'Ferry', 5: 'Cable tram', 6: 'Aerial lift', 7: 'Funicular', // Extended types - from: https://developers.google.com/transit/gtfs/reference/extended-route-types 100: 'Railway', 101: 'High Speed Rail', 102: 'Long Distance Trains', 103: 'Inter Regional Rail', 104: 'Car Transport Rail', 105: 'Sleeper Rail', 106: 'Regional Rail', 107: 'Tourist Railway', 108: 'Rail Shuttle (Within Complex)', 109: 'Suburban Railway', 110: 'Replacement Rail', 111: 'Special Rail', 112: 'Lorry Transport Rail', 113: 'All Rails', 114: 'Cross-Country Rail', 115: 'Vehicle Transport Rail', 116: 'Rack and Pinion Railway', 117: 'Additional Rail', 200: 'Coach', 201: 'International Coach', 202: 'National Coach', 203: 'Shuttle Coach', 204: 'Regional Coach', 205: 'Special Coach', 206: 'Sightseeing Coach', 207: 'Tourist Coach', 208: 'Commuter Coach', 209: 'All Coachs', 300: 'Suburban Railway', 400: 'Urban Railway', 401: 'Metro', 402: 'Underground', 403: 'Urban Railway', 404: 'All Urban Railways', 405: 'Monorail', 500: 'Metro', 600: 'Underground', 700: 'Bus', 701: 'Regional Bus', 702: 'Express Bus', 703: 'Stopping Bus', 704: 'Local Bus', 705: 'Night Bus', 706: 'Post Bus', 707: 'Special Needs Bus', 708: 'Mobility Bus', 709: 'Mobility Bus for Registered Disabled', 710: 'Sightseeing Bus', 711: 'Shuttle Bus', 712: 'School Bus', 713: 'School and Public Bus', 714: 'Rail Replacement Bus', 715: 'Demand and Response Bus', 716: 'All Buss', 717: 'Share Taxi', 800: 'Trolleybus', 900: 'Tram', 901: 'City Tram', 902: 'Local Tram', 903: 'Regional Tram', 904: 'Sightseeing Tram', 905: 'Shuttle Tram', 906: 'All Trams', 907: 'Cable Tram', 1000: 'Water Transport', 1001: 'International Car Ferry', 1002: 'National Car Ferry', 1003: 'Regional Car Ferry', 1004: 'Local Car Ferry', 1005: 'International Passenger Ferry', 1006: 'National Passenger Ferry', 1007: 'Regional Passenger Ferry', 1008: 'Local Passenger Ferry', 1009: 'Post Boat', 1010: 'Train Ferry', 1011: 'Road-Link Ferry', 1012: 'Airport-Link Ferry', 1013: 'Car High-Speed Ferry', 1014: 'Passenger High-Speed Ferry', 1015: 'Sightseeing Boat', 1016: 'School Boat', 1017: 'Cable-Drawn Boat', 1018: 'River Bus', 1019: 'Scheduled Ferry', 1020: 'Shuttle Ferry', 1021: 'All Water Transports', 1100: 'Air', 1101: 'International Air', 1102: 'Domestic Air', 1103: 'Intercontinental Air', 1104: 'Domestic Scheduled Air', 1105: 'Shuttle Air', 1106: 'Intercontinental Charter Air', 1107: 'International Charter Air', 1108: 'Round-Trip Charter Air', 1109: 'Sightseeing Air', 1110: 'Helicopter Air', 1111: 'Domestic Charter Air', 1112: 'Schengen-Area Air', 1113: 'Airship', 1114: 'Air', 1200: 'Ferry', 1300: 'Aerial Lift', 1301: 'Telecabin', 1302: 'Aerial Tramway', 1303: 'Elevator', 1304: 'Chair Lift', 1305: 'Drag Lift', 1306: 'Small Telecabin', 1307: 'All Telecabins', 1400: 'Funicular', 1401: 'Funicular', 1402: 'All Funicular', 1500: 'Taxi', 1501: 'Communal Taxi', 1502: 'Water Taxi', 1503: 'Rail Taxi', 1504: 'Bike Taxi', 1505: 'Licensed Taxi', 1506: 'Private Hire Vehicle', 1507: 'Taxi', 1600: 'Self Drive', 1601: 'Hire Car', 1602: 'Hire Van', 1603: 'Hire Motorbike', 1604: 'Hire Cycle', 1700: 'Miscellaneous' }; exports.default = _default; module.exports = exports.default;