Skip to content

Commit

Permalink
Merge pull request #58 from gtracy/gtfs-refresh
Browse files Browse the repository at this point in the history
Integrated June 11, 2023 Metro system updates.
  • Loading branch information
gtracy authored May 31, 2023
2 parents 00dab3f + 4822f2c commit b8a13f0
Show file tree
Hide file tree
Showing 17 changed files with 313,302 additions and 320,331 deletions.
4 changes: 2 additions & 2 deletions gtfs/agency.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
agency_id,checkin_duration,agency_name,agency_url,agency_timezone,agency_lang,agency_phone,agency_fare_url,agency_email,bike_policy_url
MMT,300,Metro Transit-City of Madison,http://www.mymetrobus.com/,America/Chicago,en,608-266-4466,http://www.cityofmadison.com/metro/fares/,[email protected],http://www.cityofmadison.com/metro/how-to-ride/bike-racks/
agency_id,agency_name,agency_url,agency_timezone,agency_lang,agency_phone,agency_fare_url,agency_email,bike_policy_url
MMT,Metro Transit-City of Madison,http://www.mymetrobus.com/,America/Chicago,en,608-266-4466,http://www.cityofmadison.com/metro/fares/,[email protected],http://www.cityofmadison.com/metro/how-to-ride/bike-racks/
49 changes: 22 additions & 27 deletions gtfs/calendar.txt
Original file line number Diff line number Diff line change
@@ -1,30 +1,4 @@
service_id,service_name,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date
103_D24,December 24,0,0,0,0,0,0,0,20221204,20230304
103_D24:W,Weekend Recess December 24,0,0,0,0,0,0,0,20221204,20230304
103_D31,December 31,0,0,0,0,0,0,0,20221204,20230304
103_HOL,Holiday,0,0,0,0,0,0,0,20221204,20230304
103_HOL:M,Modified Recess Weekday Holiday,0,0,0,0,0,0,0,20221204,20230304
103_HOL:W,Weekend Recess Holiday,0,0,0,0,0,0,0,20221204,20230304
103_MWK,Modified Saturday Weekday,0,0,0,0,0,0,0,20221204,20230304
103_MWK:M,Modified Recess Weekday,0,0,0,0,0,0,0,20221204,20230304
103_SAT,Saturday,0,0,0,0,0,1,0,20221204,20230304
103_SAT:L,Latenight Saturday,0,0,0,0,0,1,0,20221204,20230304
103_SAT:R,Recess Saturday,0,0,0,0,0,1,0,20221204,20230121
103_SAT:S,Standard Saturday,0,0,0,0,0,1,0,20221204,20230304
103_SUN,Sunday,0,0,0,0,0,0,1,20221204,20230304
103_SUN:L,Latenight Sunday,0,0,0,0,0,0,1,20221204,20230304
103_SUN:R,Recess Sunday,0,0,0,0,0,0,1,20221204,20230121
103_SUN:S,Standard Sunday,0,0,0,0,0,0,1,20221204,20230304
103_WKD,Weekday,1,1,1,1,1,0,0,20221204,20230304
103_WKD:L#6,Latenight Mon-Thu,1,1,1,1,0,0,0,20221204,20230304
103_WKD:L=6,Latenight Fri only,0,0,0,0,1,0,0,20221204,20230304
103_WKD:M,Modified Recess Weekday,0,0,0,0,0,0,0,20221204,20230304
103_WKD:R,Recess Weekday,1,1,1,1,1,0,0,20221204,20230121
103_WKD:S,Standard Weekday,1,1,1,1,1,0,0,20221204,20230304
103_WKD:S#6,Standard Mon-Thu,1,1,1,1,0,0,0,20221204,20230304
103_WKD:S=6,Standard Fri only,0,0,0,0,1,0,0,20221204,20230304
103_WKD:W,Weekend Recess Weekday,0,0,0,0,0,0,0,20221204,20230304
103_WKD:X,Extended Recess Weekday,1,1,1,1,1,0,0,20221204,20230121
104_D24,December 24,0,0,0,0,0,0,0,20230305,20230610
104_D24:W,Weekend Recess December 24,0,0,0,0,0,0,0,20230305,20230610
104_D31,December 31,0,0,0,0,0,0,0,20230305,20230610
Expand All @@ -50,4 +24,25 @@ service_id,service_name,monday,tuesday,wednesday,thursday,friday,saturday,sunday
104_WKD:S#6,Standard Mon-Thu,1,1,1,1,0,0,0,20230305,20230512
104_WKD:S=6,Standard Fri only,0,0,0,0,1,0,0,20230305,20230512
104_WKD:W,Weekend Recess Weekday,0,0,0,0,0,0,0,20230305,20230610
104_WKD:X,Extended Recess Weekday,1,1,1,1,1,0,0,20230513,20230610
104_WKD:X,Extended Recess Weekday,1,1,1,1,1,0,0,20230513,20230610
105_HSA,Holiday Saturday,0,0,0,0,0,0,0,20230611,20230819
105_HSA:M,Holiday Saturday Recess Weekday Modified,0,0,0,0,0,0,0,20230611,20230819
105_HSU,Holiday Sunday,0,0,0,0,0,0,0,20230611,20230819
105_HSU:M,Holiday Sunday Recess Weekday Modified,0,0,0,0,0,0,0,20230611,20230819
105_HSU:W,Holiday Sunday Recess Weekend,0,0,0,0,0,0,0,20230611,20230819
105_SAT,Saturday,0,0,0,0,0,1,0,20230611,20230819
105_SAT:L,Latenight Saturday,0,0,0,0,0,0,0,20230611,20230819
105_SAT:R,Recess Saturday,0,0,0,0,0,1,0,20230611,20230819
105_SAT:S,Standard Saturday,0,0,0,0,0,0,0,20230611,20230819
105_SUN,Sunday,0,0,0,0,0,0,1,20230611,20230819
105_SUN:L,Latenight Sunday,0,0,0,0,0,0,0,20230611,20230819
105_SUN:R,Recess Sunday,0,0,0,0,0,0,1,20230611,20230819
105_SUN:S,Standard Sunday,0,0,0,0,0,0,0,20230611,20230819
105_WKD,Weekday,1,1,1,1,1,0,0,20230611,20230819
105_WKD:L#6,Latenight Mon-Thu,0,0,0,0,0,0,0,20230611,20230819
105_WKD:L=6,Latenight Fri only,0,0,0,0,0,0,0,20230611,20230819
105_WKD:R,Recess Weekday,1,1,1,1,1,0,0,20230611,20230819
105_WKD:X,Extended Recess Weekday,1,1,1,1,1,0,0,20230611,20230819
105_WKD:S,Standard Weekday,0,0,0,0,0,0,0,20230611,20230819
105_WKD:S#6,Standard Mon-Thu,0,0,0,0,0,0,0,20230611,20230819
105_WKD:S=6,Standard Fri only,0,0,0,0,0,0,0,20230611,20230819
150 changes: 11 additions & 139 deletions gtfs/calendar_dates.txt
Original file line number Diff line number Diff line change
@@ -1,142 +1,4 @@
date,exception_type,service_id
20221204,2,103_SUN:R
20221205,2,103_WKD:R
20221205,2,103_WKD:X
20221206,2,103_WKD:R
20221206,2,103_WKD:X
20221207,2,103_WKD:R
20221207,2,103_WKD:X
20221208,2,103_WKD:R
20221208,2,103_WKD:X
20221209,2,103_WKD:R
20221209,2,103_WKD:X
20221210,2,103_SAT:R
20221211,2,103_SUN:R
20221212,2,103_WKD:R
20221212,2,103_WKD:X
20221213,2,103_WKD:R
20221213,2,103_WKD:X
20221214,2,103_WKD:R
20221214,2,103_WKD:X
20221215,2,103_WKD:R
20221215,2,103_WKD:X
20221216,2,103_WKD:R
20221216,2,103_WKD:X
20221217,2,103_SAT:R
20221218,2,103_SUN:R
20221219,2,103_WKD:R
20221219,2,103_WKD:X
20221220,2,103_WKD:R
20221220,2,103_WKD:X
20221221,2,103_WKD:R
20221221,2,103_WKD:X
20221222,2,103_WKD:L#6
20221222,2,103_WKD:R
20221222,2,103_WKD:X
20221223,2,103_WKD:L=6
20221223,2,103_WKD:S=6
20221223,2,103_WKD:S
20221224,2,103_SAT
20221224,2,103_SAT:L
20221224,2,103_SAT:R
20221224,2,103_SAT:S
20221224,1,103_D24
20221224,1,103_D24:W
20221225,2,103_SUN
20221225,2,103_SUN:L
20221225,2,103_SUN:R
20221225,2,103_SUN:S
20221225,1,103_D24
20221225,1,103_D24:W
20221226,2,103_WKD
20221226,2,103_WKD:L#6
20221226,2,103_WKD:R
20221226,2,103_WKD:X
20221226,2,103_WKD:S#6
20221226,2,103_WKD:S
20221226,1,103_HOL
20221226,1,103_HOL:W
20221227,2,103_WKD:L#6
20221227,2,103_WKD:S#6
20221227,2,103_WKD:S
20221228,2,103_WKD:L#6
20221228,2,103_WKD:S#6
20221228,2,103_WKD:S
20221229,2,103_WKD:L#6
20221229,2,103_WKD:S#6
20221229,2,103_WKD:S
20221230,2,103_WKD:L=6
20221230,2,103_WKD:S=6
20221230,2,103_WKD:S
20221231,2,103_SAT:L
20221231,2,103_SAT:S
20230101,2,103_SUN:L
20230101,2,103_SUN:S
20230102,2,103_WKD
20230102,2,103_WKD:L#6
20230102,2,103_WKD:R
20230102,2,103_WKD:X
20230102,2,103_WKD:S#6
20230102,2,103_WKD:S
20230102,1,103_HOL
20230102,1,103_HOL:W
20230103,2,103_WKD:L#6
20230103,2,103_WKD:S#6
20230103,2,103_WKD:S
20230104,2,103_WKD:L#6
20230104,2,103_WKD:S#6
20230104,2,103_WKD:S
20230105,2,103_WKD:L#6
20230105,2,103_WKD:S#6
20230105,2,103_WKD:S
20230106,2,103_WKD:L=6
20230106,2,103_WKD:S=6
20230106,2,103_WKD:S
20230107,2,103_SAT:L
20230107,2,103_SAT:S
20230108,2,103_SUN:L
20230108,2,103_SUN:S
20230109,2,103_WKD:L#6
20230109,2,103_WKD:S#6
20230109,2,103_WKD:S
20230110,2,103_WKD:L#6
20230110,2,103_WKD:S#6
20230110,2,103_WKD:S
20230111,2,103_WKD:L#6
20230111,2,103_WKD:S#6
20230111,2,103_WKD:S
20230112,2,103_WKD:L#6
20230112,2,103_WKD:S#6
20230112,2,103_WKD:S
20230113,2,103_WKD:L=6
20230113,2,103_WKD:S=6
20230113,2,103_WKD:S
20230114,2,103_SAT:L
20230114,2,103_SAT:S
20230115,2,103_SUN:L
20230115,2,103_SUN:S
20230116,2,103_WKD
20230116,2,103_WKD:L#6
20230116,2,103_WKD:R
20230116,2,103_WKD:X
20230116,2,103_WKD:S#6
20230116,2,103_WKD:S
20230116,1,103_MWK
20230116,1,103_MWK:M
20230117,2,103_WKD:L#6
20230117,2,103_WKD:S#6
20230117,2,103_WKD:S
20230118,2,103_WKD:L#6
20230118,2,103_WKD:S#6
20230118,2,103_WKD:S
20230119,2,103_WKD:L#6
20230119,2,103_WKD:S#6
20230119,2,103_WKD:S
20230120,2,103_WKD:L=6
20230120,2,103_WKD:S=6
20230120,2,103_WKD:S
20230121,2,103_SAT:L
20230121,2,103_SAT:S
20230310,2,104_WKD:L=6
20230311,2,104_SAT:L
20230311,2,104_SAT:S
Expand Down Expand Up @@ -176,4 +38,14 @@ date,exception_type,service_id
20230529,2,104_WKD:R
20230529,2,104_WKD:X
20230529,1,104_HOL
20230529,1,104_HOL:W
20230529,1,104_HOL:W
20230619,2,105_WKD
20230619,2,105_WKD:R
20230619,2,105_WKD:X
20230619,1,105_HSA
20230619,1,105_HSA:M
20230704,2,105_WKD
20230704,2,105_WKD:R
20230704,2,105_WKD:X
20230704,1,105_HSU
20230704,1,105_HSU:W
117 changes: 53 additions & 64 deletions gtfs/extended_data_dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,55 @@ General Transit Feed Specification Real-Time Reference maintained at:,https://de

Extended data elements listed below:,Usage descriptions.

calendar.txt:service_name,Descriptive service name. Matched to service_id key field.

fare_attributes.txt:agency_id,Key field carried over from agency.txt file. Transfer duration validity is enforced at the time of boarding the last vehicle using the fare - not generally controlled through the time of actually exiting the system.

feed_info.text:feed_version,Optional string specifically containing a date time value for when data was updated using yyyymmddhhnn format.
yyyy,four digit year
mm,two digit month
dd,two digit day
hh,two digit hour
nn,two digit minutes

routes.txt:service_id,Calendar version of route (i.e. ### would correspond to usage in calendar.txt or calendar_dates.txt ###_WKD).

routes.txt:route_service_name,Abbreviated pairing of the two opposite route destinations (i.e. Trips operate towards either one route destination - EAST TOWNE - or the other - WEST TOWNE).

shapes.txt:shape_code,Abbreviated shape name. Matched to shape_id key field.

stop_features.txt:feature_type,Hierarchical value of an amenity located at a bus stop
1000,Shelter
1001,Transit agency shelter
1002,Local government shelter
1003,External jurisdiction shelter
1004,Public institution shelter
1005,Other entity shelter
1100,Shelter with bench
1101,Transit agency shelter with bench
1102,Local government shelter with bench
1103,External jurisdiction shelter with bench
1104,Public institution shelter with bench
1105,Other entity shelter with bench
2100,Bench
2101,Transit agency bench
2102,Local government bench
2103,External jurisdiction bench
2104,Public institution bench
2105,Other entity bench
4110,Printed schedule display
4111,Transit agency printed schedule display
4115,Other entity printed schedule display
4200,Real time arrival display
4201,Transit agency real time arrival display
4205,Other entity real time arrival display
5100,Shelter light
5101,Transit agency shelter light
5102,Local government shelter light
5103,External jurisdiction light
5104,Public institution light
5105,Other entity light

stops.txt:agency_id,Coordinating agency for bus stop location.

stops.txt:stop_jurisdiction,Governing jurisdiction of bus stop location-including travel path of vehicle and access area for passengers.
Expand All @@ -20,7 +69,6 @@ VMCF,Village of McFarland
VSHO,Village of Shorewood Hills
TBLO,Town of Blooming Grove
TBUR,Town of Burke
TMAD,Town of Madison
TMID,Town of Middleton
UWIS,University of Wisconsin
MSTM,Metro Transit System-City of Madison
Expand All @@ -46,73 +94,14 @@ stops.txt:address_range,Block address range to sort roadway names used by travel

stops.txt:cross_location,Location name crossed by travel path of vehicle.

routes.txt:service_id,Calendar version of route (i.e. ## would correspond to usage in calendar.txt or calendar_dates.txt ##_WKD).

routes.txt:route_service_name,Abbreviated pairing of the two opposite route destinations (i.e. Trips operate towards either one route destination - East Transfer Point, or the other - West Transfer Point).
stop_times.txt:timepoint,Value for departure_time is a published schedule time and should generally be accurate (i.e. vehicle will wait at stop before departing if early).

trips.txt:route_short_name,Field duplicated from routes.txt file. Matched to route_id key field.

trips.txt:direction_name,Abbreviated route direction name (similar to paired value in routes.txt:route_service_name field). Matched to direction_id key field.

trips.txt:shape_code,Field duplicated from shapes.txt file. Matched to shape_id key field.

trips.txt:trip_sort,Trip scheduled departure time in seconds past midnight format (43200 SPM equaling 12 noon).

trips.txt:trip_type,Text character flag to identify specific trip characteristics.
D,Trip generally operates on all service dates - including weekday/weekend/holiday service dates.
H,Trip generally operates on all service dates - except Holiday service dates.
S,Trip generally operates on Weekend and Holiday service dates only.
W,Trip generally operates on Weekday service dates only.
F,Trip only operates on Friday Standard service dates (on a combined Standard weekday schedule - trip not operate on Monday-Thursday service dates).
R,Trip only operates on Recess service dates.

stop_times.txt:timepoint,Value for departure_time is a published schedule time and should generally be accurate (i.e. vehicle will wait at stop before departing if early).

stop_times.txt:stop_times_url,Value for the URL of a text-based web page that displays the most recent real time arrival estimates for this stop location in the specific direction of the route. Not a reference to the specific trip (i.e. values are duplicated for similar trips in the same direction of the route for the same stop).

calendar.txt:service_name,Descriptive service name. Matched to service_id key field.
trips.txt:trip_type,Text character field to identify where a route name is combined with a specific branch number.

fare_attributes.txt:agency_id,Key field carried over from agency.txt file. Transfer duration validity is enforced at the time of boarding the last vehicle using the fare - not generally controlled through the time of actually exiting the system.

fare_rules.txt:route_short_name,Field duplicated from routes.txt file. Matched to route_id key field.

shapes.txt:shape_code,Abbreviated shape name. Matched to shape_id key field.

feed_info.text:feed_version,Optional string specifically containing a date time value for when data was updated using yyyymmddhhnn format.
yyyy,four digit year
mm,two digit month
dd,two digit day
hh,two digit hour
nn,two digit minutes
trips.txt:trip_sort,Trip scheduled departure time in seconds past midnight format (43200 SPM equaling 12 noon).

stop_features.txt:feature_type,Hierarchical value of an amenity located at a bus stop
1000,Shelter
1001,Transit agency shelter
1002,Local government shelter
1003,External jurisdiction shelter
1004,Public institution shelter
1005,Other entity shelter
1100,Shelter with bench
1101,Transit agency shelter with bench
1102,Local government shelter with bench
1103,External jurisdiction shelter with bench
1104,Public institution shelter with bench
1105,Other entity shelter with bench
2100,Bench
2101,Transit agency bench
2102,Local government bench
2103,External jurisdiction bench
2104,Public institution bench
2105,Other entity bench
4110,Printed schedule display
4111,Transit agency printed schedule display
4115,Other entity printed schedule display
4200,Real time arrival display
4201,Transit agency real time arrival display
4205,Other entity real time arrival display
5100,Shelter light
5101,Transit agency shelter light
5102,Local government shelter light
5103,External jurisdiction light
5104,Public institution light
5105,Other entity light
trips.txt:block_transfer_id,The last stop_id of the arriving trip_id and the first stop_id of the departing trip_id are either the same or physically close and the trip_ids are consecutive and the trip_ids operate on the same service_id - in which case a bus passenger may stay in the same vehicle when transferring between trip_ids.
Loading

0 comments on commit b8a13f0

Please sign in to comment.