Page 1 of 1

Route doesnt use new tunnel

Posted: Tue Aug 05, 2025 9:46 am
by Arjan akkermans
Hi,

Im using PTV xServer 1.30 with map TLNplanner Europe City 2025_1H.geo.
Recently a new tunnel is opened 'Maasdeltatunnel' ( https://geohack.toolforge.org/geohack.p ... eltatunnel).

I would expect that routes will use this new tunnel, but I am unable to achieve this, even with for example the emergency profile.

the request I am sending is:

Code: Select all

{
  "waypoints": [
    {
      "coords": [
        {
          "point": {
            "x": 473699,
            "y": 6776978
          }
        }
      ],
      "linkType": "NEXT_SEGMENT"
    },
    {
      "coords": [
        {
          "point": {
            "x": 470729,
            "y": 6774455
          }
        }
      ],
      "linkType": "NEXT_SEGMENT"
    }
  ],
  "options": [],
  "exceptionPaths": [],
  "details": {
    "binaryPathDesc": false,
    "boundingRectanglesC": 0,
    "boundingRectanglesOffset": 0,
    "brunnelManoeuvres": false,
    "detailLevel": "STANDARD",
    "dynamicInfo": false,
    "manoeuvreAttributes": false,
    "manoeuvreGroups": false,
    "manoeuvres": true,
    "nodes": true,
    "polygon": true,
    "segmentAttributes": false,
    "segments": true,
    "texts": true,
    "totalRectangle": false,
    "urbanManoeuvres": false
  },
  "callerContext": {
    "properties": [
      {
        "key": "CoordFormat",
        "value": "PTV_MERCATOR"
      },
      {
        "key": "ResponseGeometry",
        "value": "WKB"
      },
      {
        "key": "Profile",
        "value": "emergency"
      },
      {
        "key": "includeFeatureLayerProperties",
        "value":true
      }
    ]
  }
}
This results in a route with distance 28185.

Making the request using google maps without using tolls ( the tunnel has toll) show around the same distance of 26km: https://www.google.com/maps/dir/51.9141 ... FQAw%3D%3D.

However, with using tolls the distance is much shorter, around 9km. https://www.google.com/maps/dir/51.9141 ... FQAw%3D%3D

I have some features which draw maps on the road, and the tunnel does seem to be available.

As I cannot get any vehicle to use the tunnel, I am not sure how to investigate what is the issue. Is there anyway that I can verify that the tunnel is usable at all?

Might this have something to do with the 'TLN' version of the map?
Any advice on how to get the tunnel to be usable is appreciated.

Re: Route doesnt use new tunnel

Posted: Tue Aug 05, 2025 10:29 am
by Bernd Welter
Hi Arjan,
Maasdeltatunnel-2025.2H.png
In the current 2025.2H map (you are using the obsolete 2025.1H) the tunnel is available.
Did you consider an update of the map?

Bernd

PS: by the way - sometimes objects are displayed in a map version but are not yet open for routing, check this article Including bridges under construction when calculating routes

Re: Route doesnt use new tunnel

Posted: Tue Aug 05, 2025 10:45 am
by Joost
Hello Arjan,

You need a newer map. The 2025.2H (both regular as TLN variant) have the tunnel usable.

With Regards,
Joost

Re: Route doesnt use new tunnel

Posted: Tue Aug 05, 2025 11:38 am
by Arjan akkermans
Thanks for the replies, I will update to the latest version!