Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve Issue #13 - GTFS Feed Errors #14

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions Tutorial #4 - Create Your Own.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@
},
"outputs": [],
"source": [
"GTFS_LINK = r\"http://admin.gotransitnc.org/sites/default/files/developergtfs/GoRaleigh_GTFS_0.zip\"\n",
"GTFS_LINK = r\"http://admin.gotransitnc.org/sites/default/files/developergtfs/GoRaleigh_GTFS_0.zip\"\n",
"\n",
"BASE_DIR = r\"C:\\Users\\lzorn\\Documents\\fast-trips-tutorial\"\n",
"NEW_FOLDER = \"GoRaleigh_GTFS\"\n",
"GTFS_LOC = os.path.join(BASE_DIR,NEW_FOLDER)"
"### REPLACE THIS WITH YOUR OWN DIRECTORY\n",
"BASE_DIR = r\"YOUR PATH TO THE TUTORIAL DIRECTORY\"\n",
"NEW_FOLDER = \"GoRaleigh_GTFS\"\n",
"GTFS_LOC = os.path.join(BASE_DIR,NEW_FOLDER)"
]
},
{
Expand Down Expand Up @@ -301,8 +302,8 @@
},
"outputs": [],
"source": [
"ORIGIN_STOP = \"776415\"\n",
"DESTINATION_STOP = \"777546\"\n",
"ORIGIN_STOP = \"776182\"\n",
"DESTINATION_STOP = \"776185\"\n",
"\n",
"with open(os.path.join(OUTPUT_DIR,'walk_access_ft.txt'),'wb') as f:\n",
" f.write(\"taz,stop_id,direction,dist\\n\")\n",
Expand Down Expand Up @@ -480,7 +481,7 @@
"all_lines = Bar(final_vehicles_df, \"route_id\", values='boards', stack='trip_id',title=\"Boardings by Route\",legend=False,\n",
" xlabel=\"Route ID\", ylabel=\"Boardings\",tooltips=tooltips)\n",
"\n",
"ridership = show(all_lines, notebook_handle=True)"
"show(all_lines, notebook_handle=True)"
]
},
{
Expand Down
1 change: 1 addition & 0 deletions tta/input/demand-bigger/config_ft.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# configuration for fasttrips
[fasttrips]
simulation = True
network_build_date = 05/24/2017
output_passenger_trajectories = True
create_skims = False
prepend_route_id_to_trip_id = True
Expand Down
1 change: 1 addition & 0 deletions tta/input/demand-single/config_ft.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# configuration for fasttrips
[fasttrips]
max_iterations = 1
network_build_date = 05/24/2017
simulation = True
output_passenger_trajectories = True
create_skims = False
Expand Down
2 changes: 1 addition & 1 deletion tta/input/network-added-route/calendar.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
service_id,monday ,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date
TTA,1,1,1,1,1,1,1,20150101,20151231
TTA,1,1,1,1,1,1,1,20170101,20171231
2 changes: 1 addition & 1 deletion tta/input/network-simple/calendar.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
service_id,monday ,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date
TTA,1,1,1,1,1,1,1,20150101,20151231
TTA,1,1,1,1,1,1,1,20170101,20171231