-
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
max_walk_time overwrites max_trip_duration in travel_time_matrix when mode = "WALK" #353
Comments
@dhersz , could you please have a look at this ? |
Hello @pachecotaina, thanks for opening the issue. Indeed, this is in fact something that we have explicitly thought about and is what we consider expected behavior. We can adjust the documentation if you think it is ambiguous. In particular, what were you expecting with the function call you posted above? Walking trips of up to 120 minutes? If so, how do you think |
In my opinion the documentation it is ambiguous. When reading it my understanding is that An integer. The maximum walking time (in minutes) to access and egress the transit network, or to make transfers within the network. Defaults to no restrictions, as long as |
How about we rewrite the documentation like this (changed text in bold:
And the function could throw and error if the user sets |
Not sure if this change reflects the way the function is working. I would go for something like:
With this description there is no need to change the function. |
@dhersz , what do you think? |
My proposal:
Basically tried to make it clear that the parameter also affects the output when considering walk-only trips and that the restrictions of walking to/from the transit network only affects transit trips. What do you think @pachecotaina? |
@dhersz , I like your text. I would just add one sentence at the end to emphasize that "In walk-only trips, the |
Not necessarily. If |
I liked the text and Rafa's suggestion.
Now it clear to me.
Best,
Tainá
El mar., 21 nov. 2023 17:44, Rafael H M Pereira ***@***.***>
escribió:
… @dhersz <https://github.com/dhersz> , I like your text. I would just add
one sentence at the end to emphasize that "In walk-only trips, the
max_walk_time is overwritten by max_trip_duration".
—
Reply to this email directly, view it on GitHub
<#353 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH3UB2T7EH3S47QBLBRUI2LYFTLAVAVCNFSM6AAAAAA6CFQ2A2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRRGI4DKMBZG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
In this case, the last sentence should read:
@dhersz , I assume this is the same behavior for |
ok, the final version of the documenation is this one below. I've implemented the same change to
|
Hi,
I am working with travel times for Prague (CZ) and I It looks like the
max_walk_time
is overwritingmax_trip_duration
when mode is only WALK.The package documentation says
max_walk_time
should only be applied when mode is TRANSIT.max_walk_time
An integer. The maximum walking time (in minutes) to access and egress the transit network, or to make transfers within the network (...).Reproducible example here
Files:
CZ001F_pointspop1000.csv
OSM network from geofrabik.de
The text was updated successfully, but these errors were encountered: