-
Notifications
You must be signed in to change notification settings - Fork 31
Source for GTFS values
Felix edited this page Dec 24, 2017
·
13 revisions
This wiki page doesn't reflect the status of the current master
; it assumes PRs #99 and #114 have been accepted
All data can be manipulated in individual creators for each region or city. However this page is to show the standard value generation and where it maps to. The coordinates are omitted in this list, because they are passed through from OpenStreetMap.
GTFS | 1. choice: OpenStreetMap | Alternative: Standard osm2gtfs | Override |
---|---|---|---|
stop_id | ref:gtfs , ref |
{node |way |relation }/ {osm_id } |
stops_creator: _define_stop_id
|
stop_code | - | - | stops_creator: add_stops_to_feed
|
stop_name | name |
config-file: name_without , and optionally guessed the name from geo-query |
stops_creator: _define_stop_name
|
stop_desc | - | - | stops_creator: add_stops_to_feed
|
stop_url | - | - | stops_creator: add_stops_to_feed
|
zone_id | - | - | stops_creator: add_stops_to_feed
|
location_type |
public-transport = platform or stop_area
|
- | stops_creator: add_stops_to_feed
|
parent_station | Parent stop_area relation |
- | stops_creator: add_stops_to_feed
|
stop_timezone | - | - | stops_creator: add_stops_to_feed
|
wheelchair_boarding | - | - | stops_creator: add_stops_to_feed
|
GTFS | 1. choice: OpenStreetMap | Alternative: Standard osm2gtfs | Override |
---|---|---|---|
route_id | ref:gtfs , ref |
relation/ {osm_id } |
routes_creator: _define_routes_id
|
agency_id | - | config file: agency_id
|
routes_creator: add_routes_to_feed
|
route_short_name | ref |
- | routes_creator: _define_route_short_name
|
route_long_name | name |
- | routes_creator: _define_route_long_name
|
route_desc | - | - | routes_creator: _define_route_description
|
route_type |
route_master , route
|
Falls back to "Bus" | routes_creator: _define_route_type
|
route_url | - | - | routes_creator: _define_route_url
|
route_color | colour |
Falls back to "#000000" | routes_creator: _define_route_color
|
route_text_color | ref:colour_tx |
Auto generates a high contrast color to route_color
|
routes_creator: _define_route_text_color
|
route_sort_order | - | - | routes_creator: add_routes_to_feed
|
GTFS | 1. choice | Alternative | Override |
---|---|---|---|
route_id | osm2gtfs: route.route_id
|
- | trips_creator: add_trips_to_feed
|
service_id | Schedule source | - | trips_creator: _create_gtfs_service_period
|
trip_id | Autogenerated | - | trips_creator: add_trips_to_feed
|
trip_headsign | OSM: to
|
- | trips_creator: add_trips_to_feed
|
trip_short_name | - | - | trips_creator: add_trips_to_feed
|
direction_id | - | - | trips_creator: add_trips_to_feed
|
block_id | - | - | trips_creator: add_trips_to_feed
|
shape_id | osm2gtfs: route.shape_id
|
- | trips_creator: add_trips_to_feed
|
wheelchair_accessible | - | - | trips_creator: add_trips_to_feed
|
bikes_allowed | - | - | trips_creator: add_trips_to_feed
|
This information is not pulled from OpenStreetMap and the primary source is the configuration file.
GTFS | 1. choice: Config file | Alternative: Standard osm2gtfs | Override |
---|---|---|---|
agency_id |
agency :agency_id
|
- | agency_creator: add_agency_to_feed
|
agency_name |
agency :agency_name
|
- | agency_creator: add_agency_to_feed
|
agency_url |
agency : agency_url
|
- | agency_creator: add_agency_to_feed
|
agency_timezone |
agency :agency_timezone
|
- | agency_creator: add_agency_to_feed
|
agency_lang |
agency :agency_lang
|
- | agency_creator: add_agency_to_feed
|
agency_phone |
agency :agency_phone
|
- | agency_creator: add_agency_to_feed
|
agency_fare_url |
agency :agency_fare_url
|
- | agency_creator: add_agency_to_feed
|
agency_email |
agency :agency_email
|
- | agency_creator: add_agency_to_feed
|
feed_publisher_name |
feed_info :publisher_name
|
- | feed_info_creator: add_feed_info_to_feed
|
feed_publisher_url |
feed_info :publisher_url
|
- | feed_info_creator: add_feed_info_to_feed
|
feed_lang |
feed_info :agency_id
|
- | feed_info_creator: add_feed_info_to_feed
|
feed_start_date |
feed_info :start_date
|
Auto generates first day of current month | feed_info_creator: add_feed_info_to_feed
|
feed_end_date |
feed_info :end_date
|
Auto generates one year from start_date | feed_info_creator: add_feed_info_to_feed
|
feed_version |
feed_info :version
|
- | feed_info_creator: add_feed_info_to_feed
|