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

Multiple GTFS files #2

Open
rafapereirabr opened this issue Sep 14, 2015 · 2 comments
Open

Multiple GTFS files #2

rafapereirabr opened this issue Sep 14, 2015 · 2 comments

Comments

@rafapereirabr
Copy link

Hi Owen.

What would be the best way to proceed if I have three separate GTFS.zip files (one for each mode, including bus, subway and trains) and I would like to compute the travel time matrix considering potential boardings across transport modes. Any idea on this?

On a related topic, what happens if I do not specify -id [service id] ? In a fairly simple simulation I did (symmetrical travel time matrix of 5 points in Portland), I notice the algorithm still works without this input and there was not any difference in the results.csv.

@owenam
Copy link
Member

owenam commented Sep 14, 2015

Hi, Rafael! We have actually moved away from using that code and are now doing all of our travel time calculations using OpenTripPlanner. In terms of its GTFS processing, this tool is really quite primitive.

To answer your specific questions:

  • The travel time calculator processes a single GTFS file at a time. To process multiple files you’d first need to merge them into a single GTFS file (and a single service ID).
  • If no service ID is specified, I believe it defaults to the first service ID listed in calendar.txt, though I’d suggest checking the code to confirm.

Andrew Owen
Director — Accessibility Observatory (access.umn.edu http://access.umn.edu/)

On Sep 14, 2015, at 11:34 AM, Rafael Pereira [email protected] wrote:

Hi Owen.

What would be the best way to proceed if I have three separate GTFS.zip files (one for each mode, including bus, subway and trains) and I would like to compute the travel time matrix considering potential boardings across transport modes. Any idea on this?

On a related topic, what happens if I do not specify -id [service id] ? In a fairly simple simulation I did (symmetrical travel time matrix of 5 points in Portland), I notice the algorithm still works without this input and there was not any difference in the results.csv.


Reply to this email directly or view it on GitHub #2.

@rafapereirabr
Copy link
Author

Thank you for your answers Owen ! They are quite helpful.

Indeed, I had realized this tool has some important limitations (one of them being the simplistic approach it takes to account for pedestrian accessibility) and I'm glad to hear you are using a much improved algorithm. I haven't found a simple way to extract a travel time matrix using OpenTripPlanner, but I should look further into this.

cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants