Closed anonym24 closed 5 years ago
To me this looks like GraphHopper thinks the road in the south west is not passable. Please use the forum for questions. Please also add a gpx file or at least coordinates of the route so that we can replicate this situation.
Yes, actually that road isn't passable for cars. Then I'll ask the question on the forum tomorrow about setting "foot" as "vehicle" (how to make it work), because now it only works with "car" - when I set others it fails
1 screenshot - Raw GPS Data (Green polyline):
2 screenshot - Raw GPS Data (Green polyline) + GraphHopper MapMatching (Blue polyline):
Such a weird result (it just turned to a completely different side, and some lines are not even on the road)
3 screenshot - Raw GPS Data (Green polyline) + Project-OSRM match feature (Yellow polyline):
This yellow matching map route I got from online test service Project-OSRM: http://router.project-osrm.org/match/v1/driving/[YOUR_POINTS]?overview=false&steps=true×tamps=[YOUR_TIMES] As you see it works very good (I didn't even change/add any parameters, just tested it once and worked ok)
So what could be wrong with GraphHopper Map Matching method? Why did it give so bad result?
Code:
I tried to play with all of the constants and Parameters.Algorithms but nothing of that helped