Linking behaviour of Optiflow?

Questions refering to the Optiflow based API within PTV Developer (launched on 20.12.2023)
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2823
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Linking behaviour of Optiflow?

Post by Bernd Welter »

HI there,

in the optiflow API I see just (lat,lon) for a single location as it's "geographic" reference - no linking style, no "last meters included"...

Code: Select all

{
      "id": "Loc_Gent",
     "latitude": 51.056,       "longitude": 3.72,
      "stopProperties": {
        "timeSlots": [
          {
            "id": "OPEN",
            "earliestStart": "2024-12-01T06:00:00Z",           "latestStart": "2024-12-01T23:00:00Z"
          }
        ]
      }
    }
What is the exact RouteLocation that is generated from a OF API Location? I know that the underlying PTV routing engine is aware of a more complicated modelling approach when it comes to com.ptvgroup.xserver.routing.RouteLocation
Some of my customers want to compare the Optimization output and this requires an aequivalent preparation of underlying distance matrices.

Bernd

PS: I know that the next question will deal with the vehicle profiles ;-)
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Daniela Grimm
Posts: 3
Joined: Tue Jun 14, 2022 12:16 pm

Re: Linking behaviour of Optiflow?

Post by Daniela Grimm »

Hi Bernd,

currently OnRoadRouteLocations are sent to the underlying routing engine by only specifying latitude and longitude.

Daniela
Post Reply