How to apply my own exchange rates in toll calculation?

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
Autosoftware
Posts: 2
Joined: Wed Apr 09, 2025 2:39 pm

How to apply my own exchange rates in toll calculation?

Post by Autosoftware »

Hi,

I read in Conversion rates of currencies in PTV Routing products that the toll calculated in xRoute 1 and xRoute 2 is equipped to use standard exchange rates which are not automatically reflecting daily rates.

I want to ensure that the toll calculation reflects our own custom exchange rates because we download them from web services every day. Do you have an example how we can apply our own tariffs?
User avatar
Bernd Welter
Site Admin
Posts: 2811
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: How to apply my own exchange rates in toll calculation?

Post by Bernd Welter »

Hi,
you are correct - the core engines xRoute1 and xRoute2 basically compute and return toll based on exchange rates that are hidden in the map folder. Especially in a cloud such as PTV xServer Internet you do not have access to the underlying file. But at least in xROute 2 (both on premise and cloud) you can "override" the currency exchange rates with the rates of your choice.
PTV xRoute 1: users of the xServer1 engine would have to apply their exchange rates on client side because there's not built-in mechanism.
xRoute1: I requested all toll proces in national currencies which would enable a client to apply his expected exchange rates within his business logic.
xRoute1: I requested all toll proces in national currencies which would enable a client to apply his expected exchange rates within his business logic.
PTV xRoute 2 : supports the Exchange Rates as input parameters which is way more smart :
On the left side you can see the ficticious exchanges rates I used in the input. The result in the center shows my own rates... No client manipulation necessary.
On the left side you can see the ficticious exchanges rates I used in the input. The result in the center shows my own rates... No client manipulation necessary.
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