xRoute default parameters

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
Jerome!
Posts: 3
Joined: Thu Sep 03, 2015 3:21 pm

xRoute default parameters

Post 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?
Jerome!
Posts: 3
Joined: Thu Sep 03, 2015 3:21 pm

Re: xRoute default parameters

Post 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>
User avatar
Bernd Welter
Site Admin
Posts: 2564
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: xRoute default parameters

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