I am building a mobile app for users to use when driving. It will keep track of the user's location, and at the end of the trip it will tell the user the distance travelled, and the cost of the trip.
The cost of the trip will be calculated by the distance travelled * cost per km and any additional toll costs. The issue I have now is getting the toll data.
Thanks.
On OpenStreetMap, while tolls sections are mapped, the fees amount are not present, as they are a non-geographical feature. However, an external database could be used in conjection of OSM data to keep track of these fees.
Tollsmart has APIs for all tunnels, bridges and toll roads in the US & Canada and yes you can just send the coordinates and it will calculate the toll costs for the route. Note that there are many variable such as vehicle size, time of day (peak and off-peak pricing), transponder discounts (i.e., E-ZPass). Our APIs can handle all these variables and more.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With