Page 1 of 1

xRoute default parameters

Posted: Tue Aug 08, 2017 8:22 am
by Jerome!
Hi,

For a client I'm looking to override these two parameters from xRoute as a default value for xRoute.
So when the request comes in it can override these, but I would like to change this default to
1.4.19 RoutingParameter
AVOID_TOLLROADS value -99
OPTIMIZATION value 70

The API guide says
Describes all possible RoutingParameters. All parameters must not occur more than once, otherwise it is not defined which occurrence will be considered. Only those parameters marked with (*) may be used within a waypoint. All these parameters shall preferably also be set through the XML profile.

Where is the link between the xRoute server settings/module settings to the XML profile?
Does it take a default.xml profile from /conf/profile if there is none?

Re: xRoute default parameters

Posted: Mon Aug 14, 2017 12:33 pm
by Jerome!
Found it by raising a ticket. In case anyone else interested:

The corresponding new parameters for
AVOID_TOLLROADS value -99
OPTIMIZATION value 70

are:

<Course distanceTimeWeighting="70">
[…]
<Toll tollMalus="-99" />
[…]
</Course>

Re: xRoute default parameters

Posted: Wed Aug 16, 2017 9:02 am
by Bernd Welter
Check this out:
http://xserver.ptvgroup.com/forum/viewt ... file#p1000

describes both the prio and the matching of the OLD2NEW parameters!