Zero tolls in Austria

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

Zero tolls in Austria

Post by VeeTennis »

Hi,

We have couple of questions to you :)
1) in our system we receive that tolls in Austria are equal to 0.39 EUR in the route attached to this post. Could you pls look into it and advise why we are getting zero? As tolls should be priced more in Austria.

2) and another one in Switzerland where route goes from "Grenzstrasse, Basel, Switzerland" to "Chiasso, Switzerland". And we receive 361.49 EUR where in fact customer is being charged 267.88 for the same route. Here is the JSON what we receive from PTV:

Code: Select all

{
   "summary":{
      "costs":[
         {
            "amount":361.49,
            "currency":"EUR"
         }
      ],
      "countries":[
         {
            "country":"CH",
            "cost":{
               "amount":356.97,
               "currency":"CHF"
            },
            "convertedCost":{
               "amount":361.49,
               "currency":"EUR"
            }
         }
      ]
   },
   "sections":[
      {
         "cost":{
            "amount":356.97,
            "currency":"CHF",
            "paymentMethods":[
               "ELECTRONIC_TOLL_COLLECTION",
               "CASH",
               "CREDIT_CARD",
               "ELECTRONIC_TOLL_COLLECTION_SUBSCRIPTION"
            ],
            "electronicTollCollectionSubscriptions":[
               "CH_LSVA"
            ],
            "convertedCost":{
               "amount":361.49,
               "currency":"EUR"
            }
         },
         "tollRoadType":"GENERAL",
         "country":"CH",
         "tollSystemIndex":0,
         "displayName":"LSVA"
      }
   ],
   "systems":[
      {
         "name":"Leistungsabhängige Schwerverkehrsabgabe LSVA",
         "operatorName":"Eidgenössische Zollverwaltung",
         "tariffVersion":"2021 rate",
         "tariffVersionValidFrom":"2021-07-01T00:00:00.000Z"
      }
   ]
}
Your help is much appreciated.
Attachments
Switzerland.jpg
Austria.jpg
Maximilian Vogel
Posts: 16
Joined: Fri Dec 29, 2017 9:00 am

Re: Zero tolls in Austria

Post by Maximilian Vogel »

Hi,

toll tariffs may vary depending on the time of the day. As far as I know this is the case for Austria. Therefore, if you do specify a time consideration mode in the request, you will not receive toll prices. You can simply switch between different modes in the showcase. See the radio buttons on the left side in the following screenshot.
toll_austria.png
Note, that not all of the available time consideration modes can be selected in this showcase. Time dependency may also influence the course of the route, so if you do not wish this to be influenced but want to avoid getting no toll prices, you might be interested in the TollOnlyTimeConsideration. For further reading on time dependency there is also a technical concept.

The toll prices in Switzerland depend on the weight of the vehicle. I've attached a request that you can use in the Raw Request Runner. If you change the total permitted weight of the vehicle then also the reported toll price will change. The default vehicle has a total permitted weight of 40 tonnes and it seems you used that one and maybe the customer has a lighter vehicle?
toll_switzerland.json.txt
(745 Bytes) Downloaded 270 times
Maximilian Vogel
Developer
PTV Logistics
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Zero tolls in Austria

Post by Bernd Welter »

maybe this article also gives some proper samples ;-)

PS: Screenshots may help - but in most cases we really need the requests / responses to ensure that we know all settings that you applied,

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:
Post Reply