Change currency conversion factor

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
steiner
Posts: 15
Joined: Tue Mar 29, 2016 10:58 am
Contact:

Change currency conversion factor

Post by steiner »

Hallo,

Is it possible, to change the currency conversion factor?

I have changed 1 factor (Swiss Franc) in the maps currency.ini and restart the xroute-server, but there was no change at the toll-price.

We calculate the toll in euro (allEuro = true)

best regards

Jürgen
Joost
Posts: 307
Joined: Fri Apr 25, 2014 1:46 pm

Re: Change currency conversion factor

Post by Joost »

Your method is the correct one (altering the currencies.ini ). I'm not sure why it didn't work. You have to check this with your support conact.

That said: this is not a workflow I would recommend. The currencies.ini is part of the toll updates and will get overwritten with most toll updates. Also changing the file requires server files access, a restart of the xRoute. Things that usual you want to avoid in production environments.

If you want to work with your own conversion rates I would recommend turning allEuro to false and convert them in your own middle ware. It is a bit more work to build, but much easier to maintain long term and much more flexible to changes.
Joost Claessen
Senior Technical Consultant
PTV Benelux
steiner
Posts: 15
Joined: Tue Mar 29, 2016 10:58 am
Contact:

Re: Change currency conversion factor

Post by steiner »

Thanks for your answers
Post Reply