I have created a web page to test OSRM map match service (running locally in the latest osrm/osrm-backend docker image), before starting to integrate it into my app.
And when sending just 4 locations (by clicking with the mouse) the map matching works well, but when I send 168 real car locations (by copy-pasting JSON data), then it fails with {"message":"Too many trace coordinates","code":"TooBig"} 400 Bad Request:
I have also tested both links against https://router.project-osrm.org with the same result:
- 4 locations work well
- 168 locations fail with 400 Bad Request
The POST method is not supported by OSRM backend, so I have not tried it.
It seems to me that having 168 locations in a real life use case should be nothing unusual for map matching.
For example, when someone returns from a day long bycicle trip and wants to see it on the map.
My question is: do you encounter the same issue #6612 with OSRM map matching and what are your strategies to workaround it?
