In my country, toll prices are defined by type of vehicle, a time range, day of week, season, hollydays, special “long” weekends, and so on. Even though we were able to use the Waze Toll Prices System to create the JSON file and upload to the repository, that took a huge number of “duplicate” button presses for prices (and adjust parameters). But that’s only the top of the iceberg: prices are updated every year (or every 6 months in some routes)! I can’t imagine how much work it would require to use the Waze tool to update every rule.
A sample of complex prices tables is here…
[hide]

This one has rules for seasons and special weekends:
[/hide]
After the first route I created using the tolls tool, I decided to manage toll prices in a spreadsheet with all the rules that apply, and then I wrote a script that creates the JSON file ready to be uploaded to the Waze tool, tested in the playground and to be sent to production. Some of the JSON tolls files for my country were created using this tool.
With the mass update coming at the end of this year, I transferred the prices of the remaining toll routes for my country to the spreadsheet, so we are waiting for the new prices. In the meanwhile, some of the ones created by the Waze tool were recently updated using the ones from the spreadsheet.
So, if someone thinks that our tool could be useful for another country, or just give it a try, please follow up here for details or contact me directly (PM or email).
