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

Update trip refinement #298

Merged
merged 20 commits into from
Apr 5, 2023
Merged

Update trip refinement #298

merged 20 commits into from
Apr 5, 2023

Conversation

ue71603
Copy link
Contributor

@ue71603 ue71603 commented Jan 17, 2023

Based on Malte's comment: Isn't there still a parameter missing in the TripRefine request to select a specific sharing provider when requesting a specific trip with that provider?

And some discussions I had with Andreas and André.

It is now possible to control more, what refinement should do, which system should do it.
A lot will need to be described in the specification.

skinkie
skinkie previously approved these changes Jan 17, 2023
OJP/OJP_Trips.xsd Show resolved Hide resolved
OJP/OJP_Trips.xsd Outdated Show resolved Hide resolved
</xs:element>
<xs:element name="CheckAvailability" type="xs:boolean" minOccurs="0" default="false">
<xs:annotation>
<xs:documentation>Checks the availability of relevant legs depending on the mode/submode. Operators or system references must be set to do this (uses OJPAvailabilityRequest indirectly)</xs:documentation>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let us talk about the workflow you are expecting behind this on Friday.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to be discussed label already added

@normanoffel
Copy link

  1. It is probably a good idea to indicate in the TripResponse which TripLeg needs to be refined because it is only an estimate.
  2. I assume the SystemID meant to address responding systems which could be added to the documentation annotation.
  3. What is the purpose of the SystemID when for example compared to the OperatorRef? Isn't the original responding system always the one to be asked for refinement as well?

@ue71603
Copy link
Contributor Author

ue71603 commented Mar 7, 2023

Use case 5.24 is adapted.

7.9 and 8.10 will have to be updated after this PR is done. I will add some more information there while finalising this PR.

@ue71603
Copy link
Contributor Author

ue71603 commented Mar 7, 2023

simpliefied a lot. So I guess we have no longer issues with it? @normanoffel @herlitze

@AndreasAtSBB : Pls check, if this still fits the bill for your document.

examples/functions/RefinementRequest.xml Outdated Show resolved Hide resolved
examples/functions/RefinementResponse.xml Outdated Show resolved Hide resolved
AndreasAtSBB
AndreasAtSBB previously approved these changes Mar 17, 2023
OJP/OJP_JourneySupport.xsd Outdated Show resolved Hide resolved
<xs:annotation>
<xs:documentation>Place within a (moving) vehicle.</xs:documentation>
<xs:documentation>Location within a (moving) vehicle.</xs:documentation>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't that in direct contradiction to the description of TripLocationStructure, line 256?

skinkie
skinkie previously approved these changes Mar 22, 2023
OJP/OJP_Trips.xsd Outdated Show resolved Hide resolved
OJP/OJP_Trips.xsd Outdated Show resolved Hide resolved
skinkie
skinkie previously approved these changes Apr 5, 2023
Copy link
Contributor

@trurlurl trurlurl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What irritates me a little: If the idea is that TripRefinement should not rely on trip recalculation - don't changed parameter values in OperatorFilter and IncludeAlternativeOptions require invoking the trip planner?

@skinkie skinkie merged commit 0ff73ed into changes_for_v1.1 Apr 5, 2023
@skinkie skinkie deleted the Update_TripRefinement branch April 5, 2023 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc updated enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants