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

[FEATURE REQUEST] Add multipoint offer requests #560

Open
matt-wirtz opened this issue Dec 4, 2024 · 1 comment
Open

[FEATURE REQUEST] Add multipoint offer requests #560

matt-wirtz opened this issue Dec 4, 2024 · 1 comment
Milestone

Comments

@matt-wirtz
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

When requesting offers in V1.5 one can specify one start point from and one destination point to. Especially for intermodal trips where the user switches the mode of travelling during his trip, there are quite often several options for where to change modes. For each of the option one has to request an offer which means a http request that needs to be send and processed.

Urgency

It would make things more efficient so it's not crucial.

Describe the solution you'd like

If it would be possible to make multipoint offer request one could request offers from e.g. one start point to multiple destinations in one http call. That would mean that the to and from will become arrays rather then single attributes. In the request for each from and to pair an offer, if available, is generated.

@edwinvandenbelt edwinvandenbelt added this to the 2.0 milestone Dec 4, 2024
@edwinvandenbelt
Copy link
Collaborator

I see the advantage (less internet traffic), but we should consider how often this is needed and how much burden we'll put on implementations. Personally, I tend to say that this will be used only occasionally, and it lead to questions and frustrated software developers. "What if we only can provide services on one of the requested trajectories? Should we return only this one or none?".

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