Hallo,
I am facing a problem in route calculation. The use case is: calculate the route from D-49401 Damme to D-73431 Aalen.
First I calculated a route in PTV Map&Guide Internet using only default values:
- optimization: 50%
- use truck restriction = yes
- speed profile "RF LKW (truck_02-00)"
- route options all zero (only ferries 100, no trains)
- truck: lenght: 16.5, width: 2.55, height: 4, axles: 5, weight per axle: 11.5, total weight: 40000
Using this options PTV Map&Guide Internet calculates a route of 522 km with travel time 8h 27min.
When calculating with the same options using the Java API I get 554 km and a travel time of 8h 4min.
The first difference is at the start of the route. Map&Guide Internet travels directly down from Damme to Bohmte not using the highway A1.
The Java-API goes directly to highway A1.
Why is there such a difference in the route calculation and what could be the difference in the settings?
After setting the optimization to 40% also the Java-API calculates the first part of the route from Damme to Bohmte. But the Java-API then avoids to travel through cities.
while Map&Guide Internet uses cities...
What could be the cause of the different calculation of the routes?
Thanks in advance!
Best Regards,
Florian
Different route calculations between Java-API and Map&Guide
-
- Posts: 9
- Joined: Fri Mar 09, 2018 2:17 pm
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Different route calculations between Java-API and Map&Gu
Hello Florian,
I forwarded your question to some colleagues (PM) b'cause I don't know the exact parameters of MAP&GUIDE Internet.
Could you provide your complete XML request (assuming you use xServer INTERNET for the comparison)?
Best regards,
Bernd
I forwarded your question to some colleagues (PM) b'cause I don't know the exact parameters of MAP&GUIDE Internet.
Could you provide your complete XML request (assuming you use xServer INTERNET for the comparison)?
Best regards,
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...
-
- Posts: 9
- Joined: Fri Mar 09, 2018 2:17 pm
Re: Different route calculations between Java-API and Map&Gu
Hallo Bernd,
many thanks for your help.
I don't have xServer INTERNET but a internal Server - I think it should make no difference as the webservice call should be the same.
I'm just trying to get the XML request from the underlying webservice call. But I can't find where to get the Information from...
I will post the XML as soon as I have a way to capture the data
Best regards,
Florian
many thanks for your help.
I don't have xServer INTERNET but a internal Server - I think it should make no difference as the webservice call should be the same.
I'm just trying to get the XML request from the underlying webservice call. But I can't find where to get the Information from...
I will post the XML as soon as I have a way to capture the data
Best regards,
Florian
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Different route calculations between Java-API and Map&Gu
Check these topics to get more info about how to gather log data
https://xserver.ptvgroup.com/forum/view ... kage#p1237
https://xserver.ptvgroup.com/forum/view ... uests#p882
https://xserver.ptvgroup.com/forum/view ... kage#p1237
https://xserver.ptvgroup.com/forum/view ... uests#p882
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...
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Different route calculations between Java-API and Map&Gu
Hello Florian, before we go into deeper analysis I'd like to ensure the following conditions are not causing the issue:
MGI uses HERE data. Which provider do you use for the on premise installation?
MGI uses HERE data. Which provider do you use for the on premise installation?
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: 9
- Joined: Fri Mar 09, 2018 2:17 pm
Re: Different route calculations between Java-API and Map&Gu
Hallo Bernd,
yes we have TomTom maps so the routing differences will certainly be from the different map Providers.
Many thanks for this usefull Information
Best regards
Florian
yes we have TomTom maps so the routing differences will certainly be from the different map Providers.
Many thanks for this usefull Information
Best regards
Florian