Page 1 of 1

Linking behaviour of Optiflow?

Posted: Tue Aug 06, 2024 11:05 am
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 ;-)

Re: Linking behaviour of Optiflow?

Posted: Tue Aug 06, 2024 11:28 am
by Daniela Grimm
Hi Bernd,

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

Daniela