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?
useDetailedToll is still experimental
-
- Posts: 15
- Joined: Wed Dec 08, 2021 11:25 am
useDetailedToll is still experimental
Uwe Schuster
C-Informationssysteme GmbH
C-Informationssysteme GmbH
Re: useDetailedToll is still experimental
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.
Joost Claessen
Senior Technical Consultant
PTV Benelux
Senior Technical Consultant
PTV Benelux
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: useDetailedToll is still experimental
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.
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
-
- Posts: 15
- Joined: Wed Dec 08, 2021 11:25 am
Re: useDetailedToll is still experimental
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.
Uwe Schuster
C-Informationssysteme GmbH
C-Informationssysteme GmbH