Page 1 of 1

useDetailedToll is still experimental

Posted: Wed Feb 08, 2023 2:48 pm
by Uwe Schuster
We are using the CalculateRoute option useDetailedToll since about three years in development. Meanwhile we use it in production!

I have just checked it and using useDetailedToll still requires using the experimental xroute endpoint.

Is this an oversight that it is still being flagged as experimental?

Re: useDetailedToll is still experimental

Posted: Wed Feb 08, 2023 3:01 pm
by Joost
A couple of versions ago detailed toll became the standard for xServer 2. So atm the parameter is not used to enabled detailed toll, but rather disable it by explicitly setting it to false. Because of this we are keeping this parameter experimental.

Re: useDetailedToll is still experimental

Posted: Fri Feb 10, 2023 11:44 am
by Bernd Welter
There's also a comment in the server configuration docu:
core.tollOptions.useDetailedToll : This configuration parameter sets the default data source for toll price calculation. The parameter can be overwritten in the tollOptions of a route request or in the distanceMatrixOptions of a distance matrix calculation request.
The default value is set to true, which means that toll prices are calculated with detailed toll data. You can choose to switch to basic toll data if the detailed toll data are not completely available in your region or on your map.
The parameter might be removed in the future.

Re: useDetailedToll is still experimental

Posted: Mon Feb 13, 2023 11:57 am
by Uwe Schuster
Thanks for the informationen. When we calculate the route with toll, we do always use detailed toll and so we can remove this parameter from the request and switch to the head xroute endpoint.