Snap to road with one

Hey guys,

we’re currently working on an app, where we track the gps location of the smartphone (which are in cars or buses or so).

Of course, the gps locations aren’t always super precise, why we have to interpolate them with the streets the cars drive. Your mapmatchingAPI is perfect for this.

But is there a way to snap just one gps locatain to a street? As we see, it is only possible to snap at least two points?!

What is the use case behind this? Couldn’t you use two identical coordinates?

1 Like

This is the answer :smiley:
we use it to center the car pin on the road on which the car drives.

I suggest still using a few coordinates of the cars its history and then use the last point for the pin. This way you avoid problems with wrong snaps on bridges etc.

1 Like