xRoute - xServer1 - tunnel codes restriction issue

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
CAPcargo
Posts: 34
Joined: Tue May 19, 2015 12:53 pm

xRoute - xServer1 - tunnel codes restriction issue

Post by CAPcargo »

Dear,

We tried to include the TUNNEL_RESTRICTION=E as parameter in our request. It seems that the Tunnel Code restriction parameter has not any impact in our case but it should have.
Maybe we need to include some additional parameters that are related with this one or we have to change something in our request.
xRouteSOAP_Request.txt
(6.51 KiB) Downloaded 186 times
Also the TruckAttributes layer is enabled.
We tried to execute this request directly in the Raw request runner on PTV server and the results are same.
The issue is related with the xServer1. The xServer2 works correctly with the same information.

Thanks,
Best Regards
Joost
Posts: 310
Joined: Fri Apr 25, 2014 1:46 pm

Re: xRoute - xServer1 - tunnel codes restriction issue

Post by Joost »

The tunnel restriction code in the waypoint[0].routingoptions does not using the letters enumeration, instead you need to provide the underlying number. See UC_How-to-use-truck-attributes.htm for the translation table (paragraph: Routing with Tunnel Restriction Codes).

So in your request you need to replace:

<ns3:RoutingOption value="TUNNEL_RESTRICTION=E" parameter="ROADEDITOR_ADDITIONAL_OPTIONS"/>

by

<ns3:RoutingOption value="TUNNEL_RESTRICTION=101" parameter="ROADEDITOR_ADDITIONAL_OPTIONS"/>
Joost Claessen
Senior Technical Consultant
PTV Benelux
Post Reply