I checked out the flex_vehicleprofile branch, built it and created the following Truck Profile (truck_profile.yml):
name: truck_profile base: car max_speed: 80 no_access: max_height: 4 max_width: 2.6 max_weight: 40000 consider_oneway: false
When routing from
48.888618,9.162297 it should avoid the
Robert-Bosch-Straße (weight restriction 7.5t, see link), but it doesn’t.
The important lines in my config.yml:
prepare.ch.weightings: no graph.encoding_manager: /PATH/TO/truck_profile.yml prepare.lm.weightings: truck_profile
What am I doing wrong?