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: 6693

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 ...
by Rok
Wed Jan 24, 2018 3:26 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: Truck restrictions
Replies: 9
Views: 17496

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: 17496

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 ...
by Rok
Tue Jan 16, 2018 11:19 am
Forum: PTV xRouteServer / DEV.Routing API
Topic: Truck restrictions
Replies: 9
Views: 17496

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: 17496

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 ...
by Rok
Thu Jan 11, 2018 12:15 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: Truck restrictions
Replies: 9
Views: 17496

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: 17496

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 ...
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: 18333

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 ...
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: 18333

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 ...
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: 18333

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!
by Rok
Mon Nov 27, 2017 10:33 am
Forum: PTV xRouteServer / DEV.Routing API
Topic: Calculate route around a specific toll section
Replies: 7
Views: 18333

Calculate route around a specific toll section

Greetings,

I'm wondering if there is a way to calculate an alternative route around a specific toll section (avoiding it completely)?

I am currently calculating a route with toll charges using the calculateExtendedRoute operation. I generate a grid for each calculated route, that contains the data ...
by Rok
Fri Nov 24, 2017 9:46 am
Forum: PTV xRouteServer / DEV.Routing API
Topic: Linking to waypoint (zero-based index list) failed
Replies: 4
Views: 21829

Re: Linking to waypoint (zero-based index list) failed

Thank you guys both for the replies.
I will get back to you if/when I have more questions.
by Rok
Fri Nov 17, 2017 11:33 am
Forum: PTV xRouteServer / DEV.Routing API
Topic: Linking to waypoint (zero-based index list) failed
Replies: 4
Views: 21829

Linking to waypoint (zero-based index list) failed

Hello,

I am trying to calculate route cost, based on a previous route that a truck had driven. I have the coordinates that the truck went through on its route and i pass them as waypoints to the calculateExtendedRoute operation. I keep getting the "linking to waypoint (zero-based index list ...