-
Notifications
You must be signed in to change notification settings - Fork 31
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
more output from travel_time_matrix() #194
Comments
Yes, we can have lots of extra path information since R5 6.2. Taking an example from here:
The The question is: how much of this information we want to pass along to r5r, and how. |
This is brilliant. Now to the question "how much of this information we want to pass along to r5r, and how." Here are my two cents:
ps. What does the |
Great! I agree that breaking down travel times into segments is quite useful, and requires much less work than breaking down the whole itinerary. Even more so considering that About the percentiles, those travel time segments do not interact directly with them. Basically, we can choose to get the average of those statistics in the time window, or the minimum (the fastest trip in the time window).
From the documentation:
The optimal path between any pair of OD varies during the time window due to transit schedules, so We have a caveat, though: we can only get detailed path information for up to 5000 destination points. This limit is hardcoded in R5 in this line. Perhaps that's something we can discuss with Conveyal as well. |
For what it's worth, an expanded |
I'm glad to hear you'll find this useful as well @cseveren .
Thanks for the clarification, @mvpsaraiva. Regarding the this hardcoded limit upstream in R5, this should preferably be overwritten by the Java side or r5r, but I'm not sure that's possible. Is it? |
It would be quite easy to change that limit in our own R5 jar, but I've just created an issue in Conveyal's repository to suggest a change upstream. |
Documentation suggestion:
|
@mvpsaraiva , I think we are ready to merge the |
Agreed! |
Hello, @rafapereirabr, @mvpsaraiva. Is it still planned to add the information by distance (total distance; walking distance to/from the transit)? For now, I'm wondering if there are some best practices for users to calculate distances from the output of travel time? I saw in the documentation that the default average walking speed is 3.6 Km/h and cycling speed 12 Km/h. But for bus and other transit, the converting via speed might be not straightforward to estimate the total distance. Thank you very much for this powerful package. |
Hi @CWen001 . I'm not entirely sure it's possible to extract trip distance information from R5, but @mvpsaraiva will be able to confirm that. In any case, it can be tricky to get distance info for public transport trips. This is because trip distance info depends on the |
Hi @CWen001. The only way you can get information on travel distances is with Calculating walking and cycling distances from times is relatively straightforward, but it's not 100% accurate. You wouldn't be considering topography, for example, or turn restrictions. I also believe R5 may add a small penalty to walking times when pedestrians need to cross busy/large streets. Travel distances by public transport is even more complicated and, as @rafapereirabr said, impossible in many situations. |
Thank you very much for your replies, @rafapereirabr, @mvpsaraiva. Now I understood the complexities under the hood. One use case for our urban planning department is to calculate a large travel time matrix. But somehow the (default settings of) time results from Still, a lot of respect for the wonderful open-source package and the developers. |
@CWen001 , are you using the exact same GTFS feed in |
I agree with @rafapereirabr that such a large difference (half the time!) is much likely to be due to differences between the GTFS feeds. One experiment you can try is to set the parameters |
@mvpsaraiva , does R5 allow us to get more information from
travel_time_matrix()
, such as total distance? Or in the case of walking + transit, the walking distance?The text was updated successfully, but these errors were encountered: