When I try to route from point A to point B, as shown in the screenshot below, Graphhopper never takes the shortest route. I believe this is due to a misplaced barrier, which should be beside the road, not on it. In Graphhopper 7 this was working but in Graphhopper 9 not anymore.
The model you posted does not look right as you basically ignore the access restrictions (due to multiply_by:1), but it should not cause the problem you see. So it is tricky to say what is causing the problem without the actual custom model you are using.
Ah I see a difference between your map and mine. The barrier is not visible on your version. Can it be the source of your map is older then this change where the barrier was added?
I just tried with the latest version 9.1, your config and the most recent map data (export from openstreetmap.org) and it works for me and racingbike passes this barrier.
Yes, found the issue. It was not in the custom model like you said. It was ignored_highways. I had pedestrian,footway,steps as value. After removing footway it works. Not sure if this is wat we want but it’s a lot better then what is was. Thanks for your help!
This is just a storage optimization config. You should left it empty or use only e.g. motorway,trunk when using only outdoor profiles (for only motor vehicles different values should be used and are explained in the config).
pedestrian and footway should probably not ignored as sometimes the best route if you accept “getting off the bike” which GraphHopper supports by default.