I have another question today regarding xServer2 and routing. A customer has brought to our attention that transit traffic in Austria on the B 180 is closed for trucks over 7.5t, but can be used for origin and destination traffic if there are loading or unloading stations in the surrounding area:
Official documents: https://www.tirol.gv.at/landeck/reschen ... itverkehr/
However, our routing with xServer 2 using the truck attributes always returns a wide bypass route, even though loading and unloading stations are located in the mentioned grey origin/destination areas:
How can we ensure that the correct routing is applied to the B 180 in this case? We appreciate any help you can give us. Here is our routing request:
Code: Select all
{
"$type":"RouteRequest",
"waypoints":[
{
"$type":"OffRoadWaypoint",
"location":{
"$type":"OffRoadRouteLocation",
"offRoadCoordinate":{
"x":10.62771033,
"y":47.119998903
}
},
"tourStopOptions":{
"serviceTime":0.0
},
"name":"0"
},
{
"$type":"OffRoadWaypoint",
"location":{
"$type":"OffRoadRouteLocation",
"offRoadCoordinate":{
"x":10.540349897,
"y":46.808658581
}
},
"tourStopOptions":{
"serviceTime":0.0
},
"name":"1"
}
],
"routeOptions":{
"timeConsideration":{
"$type":"ExactTimeConsiderationAtStart"
},
"geographicRestrictions":{
"allowedCountries":[
],
"prohibitedCountries":[
]
},
"emissionOptions":{
"valueScenarios":[
{
"$type":"EmissionValueScenario_HBEFA_3_2",
"scenarios":[
"CURRENT_ROUTE"
]
}
]
},
"currency":"EUR"
},
"resultFields":{
"waypoints":true,
"legs":{
"enabled":true
},
"segments":{
"enabled":true,
"descriptors":true,
"roadAttributes":true,
"id":true
},
"eventTypes":[
"COUNTRY_EVENT",
"TOLL_EVENT",
"ROUTE_VIOLATION_EVENT"
],
"polyline":true,
"toll":{
"enabled":true,
"sections":true,
"systems":true
},
"emissions":true,
"encodedPath":true
},
"requestProfile":{
"vehicleProfile":{
"engine":{
"cylinderCapacity":12000,
"fuelType":"DIESEL",
"bioFuelRatio":0.0,
"fuelConsumption":33.0,
"emissionTechnology":"EXHAUST_GAS_RECIRCULATION",
"particleFilterInstalled":true,
"particleReductionClass":"PMK_0",
"emissionStandardEU":"EURO_5",
"lowEmissionZoneTypes":"DE_GREEN"
},
"weight":{
"emptyWeight":6000.0,
"loadWeight":3000.0,
"totalPermittedWeight":10000.0
},
"dimensions":{
"height":380.0,
"heightAboveFrontAxle":380.0,
"length":1300.0,
"width":250.0
},
"axle":{
"axleLoad":1000.0,
"numberOfAxles":5
},
"legalCondition":{
"isEmergency":false,
"isDelivery":true
},
"load":{
"loadType":"GOODS"
},
"speeds":{
"speedRangesByNetworkClass":{
"maximumSpeeds":[
80.0,
65.0,
55.0,
45.0,
40.0,
30.0,
12.0,
6.0
],
"minimumSpeeds":[
55.0,
30.0,
23.0,
20.0,
18.0,
15.0,
7.0,
4.0
]
},
"maximumSpeed":80.0
},
"yearOfManufacture":2019,
"numberOfPassengers":2,
"numberOfTrailers":0
},
"featureLayerProfile":{
"themes":[
{
"id":"PTV_TruckAttributes",
"enabled":true
},
{
"id":"PTV_TruckSpeedPatterns",
"enabled":false
},
{
"id":"PTV_TrafficIncidents",
"enabled":false
}
]
},
"routingProfile":{
"linking":{
"maximumDistanceToSegment":10000.0
},
"course":{
"violations":{
"enabled":true
},
"network":{
},
"toll":{
},
"specialAreas":{
},
"combinedTransport":{
"boatPenalty":0,
"railPenalty":0
},
"distanceTimeWeighting":90.0
}
}
},
"coordinateFormat":"EPSG:4326"
}