Page 1 of 1

Conversion rates of currencies in PTV Routing products

Posted: Thu Apr 10, 2025 12:51 pm
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

Re: Conversion rates of currencies in PTV Routing products

Posted: Fri Apr 11, 2025 7:44 am
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)

Re: Conversion rates of currencies in PTV Routing products

Posted: Wed Apr 16, 2025 10:36 am
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

Re: Conversion rates of currencies in PTV Routing products

Posted: Wed Apr 16, 2025 1:00 pm
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