Skip to content

zotttttttt/gps-trace-optimization

Repository files navigation

GPS trace Optimization

Map Matching (Snap to road functionality) done right using Valhalla's Meili

The purpose of this repository is to show how simple it is to use Valhalla to snap the existing GPS trace to the road network of OpenStreetMap.

To get your GPS trace from this:

To this:

See the combination of both:

Go to https://github.com/valhalla/valhalla to set up a Valhalla environment on your machine.

Also, you can read the article to get an understanding on how it works: https://towardsdatascience.com/map-matching-done-right-using-valhallas-meili-f635ebd17053