Available routing options in the Navigator / SDK

PTV's mobile solution based on off-line maps - standard application and SDK

Available routing options in the Navigator / SDK

Postby Bernd Welter » Tue Feb 11, 2020 10:24 am

HI there,

every once in a while I get asked for potential parameters which influence the geometry of a route.

We recommend to focus on the reference profiles shipped with the product.

:!: Setting the routing options manually is also possible but only recommended for experts. The NavigationSDK brings several methods to influence the result of the route calculation. For example you can avoid toll roads, decide what kind of vehicle you are driving or if you want a routing optimized for short way or time. To get you started, we set a bunch of options in the Application in a new method setDefaultRoutingOptions. By calling NavigationSDK.getRoutingOptions() we retrieve the default RouteOptions, which we can alter to our needs afterwards. The example is only a starting point to play with. Feel free to alter it to your custom wishes.

On a technical perspective the available RouteOptions are documented here. They have an impact on various topics:
  • the geometry of a route based on many boolean values (avoid toll roads, ferries, ...)
  • toll prices (physical dimensions and vehicle attributes)
  • emission (engine dimensions...)

Best regards,
Bernd Welter
Senior Technical Consultant Developer Components
PTV GROUP - Germany

Bernd at Youtube
User avatar
Bernd Welter
Site Admin
Posts: 1512
Joined: Mon Apr 14, 2014 10:28 am

Return to PTV Navigator SDK (Admin=SchS)