Search found 13 matches

by Rok
Tue Jan 30, 2018 11:34 am
Forum: PTV xRouteServer / DEV.Routing API
Topic: Additional route charges
Replies: 3
Views: 4486

Additional route charges

Hello again, I'm wondering if there is an elegant way to get the info for additional charges along a calculated route, for instance, the London city congestion toll, vignette roads in certain countries, ferries, etc. As far as vignettes and ferries go, I get the data from SegmentAttributes. I check ...
by Rok
Wed Jan 24, 2018 3:26 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: Truck restrictions
Replies: 9
Views: 13076

Re: Truck restrictions

Hello Oli,

thank you for the solution, albeit a bit ugly, but nonetheless it works. I commented out the DefaultValueAttributes for the values that I am certain will be set and the calculations look correct now.

Best regards,
Rok
by Rok
Tue Jan 23, 2018 12:12 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: Truck restrictions
Replies: 9
Views: 13076

Re: Truck restrictions

Hello again, I have once again noticed some undesired behaviour when calculating routes, more specifically, calculating the toll costs. Whenever I calculated a route, the toll cost calculation was higher than expected and I narrowed the problem down to the emissionClass parameter. I have followed Jo...
by Rok
Tue Jan 16, 2018 11:19 am
Forum: PTV xRouteServer / DEV.Routing API
Topic: Truck restrictions
Replies: 9
Views: 13076

Re: Truck restrictions

Thank you both for the explanation, I suspected that it has something to do with the maps, but I didn't expect that the data between them differs so much. I've had some success with implementing this: http://devblog.ptvgroup.com/2014/01/10/routing-enter-authorized-passages-with-delivery-vehicles/. I...
by Rok
Mon Jan 15, 2018 12:36 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: Truck restrictions
Replies: 9
Views: 13076

Re: Truck restrictions

Hello again, after some more thorough testing, I've noticed that I am still getting some strange results. For PTV Map&Guide calculations, I used the RF truck 40t (truck40t_02-00_M) profile. Example 1: Ljubljana (SLO) -> Villach (AUT) PTV Map&Guide: PTV_Ljubljana-Villach.PNG Mine: CVS_Ljublja...
by Rok
Thu Jan 11, 2018 12:15 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: Truck restrictions
Replies: 9
Views: 13076

Re: Truck restrictions

Hello Joost,

that was exactly the problem. Once I fixed the setting of the vehicle properties, all the restrictions are now considered. Thank you!
by Rok
Wed Jan 10, 2018 3:43 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: Truck restrictions
Replies: 9
Views: 13076

Truck restrictions

Greetings, while using the PTV xServer .NET and testing the calculateExtendedRoute operation, I have encountered some unusual behavior concerning the restrictions on the route. It seems like some restrictions are not being considered. I have two examples. Example 1: A bridge between the border of Hu...
by Rok
Mon Jan 08, 2018 1:44 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: Calculate route around a specific toll section
Replies: 7
Views: 14507

Re: Calculate route around a specific toll section

Hello Bernd, thank you again for the feedback, I've tried the suggestions and the approach with the rectangle provided the best results, so I'm sticking with that. I now face the problem that you mentioned in the first reply (routeListIndex of a toll is equal to -1). Are there any meaningful approac...
by Rok
Wed Jan 03, 2018 1:10 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: Calculate route around a specific toll section
Replies: 7
Views: 14507

Re: Calculate route around a specific toll section

Hello again Bernd, first of all, I hope you had a pleasant holiday and I wish you all the best in the new year! :) As for my problem... I recently encountered some troubles avoiding toll sections that are represented by one coordinate. I started off with using the approach you suggested, it worked o...
by Rok
Tue Nov 28, 2017 11:07 am
Forum: PTV xRouteServer / DEV.Routing API
Topic: Calculate route around a specific toll section
Replies: 7
Views: 14507

Re: Calculate route around a specific toll section

Hello Bernd,

the solution you provided is exactly what I needed. I will do some more testing, but so far it looks good.

Thank you very much for your help!