Skip to content

OJP 2.0: Entwicklung

Einleitung

Mit OJP 2.0 wird der CEN-Standard erweitert und namentlich im Bereich multimodale Mobilität verstärkt. Weitere Dienste wurden definiert. Diese Seite beschreibt den aktuellen Umsetzungsstand für OJP 2.0, für diejenigen, die sehen wollen, was im Moment passiert und sich frühzeitig damit auseinander setzen wollen. Das System ist NICHT produktiv, sondern arbeitet nur auf der Integrationsumgebung. Das heisst auch, dass es nicht immer zur Verfügung steht.

Es wird vorausgesetzt, dass die bestehende OJP2020 verstanden ist.

 

Fachliche Beschreibung

wird ergänzt.

Technische Beschreibung

Dieses Kapitel beschreibt die Zugänge und den aktuellen Entwicklungsstand.

Zugang

OJP 2.0 Integration: https://odpch-api.clients.liip.ch/ojp20-beta

OJP 2.0 Produktion (nicht produktiv): https://api.opentransportdata.swiss/ojp20

API-Schlüssel auf Anfrage (opendata@sbb.ch)

OJP Demonstrator based on OJP 2.0 (not always on the latest version): https://tools.odpch.ch/ojp-demo-v2

 

TIR – trip information service
TR – trip service
LIR – location information service
SER – stop event service

Unterstützte Elemente

Nachfolgend eine Dokumentation der unterstützten Elemente in OJP 2.0 beim go-live im Februar 2024. Weitere Funktionen werden laufend dazukommen.
Grundsätzlich werden alle Elemente der Coobook Seite zu OJP 1.0 unterstützt. In der nachfolgenden Dokumentation sind Elemente gekennzeichnet,
welche von der Cookbook Seite abweichen und (noch) nicht unterstützt werden.

LIR

Link https://opentransportdata.swiss/de/cookbook/ojplocationinformationrequest/
Nachfolgende Elemente werden im Vergleich zu OJP1.0 noch nicht unterstützt:

Element Status
<Restrictions>/<Type> Es gibt die folgenden Typen:

  • stop
  • address
  • poi (noch nicht unterstützt)
  • coord
  • topographicPlace
<Restrictions>/<PtModes> Filterung nach PTModes in LIR nicht unterstützt.

Paintpoint Prio 2

<Restrictions>/<PointOfInteresFilter> nicht unterstützt

 

TIR

Link https://opentransportdata.swiss/de/cookbook/ojptripinforequest/

In OJP2.0 wird bereits alles gemäss Dokumentation unterstützt.

SER

Link https://opentransportdata.swiss/de/cookbook/ojpstopeventrequest/
Nachfolgende Elemente werden im Vergleich zu OJP1.0 noch nicht unterstützt:

Element Status
<Restrictions>/<Type> Es gibt die folgenden Typen:

  • stop
  • address
  • poi (noch nicht unterstützt)
  • coord
  • topographicPlace
<IndividualTransportOptions> nicht unterstützt. IndividualTransport Options wie walk, cycle, taxi usw. werden in OJP2.0 noch nicht unterstützt
<Params> / <OperatorFilter> nicht unterstützt
<Params> / <IncludeOperatingDays> OperatingDay der Fahrt wird unabhängig vom Parameter immer ausgegeben

 

TR

Link https://opentransportdata.swiss/de/cookbook/ojptriprequest/
Nachfolgende Elemente werden im Vergleich zu OJP1.0 noch nicht unterstützt:

Element Status
Origin/Destination
PlaceRef/PointOfInterestRef
nicht unterstützt
Origin/Destination
PlaceRef/AddressRef
nicht unterstützt

Paintpoint Prio 1:  Koordinaten aus Adresse rausfinden, dann TR mit GeoPosition machen

Origin/Destination
TimeAllowance
nicht unterstützt
<Params> / IndividualTransportOptions nicht unterstützt
<Params> / OptimisationMethod fastest, least walking, etc

nicht unterstützt

<Params> / ItModesToCover Multimodalität.

nicht unterstützt

<Params> / IncludeTurnDescription Abbiegehinweise z.Bsp. beim Fusswegrouting “nach 50m nach rechts”

nicht unterstützt.

Pain points:

  • ResponseContext mit Koordinaten fehlen noch.

Release TEST, INT, PROD: 07.5.2024

  • Fix LIR with address filter. The filter ist now correctly taking into account.
  • Fix LIR adress response. Response now contains all relevant information

Release TEST, INT, PROD: 26.4.2024

  • The issues with the TripRequest are resolved for all systems.

Release TEST, PROD: 25.4.2024

  • PROD and TEST are now on the same software version as INT. We have just noticed problems with the TripRequest on PROD and TEST, which did not occur on INT. We are working on this problem with high priority.
  • On the TEST system, some SLOIDS were supplied for the followings stops:
    • Emmenmatt:  ch:1:sloid:8206
    • Langenthal: ch:1:sloid:8100
    • Kerzers ch:1:sloid:4400
    • Gümmenen ch:1:sloid:4486

Request:

 

Response (Snippet):

 

Release INT 19.4.2024

  • Change in the TR for the Parameters NumberOfResultsBefore and NumberOfResultsAfter: now both elements are optional. Before if one of them was used, the other has to be in the request as well.

  • StopEventRequest: fix timezone problem. Response didn’t deliver the requested departure or arrival time,
  • TripInfoRequest: fix an issue, where requests using a SwissJourneyID couldn’t be properly parsed.

Release INT 21.3.2024

  • LIR response using of a Request using “InitialInput” now contains the PtMode and Submode as well. Before, it only worked for a LIR Request using coordinates. Example of a LIR using “InitialInput” Response:

 

Release INT 20.3.2024

  • encoding of the Response is now in UTF-8 (before: UTF-16)
  • fix an issue in the SER, where identical trips are included multiple times in the response
  • SER response contains only trips related to the stop. Trips from stops that can be reached on foot are no longer included in the answer.

Example SER for “Goppenstein, Bahnhof” before:

Example SER for “Goppenstein, Bahnhof” after the change:

Release INT 7.3.2024

  • support of ferry and cartransport (Autoverlad) in the SER PT (PublicTransport) Request. Example:

  •   support of ferry and cartransport (Autoverlad) in the TR PT (PublicTransport) Request. Example:

  • Please note: a TR using IT (IndividualTransport, for example own car in combination with ferry) is not supported yet. But we are working on it

 

Release INT 6.3.2024

  • TR response contains accessibility Informations. Example:

 

 

  • TIR response contains accessibility Informations. Example:

 

 

  • possible values for accessibility
    • Autonomie / PLATFORM_ACCESS_WITHOUT_ASSISTANCE
    • Rampeneinsatz / PLATFORM_ACCESS_WITH_ASSISTANCE
    • Voranmeldung / PLATFORM_ACCESS_WITH_ASSISTANCE_WHEN_NOTIFIED
    • Shuttle / ALTERNATIVE_TRANSPORT
    • kein Zugang / PLATFORM_NOT_WHEELCHAIR_ACCESSIBLE
    • keine Info / NO_DATA

Release INT 22.2.2024

New Release on the INT System

  • Support of LineFilter in TR
  • Support of ModeAndModeOfOperatorFilter in TR
  • Support of ToporaphicPlaceRef in TR and SER
  • Support of PtModeFilter in SER
  • Support of IncludeRealtime Parameter in SER (until now, Realtime was always been activated, can now be deactivated)
  • Bugfix in SER, multiple identical trips in SER Response
  • Bugfix in LIR, where Requests with Address and GeoPosition didn’t work

Release INT / PROD 19.2.2024

New Release on the INT and PROD System

  • Support of IncludeCalls Parameter in the TIR
  • Support of IncludeService Parameter in the TIR
  • Support of IncludeTrackSection Parameter in the TR
  • Support of IncludeLegProjection Parameter in the TR
  • Changed the Timezone: all Responses contains UTC time format (not local time anymore). This change is required by the migration of the OJP system from Windows to Linux. Example

Release INT 23.1.2024

  • Support of via functionality in TripRequest
  • Support of NotVia functionality in TripRequest

     
  • Support of LineFilter in TripRequest and  StopEventRequest
  • Support of UseRealtimeData in TripRequest and StopEventRequest

     

Release INT 17.1.2024

  • Correction of time zones. Localtime is now displayed in the response for all times. Example:

  • Implementation of the “IntermediateStops” function. The following request parameter is now taken into account:

Implementation to include the Attritube in the TR Response. Example

  • fixes in the SER Responses:
    • new element <Id>
    • new element <Order>
  • fixes in the TIR Response
    • new element  <OperatingDayRef>
    • new element  <ProductCategory> /  <ShortName>
    • correction of element  <siri:OperatorRef>
    • ew element for Origins and Destination. Example
  • fixes in the TR Response
    • new Element <ID>
    • correction  <siri:LineRef>, output now without direction
    • new element  <ProductCategory> /  <ShortName>
    • correction of element  <siri:OperatorRef>

Release INT 16.1.2024 11:00

  • LIR Unterstützung StopPlaceRef. Beispiel Request:

  • TR Unterstützung StopPlaceRef. Beispiel Request:

 

Weiterführende Angaben

wird ergänzt.