When generating a route the server is not using the off-ramps to make a u-turn but rather moving all the way down the highway which causes the route to be much longer than what is possible. See here Whereas in Google Maps you get this https://www.google.co.za/maps/dir/20.0100%0941.4795/19.9910%0941.5190/@20.0041348,41.4936417,15z/data=!4m10!4m9!1m3!2m2!1d41.4795!2d20.01!1m3!2m2!1d41.519!2d19.991!3e0 The routing server is not making use of the off-ramps I am using OSM server for routing inside an application that is calculating distances by route. Any suggestions on how this can be fixed? asked 19 May '22, 08:27 Jaco-Ben |
The North/South Trunk road is tagged with answered 19 May '22, 10:48 TZorn I downloaded this pbf file https://download.geofabrik.de/asia/gcc-states.html, created my own custom routing graph and now the issue is not reproducible.
(20 May '22, 13:03)
Jaco-Ben
Spot on. I only wanted to add: use the debug map to find which way might be the culprit. It is not linked from openstreetmap.org, but using routing.openstreetmap.de you will find it: https://routing.openstreetmap.de/debug/car.html#16/19.9928/41.5196
(21 May '22, 17:11)
datendelphin
|