Correction of GPS Jitter in rebuilding routes

Hey guys,

I’m new to ORS and am currently trying to reconstruct truck routes based on GPS data. I have noticed differences in the route lengths. In order to investigate this in more detail, I had the routes displayed with Folium. I noticed that sometimes U-turns are made within the route due to the GPS jitter, which cause a significant increase in the distance traveled (see attached image).

Has anyone had similar experiences and been able to fix these errors?

Best regards
Krikow

Hi @Krikow

internally, ORS has some map matching functionality implemented: openrouteservice/ors-engine/src/main/java/org/heigit/ors/mapmatching at master · GIScience/openrouteservice · GitHub.
Unfortunately it is not yet made into an own end point, but you could use the corresponding classes, if programming in Java is an option for you. Map matching is currently used for matching traffic data to the network, which could serve as an example of how to use it.

Best regards

3 Likes