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

The SDK should support the MPTR #31

Open
ue71603 opened this issue Feb 10, 2022 · 1 comment
Open

The SDK should support the MPTR #31

ue71603 opened this issue Feb 10, 2022 · 1 comment
Assignees

Comments

@ue71603
Copy link

ue71603 commented Feb 10, 2022

It should also be able to identify, when the MPTR is not fully implemented.

It should work with StopPlaceRef, StopPointRef primarly. GeoPosition would be nice.
Example 1:

<siri:OJP xmlns:siri="http://www.siri.org.uk/siri" xmlns:ojp="http://www.vdv.de/ojp" version="1.0">
siri:OJPRequest
siri:ServiceRequest
siri:RequestTimestamp2021-05-18T13:10:14Z</siri:RequestTimestamp>
siri:RequestorRefEFAController10.5.0.0-STR-DB-20</siri:RequestorRef>
siri:MessageIdentifierD7E409B7-3819-4061-BFB6-F03E864F84AE</siri:MessageIdentifier>
ojp:OJPMultiPointTripRequest
siri:RequestTimestamp2021-05-18T13:10:14Z</siri:RequestTimestamp>
ojp:Origin
ojp:PlaceRef
ojp:StopPlaceRefit:22021:36</ojp:StopPlaceRef>
ojp:LocationName
<ojp:Text xml:lang="de">Mals, Bahnhof/Malles</ojp:Text>
</ojp:LocationName>
</ojp:PlaceRef>
ojp:DepArrTime2021-06-30T12:00:00Z</ojp:DepArrTime>
</ojp:Origin>
ojp:Origin
ojp:PlaceRef
ojp:StopPlaceRef8101236</ojp:StopPlaceRef>
ojp:LocationName
<ojp:Text xml:lang="de">Feldkirch</ojp:Text>
</ojp:LocationName>
</ojp:PlaceRef>
ojp:DepArrTime2021-06-30T12:00:00Z</ojp:DepArrTime>
</ojp:Origin>
ojp:Destination
ojp:PlaceRef
ojp:StopPlaceRef8503091</ojp:StopPlaceRef>
ojp:LocationName
<ojp:Text xml:lang="de">Zürich Giesshübel</ojp:Text>
</ojp:LocationName>
</ojp:PlaceRef>
</ojp:Destination>
ojp:Params
ojp:NumberOfResults1</ojp:NumberOfResults>
ojp:OptimisationMethodfastest</ojp:OptimisationMethod>
ojp:MultiPointTypeeachOrigin</ojp:MultiPointType>
ojp:IncludeIntermediateStopstrue</ojp:IncludeIntermediateStops>
</ojp:Params>
</ojp:OJPMultiPointTripRequest>
</siri:ServiceRequest>
</siri:OJPRequest>
</siri:OJP>

Example 2:

<siri:OJP xmlns:siri="http://www.siri.org.uk/siri" xmlns:ojp="http://www.vdv.de/ojp" version="1.0">
siri:OJPRequest
siri:ServiceRequest
siri:RequestTimestamp2021-05-18T13:10:14Z</siri:RequestTimestamp>
siri:RequestorRefEFAController10.5.0.0-STR-DB-20</siri:RequestorRef>
siri:MessageIdentifierD7E409B7-3819-4061-BFB6-F03E864F84AE</siri:MessageIdentifier>
ojp:OJPMultiPointTripRequest
siri:RequestTimestamp2021-05-18T13:10:14Z</siri:RequestTimestamp>
ojp:Origin
ojp:PlaceRef
ojp:StopPlaceRef8503091</ojp:StopPlaceRef>
ojp:LocationName
<ojp:Text xml:lang="de">Zürich Giesshübel</ojp:Text>
</ojp:LocationName>
</ojp:PlaceRef>
ojp:DepArrTime2021-06-30T12:00:00Z</ojp:DepArrTime>
</ojp:Origin>
ojp:Destination
ojp:PlaceRef
ojp:StopPlaceRefit:22021:36</ojp:StopPlaceRef>
ojp:LocationName
<ojp:Text xml:lang="de">Mals, Bahnhof/Malles</ojp:Text>
</ojp:LocationName>
</ojp:PlaceRef>
</ojp:Destination>
ojp:Destination
ojp:PlaceRef
ojp:StopPlaceRef8101236</ojp:StopPlaceRef>
ojp:LocationName
<ojp:Text xml:lang="de">Feldkirch</ojp:Text>
</ojp:LocationName>
</ojp:PlaceRef>
</ojp:Destination>
ojp:Params
ojp:NumberOfResults1</ojp:NumberOfResults>
ojp:OptimisationMethodfastest</ojp:OptimisationMethod>
ojp:MultiPointTypeeachDestination</ojp:MultiPointType>
ojp:IncludeIntermediateStopstrue</ojp:IncludeIntermediateStops>
</ojp:Params>
</ojp:OJPMultiPointTripRequest>
</siri:ServiceRequest>
</siri:OJPRequest>
</siri:OJP>

The values for MultiPointType:
image

@ue71603
Copy link
Author

ue71603 commented Jan 15, 2023

should be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants