Hello there!
I’m trying out the new turn_penalty feature. In my config.yml I added a car profile that uses car_avoid_private_etc.json:
profiles:
- name: car
turn_costs:
vehicle_types: [motorcar, motor_vehicle]
# Allow private roads as destination or via points
custom_model_files: [car.json, car_avoid_private_etc.json]
This works when I use CH or when I don’t use any speed-up technique at all.
When I enable LM like this:
profiles_lm:
- profile: car
the graph builds successfully, but the server does not start and I get the following error:
Unable to start server, shutting downjava.lang.IllegalArgumentException: The turn_penalty feature is not supported for car. You have to enable this in ‘turn_costs’ in config.yml.
However, with CH the graph does build and the server runs.
Am I missing something here, or is LM not (yet) supported in combination with turn_penalty?
Thanks!