Conversion rates of currencies in PTV Routing products

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
User avatar
Bernd Welter
Site Admin
Posts: 2811
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Conversion rates of currencies in PTV Routing products

Post by Bernd Welter »

Is it possible to get the information about how the calculatedCosts in xServer for PLN are counted? What exchange rate they use?
To answer this question you need to know that we distinguish between different technologies (engine versions). Maybe the following table helps:
ProductEngineToll ModeCurrency handlingUpdate Cycle
PTV xServer 1Basic Tolltarrifs stored in map/currencies.iniwith map
PTV xServer 2 Detailed Toll (Basic Toll)currencies.ini + optional com.ptvgroup.xserver.types.ExchangeRateswith map or client responsibility
PTV DeveloperDetailed TollAutomatic in charge of PTV through external provider(daily)
MAP&GUIDE Internet (classic)xServer 1Basic Tollvia business logic checked by PTVdaily
MAP&GUIDE next generationDeveloperDetailed TollAutomatic in charge of PTV through external providerdaily
In other words:
  • As MAP&GUIDE next generation is based on PTV Developer it benefits from the logic in the components which download tarrifs automatically and returns latest prices
  • currencies.ini: this means that there's a static file in the service (map) that contains some kind of "static" conversion rates. Compareably inflexible in xServer1
  • ...therefore xServer 2 offers at least some injection approach where a client can provide the tarifs of his choice through a feature: com.ptvgroup.xserver.types.ExchangeRates
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: 2811
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Conversion rates of currencies in PTV Routing products

Post by Bernd Welter »

11.4.2025:
had a little typo in the table (thanks to Max for the correction!):
  • CORRECT: MAP&GUIDE internet "classic" is based on xServer 1 and therefore uses BASIC TOLL (not detailed toll)
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:
Autosoftware
Posts: 2
Joined: Wed Apr 09, 2025 2:39 pm

Re: Conversion rates of currencies in PTV Routing products

Post by Autosoftware »

Thank you for the detailed explanation!
I have additional question, what is the source of the currencies' rates that are inside currencies.ini file? How often are they updated? Is the currency.ini updated everyday?
Autosoftware
User avatar
Bernd Welter
Site Admin
Posts: 2811
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Conversion rates of currencies in PTV Routing products

Post by Bernd Welter »

HI there,
  • The currencies.ini belongs to the internal map directory structure and is therefore shipped with the map (e.g. WorldCity Map PremiumHERE: twice per year - same as underlying feature layers truck attributes, speeedpatterns...)
  • The conversion rates are retrieved from an external service when a new map is assembled.
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