I need help. When calculating a route (xRoute.calculateExtendedRoute( .... )), I turned on restrictions route parameters and any of the waypoints lies at the point where because of the restrictions route parameters can not be planned, so the entire calculation will end the message, and nothing can count. The Map & Guide Internet and Desktop is a feature that route plans despite these points, but the application will announce that these points were restrictions route parameters ignored. It is possible to use here? What is needed to set up?
Thank you Vladimír
Calculating with Restrictions route parameters
Calculating with Restrictions route parameters
Vladimír Plachý, DiS.
Developer windows applications
D&Comm s.r.o. - Czech Republic
Developer windows applications
D&Comm s.r.o. - Czech Republic
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Calculating with Restrictions route parameters
Hello Vladimir,
how about using the following ROUTING OPTIONS This will ignore the cause for the error and inform you in the response segments based on VIOLATIONS: Best regards Bernd
how about using the following ROUTING OPTIONS This will ignore the cause for the error and inform you in the response segments based on VIOLATIONS: 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...
Re: Calculating with Restrictions route parameters
Hello Brand,
Thank you for your help, everything works correctly. Is there a list of codes and their descriptions, which can be generated?
Vladimir
Thank you for your help, everything works correctly. Is there a list of codes and their descriptions, which can be generated?
Vladimir
Vladimír Plachý, DiS.
Developer windows applications
D&Comm s.r.o. - Czech Republic
Developer windows applications
D&Comm s.r.o. - Czech Republic
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Calculating with Restrictions route parameters
Hello Vlad,
I don't have a list but the documentation contains some details:
the UPM:
http://xserver.ptvgroup.com/fileadmin/f ... =driveType
How about this:
http://xserver.ptvgroup.com/fileadmin/f ... .htm#truck
Regards Bernd
I don't have a list but the documentation contains some details:
the UPM:
http://xserver.ptvgroup.com/fileadmin/f ... =driveType
How about this:
http://xserver.ptvgroup.com/fileadmin/f ... .htm#truck
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...
Re: Calculating with Restrictions route parameters
Extra remark: what ALLOW_SEGMENT_VIOLATIONS actually does is turn all blocking into avoidance. The avoidance is a set cost value that is added to each blocked segment for our routing engine. You can configure this value with COST_OF_SEGMENTVIOLATIONS. A recommended value for production is 50000 (iirc this is what map and guide internally uses). This value is high enough so that the route will only drive threw a blocked segment if there is no other option. If you use a value of 0 there is no avoidance on the blocking, so our routing engine can choose a route that violates more blocking then technically needed.
Joost Claessen
Senior Technical Consultant
PTV Benelux
Senior Technical Consultant
PTV Benelux