Tolls

This forum deals with any kind of routing computation whether it is simple A:B-routing, calculation of isochrones, simple matrix computation or nearest search.
Post Reply
VPlachy
Posts: 21
Joined: Fri Nov 27, 2015 10:44 am
Location: Czech Republic
Contact:

Tolls

Post by VPlachy »

Hi All,
I have a question about choosing which toll will be used to calculate the route.
1. Can you choose which toll prices to use? For example, if for Germany for one calculation the current one, but for the second calculation, perhaps a year old?
2. Can a current toll be used for one country and one last year?
3. Can you list the list of installed tolls for each country?

Thank you.
Vladimír Plachý, DiS.
Developer windows applications
D&Comm s.r.o. - Czech Republic
User avatar
Bernd Welter
Site Admin
Posts: 2564
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Tolls

Post by Bernd Welter »

Hello Vlad,

a specific set of tarifs for a given country with it's period of validity is called a scenario and the available scenarios are meta-defined in the TollScenarios.INI in the map root folder. Check this post:
https://xserver.ptvgroup.com/forum/view ... ?f=7&t=859
Maybe one remark: the list of scenarios is not replaced but extended.

If you prefer to reference a specific scenario during a routing call use the CountryInfoOptions:
CountryInfoOptions which have an impact on the choice of scenarios per country
CountryInfoOptions which have an impact on the choice of scenarios per country
You can either set the toll date (past, present or future) or specify a list of explicit scenario codes.

Does this answer your questions?

Best regards,
Bernd
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... :twisted:
Post Reply