Route doesnt use new tunnel

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
Arjan akkermans
Posts: 6
Joined: Fri May 06, 2022 9:54 am

Route doesnt use new tunnel

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

Re: Route doesnt use new tunnel

Post 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
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:
Joost
Posts: 313
Joined: Fri Apr 25, 2014 1:46 pm

Re: Route doesnt use new tunnel

Post by Joost »

Hello Arjan,

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

With Regards,
Joost
Joost Claessen
Senior Technical Consultant
PTV Benelux
Arjan akkermans
Posts: 6
Joined: Fri May 06, 2022 9:54 am

Re: Route doesnt use new tunnel

Post by Arjan akkermans »

Thanks for the replies, I will update to the latest version!
Post Reply