-
Notifications
You must be signed in to change notification settings - Fork 54
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
plan: START and END place seems to be reversed when searching with arriveBy=true #703
Comments
True. The stop name here is more an implementation detail. |
Yeah, I noticed this when checking some "arrive by" routes in GNOME Maps. In the normal case we substitute with the original query name (so it would be the searched name, or the raw coordinates if the user clicked on the context menu "Route from here/to here". I think probably we should just change the logic so it replaces either START or END for "from" in the first leg (when non-transit) and for "to" in the last leg (when non-transit). |
As the START and END names are considered implementation details in MOTIS and reflects the internal search direction instead always use the entered search term for departure of first leg and arrival of final leg, when these are non-transit legs. See: motis-project/motis#703
As the START and END names are considered implementation details in MOTIS and reflects the internal search direction instead always use the entered search term for departure of first leg and arrival of final leg, when these are non-transit legs. See: motis-project/motis#703
When doing a coordinate-based query setting arriveBy=true, it looks like the start coordinate place is labelled END and the arrival is labelled START:
Sample query:
https://api.transitous.org/api/v1/plan?fromPlace=50.849516050000005%2C4.367312985278861&toPlace=50.8140554%2C4.3841294&arriveBy=true&time=2025-02-01T07%3A30%3A00Z
The text was updated successfully, but these errors were encountered: