Page 1 of 1

Blocked route sections

Posted: Mon Oct 10, 2016 12:51 pm
by krzysiek mbis
Hi,
In a PTV Map&Guide internet there is a pretty nice info about route called "Blocked route section".
routeBlocked.png
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

Re: Blocked route sections

Posted: Mon Oct 10, 2016 12:58 pm
by Joost
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

Re: Blocked route sections

Posted: Tue Oct 11, 2016 7:54 am
by krzysiek mbis
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).
Powsta2.png
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

Re: Blocked route sections

Posted: Tue Oct 11, 2016 8:16 am
by Joost
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.

Re: Blocked route sections

Posted: Tue Oct 11, 2016 1:59 pm
by krzysiek mbis
Thanks for the reply.
Can I set TomTom map as a map data for Map and guide ?

Best Regards,
Krzysiek.

Re: Blocked route sections

Posted: Tue Oct 18, 2016 10:10 am
by Bernd Welter
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

Re: Blocked route sections

Posted: Tue Oct 18, 2016 11:13 am
by Bernd Welter
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