Page 1 of 1

Route with/out taking into account the temporary farmer road blockage

Posted: Fri Feb 02, 2024 3:44 pm
by VeeTennis
Hello,

some roads where temporary blocked by striking farmers.

Comparing the routes, suggested by PTV on our system, with the route on PTV's online tool, we see that we're getting the suggestion to go through the blocked road, while PTV's online tool suggests going around the blockings:

1) Route by PTV that we're getting: https://prnt.sc/cYH2SpkUGTSw

2) route suggested on TVS's online tool: https://prnt.sc/32s0jIb89xNP

ALSO, when zoomed in:
https://prnt.sc/uVs3htuHm99U

The data:
1) going from Chatte (45.14317, 5.28258) to Valence (44.97151, 4.95985)
2) We added all of these feature layers: PTV_TruckAttributes, PTV_RestrictionZones, PTV_PreferredRoutes, PTV_TrafficIncidents in our request, however, the results are the same.

Did we omit something?

Regards

Re: Route with/out taking into account the temporary farmer road blockage

Posted: Fri Feb 02, 2024 4:56 pm
by Bernd Welter
what time consideration mode did you activate?

Provide your request and I'll check it...

Code: Select all

{
  "storedProfile":"truck40t",
  "routeOptions":{
    "timeConsideration":{
      "$type":"ExactTimeConsiderationAtStart",
      "referenceTime":"2024-02-02T00:00:00"
    }
  },
  "requestProfile":{
    "featureLayerProfile": {
      "themes":[
        {
          "id":"PTV_TrafficIncidents",
          "enabled":true
        }
      ]
    }
  },
  "waypoints": [
    {
      "$type": "OffRoadWaypoint",
      "location": {
        "offRoadCoordinate": {
          "x": 5.28258,
          "y": 45.14317
        }
      }
    },
    {
      "$type": "OffRoadWaypoint",
      "location": {
        "offRoadCoordinate": {
          "x": 4.95985,
          "y": 44.97151
        }
      }
    }
  ],
  "resultFields": {
    "polyline": true
  }
}

Re: Route with/out taking into account the temporary farmer road blockage

Posted: Tue Feb 06, 2024 10:39 am
by VeeTennis
Thank you, this helped:

"timeConsideration":{
"$type":"ExactTimeConsiderationAtStart"

Re: Route with/out taking into account the temporary farmer road blockage

Posted: Tue Feb 06, 2024 10:41 am
by Bernd Welter
2012-03-16 16.23.52.jpg
2012-03-16 16.23.52.jpg (48.61 KiB) Viewed 1499 times