xServer 2 - Reschenpass origin/destination traffic

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
Andreas Schönebeck
Posts: 15
Joined: Fri Jul 09, 2021 3:11 pm

xServer 2 - Reschenpass origin/destination traffic

Post by Andreas Schönebeck »

Hello PTV,

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/

Image

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:
2021-11-30_09-30-30.png
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"
}
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: xServer 2 - Reschenpass origin/destination traffic

Post by Bernd Welter »

Hello Andy,

here's an outlook to the upcoming v2.27 feature ;-) Let's start with the old behaviour:
This is before the new implementation to handle QZ: route B180 is avoided
This is before the new implementation to handle QZ: route B180 is avoided
Now the next picture uses the new feature:
The second one is the current result we have with the new feature: truck is allowed to pass through route B180 (internal snapshot)
The second one is the current result we have with the new feature: truck is allowed to pass through route B180 (internal snapshot)
Best regards,
Bernd
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:
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: xServer 2 - Reschenpass origin/destination traffic

Post by Bernd Welter »

Quick update... the feature with the transit handling will be available in the upcoming v2.28 of the xservers.
I expect this update in the early February 2023.
outlook transit.png
Best regards,
Bernd
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:
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: xServer 2 - Reschenpass origin/destination traffic

Post by Bernd Welter »

Sidenote: I've been asked whether this PTV_RestrictionZones layer returns the same transit behaviour in xServer1 because it is "the same data file".
No, this doesn't work in xServer1 - the transit implementation is not implemented in the xServer 1 engine!
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