Routing Issue: Missing U-turn in roundabout / Unnecessary detour

Hi everyone,

I’m facing a routing issue when a destination is located in the opposite direction of travel, near a roundabout.

The Problem: Instead of routing me through the roundabout to perform a full U-turn and return back on the same road, GraphHopper suggests a detour by exiting the roundabout into a side street (left or right).

Basically, it seems to be avoiding a 180-degree turn via the roundabout, even when that is the most logical and shortest path.

Example details:

  • Vehicle Profile: car

  • GraphHopper Version: 12

My Question: Is this behavior controlled by u_turn_costs? I am using the default configuration, and I would like to know how to encourage the algorithm to use the roundabout for U-turns instead of taking side-street detours.

Thanks!