I'm developing an app with navigation system using graphhopper offline. I have a gpx route displayed correctly with map-matching and the goal is the user needs to follow this route. If the user needs to take other way for some circumstances the app must recalculate the route. The problem is I can't detect when the user is off-route to recalculate. I have gps location updates, instruction list, and gpx entries. Anyone can help?
Asked
Active
Viewed 205 times
0
-
If you have GPX data you could check whether the user is still on the track or has a distance > n meters from the closest track point. – scai May 30 '17 at 06:59
-
1Maybe you join the discussion at: https://discuss.graphhopper.com/t/when-do-i-need-to-re-route/1920 – Karussell May 30 '17 at 15:01
-
I posted on the graphhopper forum , @scai the problem is that a track not have constants point, you can have one point at 100 or 200 meters, or 20 meters, and you can deviate 50 meters and take a parallel way, it's very complicated I think – ariel May 30 '17 at 23:24