Hello,
This might be a nitpicky question but I'm investigating the API & was testing the calculateRoute with some data and received some strange results. I'm wondering if this is a request issue, or missing data on your provider side.
(Doing a simple REST call with start location lat: 50.890830 lon: 3.981790 & end: lat: 50.951401 lon: 3.806740 )
(The call itself: https://xserver2-europe-eu-test.cloud.p ... rredRoutes)
Now this ends up with this part of the polyline mapped to google maps + streetview of the issue.
In the first place I'm curious why it would route through that street as to get to the primary/secondary road it would be more efficient to just drive straight + the road it takes will not be possible to turn into.
Road used inaccessible by truck
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Road used inaccessible by truck
https://www.google.de/maps/@50.8977092, ... 384!8i8192
Not sure whether I got it right but driving straight ahead would end up in a wrong direction of a one way road
Not sure whether I got it right but driving straight ahead would end up in a wrong direction of a one way road
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...
-
- Posts: 5
- Joined: Thu Apr 09, 2020 8:00 am
Re: Road used inaccessible by truck
ah hmm, that changed about 6 months ago (I live in the area), but still, the right turn before that forbidden sign would have been the route you take
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Road used inaccessible by truck
The unwanted geometry is 100m longer but requires 20 seconds less than the one you want to get.
So if you push towards "driving time " (distanceTimeWeighting towards 0) you might get the track that you want.
But: The REST api does not support extensive parameters. If you want to access them you need to use WSDL/SOAP or JSON...
Feedback is welcome
Best regards,
Bernd
PS: if the data situation is not up 2 date get in touch with your local support. The colleagues will gather the situation and forward it to our providers.
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...
-
- Posts: 5
- Joined: Thu Apr 09, 2020 8:00 am
Re: Road used inaccessible by truck
Ok thanks, but in your first example it will still use a road that should be inaccessible by a truck due to its attributes, should I check this with our local support then?
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Road used inaccessible by truck
oh yes please. It looks like both the Google Maps Streetview and our data is outdated.
There's no sign that prevents a 40t truck from driving there, is it?
I will let Joost know about that...
There's no sign that prevents a 40t truck from driving there, is it?
I will let Joost know about that...
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...
-
- Posts: 5
- Joined: Thu Apr 09, 2020 8:00 am
Re: Road used inaccessible by truck
no signs, but physically it'll be impossible to go through, but I guess that truck attributes works based on signs/indications that certain roads are off limit? (Not too important, just found it weird that it would send a truck that way, trying to understand if my request/layers were correctly setup)
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Road used inaccessible by truck
I completely understand your doubts.
We just buy the data from players such as HERE and TOMTOM, and they probably get them from the administrations.
So if there's no official law we won't be able to consider the geometry of a truck.
Worst case someone should tell the administration that a sign would be a good idea.
Once it is set up the data providers might add it to their data and then it will be considered on official way.
We just buy the data from players such as HERE and TOMTOM, and they probably get them from the administrations.
So if there's no official law we won't be able to consider the geometry of a truck.
Worst case someone should tell the administration that a sign would be a good idea.
Once it is set up the data providers might add it to their data and then it will be considered on official way.
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...