How to avoid toll roads only in specific countries?

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
qsku
Posts: 9
Joined: Thu Jun 16, 2016 8:08 am

How to avoid toll roads only in specific countries?

Post by qsku »

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
User avatar
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?

Post by Bernd Welter »

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
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