I have a question regarding getting sometimes wrong routes.
An example can be seen here:https://graphhopper.com/maps/?point=53.473501%2C12.43471&point=53.475053%2C12.429861&locale=de-DE&vehicle=car&weighting=fastest&elevation=true&use_miles=false&layer=Omniscale
The wanted/correct route would be somehow like this:
What is the reason that graphhopper uses the longer route? Is there a road blocked/closed or any maintenance so graphhopper ignores that road?
Thanks in advance,Andreas
There can be various reasons. In this case it is the bollard which access condition we currently cannot handle and therefor block access: http://www.openstreetmap.org/node/3555118028
Ah okay, now that makes sense.
I'm going to check if there is any method to extract/remove these bollard from the .pbf file before starting Graphhopper / or just ignore bollards completely in graphhopper.
Thank you for the fast response!
If the bollard is not there in the real world, you could remove it from osm. If it's there but you can drive past it, you should set access=yes.