Re: [OSRM-talk] Strange results from map matching

2020-12-10 Thread Frederik Ramm
Hi,

On 13.05.20 23:14, Sasan Amini wrote:
> I am relatively new in using OSRM for map matching. I got my first
> results but there are two issues that I can't understand. My data has
> 130 rows (points) and in return, I get 150 points! 

I think you are approaching this with the wrong expectation.

The map matching algorithm is not one that simply moves each of your
input points onto the output geometry and therefore has one output for
every input.

Instead, the map matching algorithm tries to answer the question: What
is a valid route on the routing graph that is most likely the basis of
this input GPS track?

This "most likely valid route" is then returned to you. It can have more
or fewer points than the input geometry; in fact matching input geometry
points to certain points on the output will be very difficult!

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frede...@remote.org  ##  N49°00'09" E008°23'33"

___
OSRM-talk mailing list
OSRM-talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osrm-talk


[OSRM-talk] Strange results from map matching

2020-12-10 Thread Sasan Amini
Dear all,
I am relatively new in using OSRM for map matching. I got my first results
but there are two issues that I can't understand. My data has 130 rows
(points) and in return, I get 150 points! I see a couple of duplicates
(some points are repeated 3 times after map matching). Additionally, 4
points are not map matched, even though it seems they are OK (screenshot
below). The algorithm handles the part where GPS is lost (the car is
driving in a tunnel) but 2 sets of 2 points are just not matched. Can
anyone help me with that?

Thanks,
Sasan
___
OSRM-talk mailing list
OSRM-talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osrm-talk