openTdataCH / ojp-sdk

Meta OJP SDK repo
MIT License
4 stars 0 forks source link

TR - need an example GeoPosition to StopRef and GeoPosition to GeoPosition #24

Open vasile opened 1 month ago

vasile commented 1 month ago

Using this example for now on

<OJP xmlns:siri="http://www.siri.org.uk/siri" version="2.0"
  xmlns="http://www.vdv.de/ojp"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <OJPRequest>
    <siri:ServiceRequest>
      <siri:RequestTimestamp>2024-01-16T11:26:01.697Z</siri:RequestTimestamp>
      <siri:RequestorRef>OJP_SDK_v0.9.24</siri:RequestorRef>
      <OJPTripRequest>
        <siri:RequestTimestamp>2024-01-16T11:26:01.697Z</siri:RequestTimestamp>
        <Origin>
          <PlaceRef>
            <GeoPosition>
              <siri:Longitude>8.567587</siri:Longitude>
              <siri:Latitude>47.773983</siri:Latitude>
            </GeoPosition>
            <Name>
              <Text>Hagenturm</Text>
            </Name>
          </PlaceRef>
          <DepArrTime>2024-05-21T16:10:00.373Z</DepArrTime>
        </Origin>
        <Destination>
          <PlaceRef>
            <StopPlaceRef>8505069</StopPlaceRef>
            <Name>
              <Text>Rigi Kulm</Text>
            </Name>
          </PlaceRef>
        </Destination>
        <Params>
          <NumberOfResultsBefore>0</NumberOfResultsBefore>
          <NumberOfResultsAfter>5</NumberOfResultsAfter>
          <IncludeTrackSections>true</IncludeTrackSections>
          <IncludeLegProjection>false</IncludeLegProjection>
          <IncludeTurnDescription>true</IncludeTurnDescription>
          <IncludeIntermediateStops>true</IncludeIntermediateStops>
        </Params>
      </OJPTripRequest>
    </siri:ServiceRequest>
  </OJPRequest>
</OJP>
TO-mdv commented 1 month ago

TR using GeoPosition is not working yet, need to fix this. Story created SH-2971 OJP2.0 TR mit GeoPosition -> TR-3a GeoPosition

TO-mdv commented 2 weeks ago

Testfall nochmals zu prüfen

TO-mdv commented 1 week ago

Umkreissuche funktioniert, Fussweg erste/letzte Meile noch zu implementieren

Flurin-BLS commented 3 days ago

Gemäss Info von @TO-mdv ist der Fussweg LEG auf INT ab dem 8. Juli verfügbar - also rechtzeitig zu unserem Sprintstart