-
Notifications
You must be signed in to change notification settings - Fork 8
GTFS
JT Bates edited this page Aug 13, 2013
·
4 revisions
Unfortunately, we were not successful with building a OneBusAway transit data bundle for the full CTA GTFS feed and we had to prune to specific routes. Here is the command used to prune with GTFS Transformer CLI:
java -jar onebusaway-gtfs-transformer-cli-1.3.2-20130709.205351-10.jar \
--transform='{"op":"retain","match":{"file":"routes.txt", "route_id":"6"}, \
"retainBlocks":false}' \
archives/chicago-transit-authority_20130320_0324.zip \
pruned/pruneToRoute6_gtfs20130320
And this is the command to build the transit data bundle with Transit Data Federation Builder:
java -jar onebusaway-transit-data-federation-builder-1.1.10-withAllDependencies.jar \
pruned/pruneToRoute6_gtfs20130320 bundles/pruneToRoute6_gtfs20130320
GTFS File | GTFS Column | CTA Table | CTA Column(s) |
---|---|---|---|
routes.txt | route_id | bt_pattern | taroute |
stops.txt | stop_id | bt_stop | tageoid |
trips.txt | trip_id | bt_trip2 | tripno |
trips.txt | direction_id | lu_direction | dir_group |
trips.txt | block_id | bt_trip2 | blockno |
trips.txt | shape_id | bt_pattern | bt_ver + patternid |