Blocked route sections

This forum deals with any kind of routing computation whether it is simple A:B-routing, calculation of isochrones, simple matrix computation or nearest search.
Post Reply
User avatar
krzysiek mbis
Posts: 37
Joined: Thu Aug 11, 2016 9:41 am

Blocked route sections

Post 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
Attachments
Route.zip
Request example
(1.62 KiB) Downloaded 372 times
Krzysiek Paziewski
.Net Developer/Team Leader at Marcos Bis
Katowice, Silesian District, Poland
Joost
Posts: 310
Joined: Fri Apr 25, 2014 1:46 pm

Re: Blocked route sections

Post 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
Joost Claessen
Senior Technical Consultant
PTV Benelux
User avatar
krzysiek mbis
Posts: 37
Joined: Thu Aug 11, 2016 9:41 am

Re: Blocked route sections

Post 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
Attachments
Wynik2.zip
Response xml for request.
(3.79 KiB) Downloaded 386 times
Krzysiek Paziewski
.Net Developer/Team Leader at Marcos Bis
Katowice, Silesian District, Poland
Joost
Posts: 310
Joined: Fri Apr 25, 2014 1:46 pm

Re: Blocked route sections

Post 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.
Joost Claessen
Senior Technical Consultant
PTV Benelux
User avatar
krzysiek mbis
Posts: 37
Joined: Thu Aug 11, 2016 9:41 am

Re: Blocked route sections

Post by krzysiek mbis »

Thanks for the reply.
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
User avatar
Bernd Welter
Site Admin
Posts: 2684
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Blocked route sections

Post 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
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... :twisted:
User avatar
Bernd Welter
Site Admin
Posts: 2684
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Blocked route sections

Post 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
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... :twisted:
Post Reply