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

This forum deals with any kind of routing computation whether it is simple A:B-routing, calculation of isochrones, simple matrix computation or nearest search.
Post Reply
VeeTennis
Posts: 11
Joined: Tue Mar 14, 2023 7:53 am

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

Post 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
User avatar
Bernd Welter
Site Admin
Posts: 2574
Joined: Mon Apr 14, 2014 10:28 am
Contact:

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

Post 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
  }
}
Attachments
vytenis.2024-02-02 175216.png
vytenis.2024-02-02 175215.png
vytenis.2024-02-02 175214.png
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:
VeeTennis
Posts: 11
Joined: Tue Mar 14, 2023 7:53 am

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

Post by VeeTennis »

Thank you, this helped:

"timeConsideration":{
"$type":"ExactTimeConsiderationAtStart"
User avatar
Bernd Welter
Site Admin
Posts: 2574
Joined: Mon Apr 14, 2014 10:28 am
Contact:

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

Post by Bernd Welter »

2012-03-16 16.23.52.jpg
2012-03-16 16.23.52.jpg (48.61 KiB) Viewed 158 times
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:
Post Reply