I'm developing a gps tracking system that sends it's coordinates to my phone through a server. The only problem with this system is that the gps can't always be precise and it fails a few meters. This means it could point to the opposite side of road while driving. And when i want to route these coordinates, instead of routing properly, it gives back a wrong route.
I'm curious about this problem. I haven't find any parameters in the Directions Url that could switch off rules of the road. That would be great in this situation. Maybe is there any solution?
The method i'm using is that i make a query on my server, it gives back coordinates, then i route the first coordinate with the second, the second with the third and so an. (based on time stamp)
I hope i wrote down clearly my problem. Although i felt unnecessary to post my code, on request i will update the post with that.
As you can see, on "Nyugati u." it should show only one route instead of two.