C
C
cadaver2021-11-17 14:27:40
JavaScript
cadaver, 2021-11-17 14:27:40

How to exclude multiRoute points within a certain radius?

I'm trying to make a travel history. I form a multiRoute from the points that the application transmits. Sometimes points are obtained very close, within a radius of several meters, so if the next point turned out to be a little earlier than the previous one, then multiRoute makes turns to bring the route https://i.imgur.com/pf0DAWA.png
earlier than C and before it the route with a U-turn. I want to search within a given radius and just remove the point if it's nearby
. Maybe there's some other way...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2021-11-17
@freeExec

It's called MapMatching - linking a track to a road graph. Yandex, as far as I know, does not provide such a service.
You can try to get your bike through
https://yandex.ru/dev/maps/jsapi/doc/2.1/ref/refer...
I also want to note that Yandex has transport dispatching on their maps prohibited in the free version.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question