VDVde / OJP

Open API for distributed journey planning. CEN/TS 17118:2017.
https://www.vdv.de/open-journey-planner.aspx
22 stars 12 forks source link

Restricted lines & MultiPointTripRequest #424

Closed trurlurl closed 9 months ago

trurlurl commented 9 months ago

Is it ok that IncludeAllRestrictedLines and PassengerCategory (TripPolicyGroup) is not available for MultPointTripRequest?

How ist MultiPointTripRequest supposed to behave - does it simply not support restricted lines, or should it always include all restricted lines and continue the search until solutions for each variant have been found? Or should it become possible to hand over the parameters?

ue71603 commented 9 months ago

We could argue both ways (as those things don't really make sense in a distributed environment. However, currently it is just neglicence from my point of view. @skinkie @herlitze Should we add it there or add an argumentation why it is not there?

ue71603 commented 9 months ago

Depending on your answer I would prepare a PR.

skinkie commented 9 months ago

I would say: forward the parameters?

herlitze commented 9 months ago

I agree with both of you and would add the parameters.