Hi,
we are currently trying to use the VehicleParameter "loadWeight" to allow vehicles with profile EUR_TRAILER_TRUCK to pass a
bridge with a maximum weight of 30.000 kg by setting the load weight to 10.000 kg, which should result in less than 30.000 kg total weight.
Unfortunately, we cannot produce the correct routing using the following request:
https://api.myptv.com/routing/v1/routes ... 2CPOLYLINE
The only way to take the bridge directly is to use either profile EUR_CAR or EUR_VAN, or setting the TotalPermittedWeight to 3.500 kg, which is obviously no solution.
What are we doing wrong?
Routing with Vehicle Parameter LoadWeight
Routing with Vehicle Parameter LoadWeight
Last edited by davidprem on Wed Apr 01, 2026 3:03 pm, edited 1 time in total.
Re: Routing with Vehicle Parameter LoadWeight
UPDATE:
We just tested this for a completely different bridge with a similar restriction and got the expected results. So I guess this is a case of map data error?
Sample request for an 18t restriction bridge in Mötz, Austria:
https://api.myptv.com/routing/v1/routes ... 2CPOLYLINE
We just tested this for a completely different bridge with a similar restriction and got the expected results. So I guess this is a case of map data error?
Sample request for an 18t restriction bridge in Mötz, Austria:
https://api.myptv.com/routing/v1/routes ... 2CPOLYLINE
- Bernd Welter
- Site Admin
- Posts: 3093
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Routing with Vehicle Parameter LoadWeight
Hi David,
that was a tricky one...
As your PTV Developer Routing API request does not specify the traffic mode the default (REALISTIC) applies.
And REALISTIC means "including live traffic"...
That being said you will be able to handle this bridge by
that was a tricky one...
There's a long-term traffic incident (17.5.2023 - 17.5.2030) on the bridge - I saw it via a xServer2 test.PTV_TrafficIncidents :
timeDomain=[(y2023M5d17h14m0s59){y7}];
relevantByTime=true;
absoluteSpeed=0;
category=53;
message.text=B288 Krefeld Rheinbrücke - Closed for heavy lorries;
message.language=en;startX=4315432;startY=5549536;
incidentId=204_1;
totalPermittedWeight=7500
As your PTV Developer Routing API request does not specify the traffic mode the default (REALISTIC) applies.
And REALISTIC means "including live traffic"...
That being said you will be able to handle this bridge by
- either switching to non-traffic incidents mode (AVERAGE)
- jump into 2030 (after 17.5.)
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...

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...
Re: Routing with Vehicle Parameter LoadWeight
Hi Bernd,
after adding traffic mode AVERAGE to my original request, I still don't get the expected result unfortunately. I can only enforce routing over the bridge by lowering the total permitted weight to 30t.
So my question is: Why is a truck with total permitted weight of 30t routed over the bridge, while a truck with a total permitted weight of 40t but with a load weight of 10t does not?
TotalPermittedWeight 30t, TrafficMode=AVERAGE
https://api.myptv.com/routing/v1/routes ... ght]=30000
LoadWeight 10t (Total Weight around 25t), TrafficMode=AVERAGE
https://api.myptv.com/routing/v1/routes ... ght]=10000
Thank you!
after adding traffic mode AVERAGE to my original request, I still don't get the expected result unfortunately. I can only enforce routing over the bridge by lowering the total permitted weight to 30t.
So my question is: Why is a truck with total permitted weight of 30t routed over the bridge, while a truck with a total permitted weight of 40t but with a load weight of 10t does not?
TotalPermittedWeight 30t, TrafficMode=AVERAGE
https://api.myptv.com/routing/v1/routes ... ght]=30000
LoadWeight 10t (Total Weight around 25t), TrafficMode=AVERAGE
https://api.myptv.com/routing/v1/routes ... ght]=10000
Thank you!
- Bernd Welter
- Site Admin
- Posts: 3093
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Routing with Vehicle Parameter LoadWeight
Hi David,
I wasn't clear enough: there's multiple restriction layers on the bridge
Let's set up a session if the answer above isn't sufficient.
Bernd
PS: I used this showcase for an analysis/visualization
I wasn't clear enough: there's multiple restriction layers on the bridge
- time-independent "total permitted weight : 30000, drive type: motor vehicle" - applies no matter whether you choose trafficMode=AVERAGE or REALISTIC. So a 40t truck cannot pass the bridge.
- time-dependent "traffic incident" (as mentioned above) : totalPermittedWeight : 7500... applies only for REALISTIC and when the route is touching the time span of the closed segment.
Let's set up a session if the answer above isn't sufficient.
Bernd
PS: I used this showcase for an analysis/visualization
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...

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...
Re: Routing with Vehicle Parameter LoadWeight
Hi,
thank you for the Showcase, this helps a lot.
In my opinion the restriction total permitted weight: 30000 may be wrong. Our customer from Krefeld told us, that the restriction is not concerning the total permitted weight but the actual maximum weight. I also verified this statement through various online articles about the Uerdinger Rheinbrücke.
The restriction should therefore look like this:
Thank you!
thank you for the Showcase, this helps a lot.
In my opinion the restriction total permitted weight: 30000 may be wrong. Our customer from Krefeld told us, that the restriction is not concerning the total permitted weight but the actual maximum weight. I also verified this statement through various online articles about the Uerdinger Rheinbrücke.
The restriction should therefore look like this:
Thank you!
- Bernd Welter
- Site Admin
- Posts: 3093
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Routing with Vehicle Parameter LoadWeight
To be honest: I don't know.
A quick search in the internet returned articles like
If a client mentions a data error then we request you to create a helpdesk ticket because our 1st level support has a standard procedure how to handle data corrections together with the providers (TOMTOM, HERE).
Bernd
A quick search in the internet returned articles like
- B288: Instandsetzung der Rheinbrücke Krefeld-Uerdingen ab Mitte Juli (2024, outdated) which mentions a 7.5t blocking but not for the long period mentioned above.
- Uerdinger Rheinbrücke (newer) which mentions a permanent reduction to 30t.
If a client mentions a data error then we request you to create a helpdesk ticket because our 1st level support has a standard procedure how to handle data corrections together with the providers (TOMTOM, HERE).
Bernd
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...

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...