route_mode = 0 : auto route_mode = 1 : onroad route_mode = 2 : creates an 'offroad' route, or one segment between pos. and dest. route_mode = 3 : experimental shortest onroad route below is for the penalty - system maxspeed_handling : 0 = always, means replace route_weight with maxspeed, in vanilla routing. in the penalty system : speed_used is weighted speed or weighted maxspeed if avalable in OSM penalized speed = (maxspeed or speed) * (route_weight / 100) * (roundabout_weight / 100) route_weight and roundabout_weight are not mandatory, so no need to insert a '100' value to leave some speed untouched. 1 = only when it limits speed and follows the same wieghting as above 2 = never