Two shades of toll distance

 

With the Routing API you can get detailed information about toll costs, sections and systems on your route (see the toll roads on the right). Thereby a toll section represents a part of the route for which toll has to be paid. The length of a section is defined by the toll operator and we provide this information in the response parameter ‘officialDistance’. Unfortunately, this data is not always available, but needed from several customers for their billing systems.

In the new version of the PTV Developer Routing API V1.19.0 we added the response parameter ‘calculatedDistance’ to provide a stable alternative for the not always available official distance. This distance is based on our own toll data as well as map provider data to determine the length of a section. Please note that both distances can differ.

If you want to know more about the toll topic, just have a look on the corresponding technical concept or test it with our code sample.

To keep yourself updated about releases and news you can use the subscribe button at the top of the page. If you got any question do not hesitate to get in contact.