osrm-backend
                                
                                 osrm-backend copied to clipboard
                                
                                    osrm-backend copied to clipboard
                            
                            
                            
                        How does osrm decide when to do U-turn and when not to?
I have this route small route https://map.project-osrm.org/?z=18¢er=44.189457%2C28.633198&loc=44.189459%2C28.633756&loc=44.188951%2C28.633938&loc=44.189824%2C28.634067&hl=en&alt=0&srv=0
Which basically means crossing the street, but needs to go further where u-turn is permitted. And OSRM decides to go around the block.
at first you would say it doesn't do U-turns.
But if I slightly change the intermediate point to this: https://map.project-osrm.org/?z=18¢er=44.189457%2C28.633198&loc=44.189459%2C28.633756&loc=44.188613%2C28.634362&loc=44.189824%2C28.634067&hl=en&alt=0&srv=0
it will do a u-turn at the next intersection
My question is, why it doesn't do a u-turn at the first intersection?
The route would be shorter. I don't understand what prevents it to do a u-turn there.
The first intersection has some additional tags
Can you figure out what's preventing the u-turn at that first intersection? Also any way to change settings/profile to make it work? Thanks!