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
Route with/out taking into account the temporary farmer road blockage
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Route with/out taking into account the temporary farmer road blockage
what time consideration mode did you activate?
Provide your request and I'll check it...
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
}
}
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...
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...
Re: Route with/out taking into account the temporary farmer road blockage
Thank you, this helped:
"timeConsideration":{
"$type":"ExactTimeConsiderationAtStart"
"timeConsideration":{
"$type":"ExactTimeConsiderationAtStart"
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Route with/out taking into account the temporary farmer road blockage
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...
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...