We have been able to fix the problems concerning PTV MapServer 5.6 and toll updates.
With the new PTV MapServer 5.6.0.80, you can use the toll updates again. For that, you only have to use our toll update tool and the zip file containing the toll update for your map. Both can be downloaded in the PTV Developer Zone.
When having installed the toll update, you will see that you are getting the new prices with MapServer 5.6.0.80. The code of your application has not to be changed for that.
Toll calculation is implemented now like that:
If you are using the included basic toll calculation, the price calculation is based on the date when the route starts. Starting your route in 2011 returns the prices of 2011 and starting your route in 2012 returns the prices of 2012. If you are not giving any start date, by default your system time is assumed to be the reference for toll calculation.
With earlier PTV MapServer versions (till version 5.5), the behavior was a little bit different. But now with new toll data files, we can provide the prices corresponding to the route date.
Additionally, you have the possibility to choose a certain toll scenario for price calculation by calling a certain PTV MapServer method. If you do so, the route date is ignored. More information can also be found in the PTV MapServer documentation under “Use Cases -> Routing -> How to use toll scenarios for toll calculation”.