Hi,
In a PTV Map&Guide internet there is a pretty nice info about route called "Blocked route section".
How can I gather this informations and where can I find it in ExtendedRoute?
In attachments there is an example of my request.
Best Regards,
Krzysiek
Blocked route sections
- krzysiek mbis
- Posts: 37
- Joined: Thu Aug 11, 2016 9:41 am
Blocked route sections
- Attachments
-
- Route.zip
- Request example
- (1.62 KiB) Downloaded 379 times
Krzysiek Paziewski
.Net Developer/Team Leader at Marcos Bis
Katowice, Silesian District, Poland
.Net Developer/Team Leader at Marcos Bis
Katowice, Silesian District, Poland
Re: Blocked route sections
You can find the information in the ExtendedRoute.route.segments[n].violations[] array. Your request is already setup to return the needed information for this. For more information on violations please check:
http://xserver.ptvgroup.com/fileadmin/f ... lt.htm#Use cases/xRoute/UC_How-to-use-truck-attributes.htm?Highlight=violations
http://xserver.ptvgroup.com/fileadmin/f ... lt.htm#Use cases/xRoute/UC_How-to-use-truck-attributes.htm?Highlight=violations
Joost Claessen
Senior Technical Consultant
PTV Benelux
Senior Technical Consultant
PTV Benelux
- krzysiek mbis
- Posts: 37
- Joined: Thu Aug 11, 2016 9:41 am
Re: Blocked route sections
Hi,
thanks for your quick reply.
In spite of the fact that my request has proper truck attributes the response doesn't have any violations info.
I compered results with PTV Map&Guide internet with the same request (as much as possible). The response in https://xroute-eu-n-test.cloud.ptvgroup ... quest.html is without violation.
Please have a look at the response attachment.
There is something I'm missing here. Could you be so kind and tell mi what is wrong with my request ?
Best Regards,
Krzysiek
thanks for your quick reply.
In spite of the fact that my request has proper truck attributes the response doesn't have any violations info.
I compered results with PTV Map&Guide internet with the same request (as much as possible). The response in https://xroute-eu-n-test.cloud.ptvgroup ... quest.html is without violation.
Please have a look at the response attachment.
There is something I'm missing here. Could you be so kind and tell mi what is wrong with my request ?
Best Regards,
Krzysiek
- Attachments
-
- Wynik2.zip
- Response xml for request.
- (3.79 KiB) Downloaded 390 times
Krzysiek Paziewski
.Net Developer/Team Leader at Marcos Bis
Katowice, Silesian District, Poland
.Net Developer/Team Leader at Marcos Bis
Katowice, Silesian District, Poland
Re: Blocked route sections
The difference is not because of your request, but a difference in map data. Map and guide is running on Here map data, xServer internet is running on TomTom map data. On your start street Here has the whole street blocked of for "heavier then 2,5 ton" while TomTom only has parts of the road blocked. If you execute you request on TomTom base map data our routing engine is able to find a way where it does not violate blockings, hence no violation warnings.
Joost Claessen
Senior Technical Consultant
PTV Benelux
Senior Technical Consultant
PTV Benelux
- krzysiek mbis
- Posts: 37
- Joined: Thu Aug 11, 2016 9:41 am
Re: Blocked route sections
Thanks for the reply.
Can I set TomTom map as a map data for Map and guide ?
Best Regards,
Krzysiek.
Can I set TomTom map as a map data for Map and guide ?
Best Regards,
Krzysiek.
Krzysiek Paziewski
.Net Developer/Team Leader at Marcos Bis
Katowice, Silesian District, Poland
.Net Developer/Team Leader at Marcos Bis
Katowice, Silesian District, Poland
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Blocked route sections
Hello guys,
I don't think you can switch the map in the INTERNET version. But as I'm not an expert in this topic I redirected the question to someone of the MAP&GUIDE responsibility.
Best regards Bernd
I don't think you can switch the map in the INTERNET version. But as I'm not an expert in this topic I redirected the question to someone of the MAP&GUIDE responsibility.
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...
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Blocked route sections
For MAP&GUIDE INTERNET you can't switch the map.
For an on premise installation of MAP&GUIDE you should get in touch with your sales representative at PTV.
But:
The discussion is always the same: in some regions TOMTOM provides better data, in other regions it is HERE.
So by switching the data provider you might get rid of issue #1 but get in touch with issue #2.
Best regards Bernd
For an on premise installation of MAP&GUIDE you should get in touch with your sales representative at PTV.
But:
The discussion is always the same: in some regions TOMTOM provides better data, in other regions it is HERE.
So by switching the data provider you might get rid of issue #1 but get in touch with issue #2.
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...