For instance, I'm calculating a route from Poland to Spain and I want to avoid toll roads in France but not to avoid toll roads in other countries.
How to calculate a route that way?
qsku
How to avoid toll roads only in specific countries?
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: How to avoid toll roads only in specific countries?
Hello Marcin,
there is no direct parameter available that changes the toll behaviour between two stations in the desired manner. But you can change routing parameters at each waypoint ( Check WaypointDesc.routingOptions: http://xserver.ptvgroup.com/fileadmin/f ... ypointDesc )
So one possible approach is to add another waypoint at the border and to re-adjust the options.
Advantage: different behaviour in different parts (countries) of the route.
Disadvantage: YOU have to determine where to cross the border.
Besides this there is a country specific malus value for named tolls but that's not exactly what you need. Am I right?
Best regards Bernd
Edit JCL: fixed link
there is no direct parameter available that changes the toll behaviour between two stations in the desired manner. But you can change routing parameters at each waypoint ( Check WaypointDesc.routingOptions: http://xserver.ptvgroup.com/fileadmin/f ... ypointDesc )
So one possible approach is to add another waypoint at the border and to re-adjust the options.
Advantage: different behaviour in different parts (countries) of the route.
Disadvantage: YOU have to determine where to cross the border.
Besides this there is a country specific malus value for named tolls but that's not exactly what you need. Am I right?
Best regards Bernd
Edit JCL: fixed link
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...