osrm-backend
                                
                                 osrm-backend copied to clipboard
                                
                                    osrm-backend copied to clipboard
                            
                            
                            
                        Wrong routing after adding mutually exclusive car and truck restrictions
After this change, OSRM stopped computing the correct route and started computing this incorrect route instead:

The new route leads drivers through a path that is only allowed for trucks.
Also, before this change from a single only_straight_on restriction to two no_u_turn restrictions here, OSRM was refusing to route through this interchange when crossing towards Brazil.
Sorry if I'm misunderstanding - the change applieshgv=no to the inner loop road, whilst the outer loop road has hgv=designated. Wouldn't this be the expected behaviour?
Yes, I was misunderstanding 😄 It looks like the roads have been edited a few times recently, so I'm not sure which version of the data is currently deployed.
Nevertheless, the reason cars are not routed via the inner loop is due to a height restriction of 2.4 metres, which is lower than that being used by the fossgis routing profile.
You can see in the debug tiles that the road is not accessible to cars with this profile.
Oh, I didn't notice that. That height limit is correct according to local signage, so I guess it can't be helped without causing problems elsewhere.
@mjjbell
5.24.0
Where is the branch of this change  FIXED: Reduce copying in API parameter constructors ?
The link in the changelog.md seems to be wrong !
@mjjbell 5.24.0 Where is the branch of this change
FIXED: Reduce copying in API parameter constructors? The link in the changelog.md seems to be wrong !
Off-by-one error: #5926
This issue seems to be stale. It will be closed in 30 days if no further activity occurs.